[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-10-17 Thread stiV
It fails in an automatic upgrade/installation environment because the PATH variables are different than if you're using a shell. /usr/sbin is not included if a cron runs the upgrade (or installation) - therefor the command make-ssl-cert fails to create the files (because the file is not

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-10-17 Thread Steve Beattie
Per discussion with james_w on IRC, it's a reasonable expectation for shells invoking dpkg to have /sbin and /usr/sbin in their path (for example, openssl will fail to install in the preconfiguration stage if the path does not include /sbin and /usr/sbin). Marking this as invalid. Please re-open

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-10-17 Thread stiV
well ... i am sorry - it seems i have made an error here. I don't know exactly what i did wrong but i retested everything and fixing the path is not enough. the real problem is the ssleay.cnf that is being used to generate the standard pem file it sets the RANDFILE variable to $ENV::HOME/.rnd

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-10-17 Thread James Westby
Hi, /tmp is a really bad idea and a security hole, if the name .rnd is used at least. I think having it shared between users would perhaps be a security hole as well. Having it use a proper tmpfile may be possible, but it may still be at risk. I'm not sure the file is required though, so it

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-10-17 Thread stiV
well you can try ... if used in an environment where there is no homedir set it does fail - no certificate is created or updated. ** Changed in: ssl-cert (Ubuntu Intrepid) Status: Won't Fix = New -- package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-10-17 Thread stiV
this has an effect on all packages (eg. lighttpd) that use a ssleay.cnf and may create or update certificates upon installation/upgrade -- make-ssl-cert fails if HOME is unset or empty https://bugs.launchpad.net/bugs/250400 You received this bug notification because you are a member of Ubuntu

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-10-17 Thread Colin Watson
Perhaps something like this somewhere in make-ssl-cert: if [ ! -d $HOME ]; then temphome=$(mktemp -d) cleanup () { rm -rf $temphome } trap cleanup EXIT HUP INT QUIT TERM export HOME=$temphome fi ** Summary changed: - package ssl-cert 1.0.14-0ubuntu2.1

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-08-01 Thread Pascal De Vuyst
** This bug has been marked a duplicate of bug 250399 package update-manager 1:0.87.27 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1) ** This bug is no

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-07-21 Thread Pascal De Vuyst
That's because ssl-cert 1.0.14-0ubuntu2.1 fails to install: Richte ssl-cert ein (1.0.14-0ubuntu2.1) ... dpkg: Fehler beim Bearbeiten von ssl-cert (--configure): Unterprozess post-installation script gab den Fehlerwert 1 zurück ** Changed in: ssl-cert (Ubuntu) Status: New = Confirmed --

[Bug 250400] Re: package ssl-cert 1.0.14-0ubuntu2.1 failed to install/upgrade:

2008-07-20 Thread bugmenot
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/16207486/Dependencies.txt ** Attachment added: VarLogDistupgradeAptlog.gz http://launchpadlibrarian.net/16207487/VarLogDistupgradeAptlog.gz ** Attachment added: VarLogDistupgradeApttermlog.gz