gelnior / newebe

Distributed Social Network made with Python
newebe.org
Other
105 stars 19 forks source link

Broken debian package post install #30

Closed alexgarel closed 11 years ago

alexgarel commented 11 years ago

See https://linuxfr.org/news/sortie-de-newebe-0-6-0#comment-1416974

in https://github.com/gelnior/newebe/blob/master/deploy/install_deb.sh#L113

sudo openssl req -new -x509 -days 3650 -key ./server.key -out ./server.crt

This make post install script to wait for user input

you shall add -subj "CN=newebe" or, better use -batch

gelnior commented 11 years ago

Thx for your report. The file you point is deprecated, the one use for the debian package is there : https://github.com/gelnior/newebe/blob/feature/package-debian/debian/postinst

But what you say is true for this script too. So it should help.

gelnior commented 11 years ago

Now install scripts are updated with the batch flag:

https://github.com/gelnior/newebe/blob/master/deploy/fabfile.py#L122 https://github.com/gelnior/newebe/blob/feature/package-debian/debian/postinst#L45

About the debian package, this modification will be integrated for the next release.

Thank you Alex.