Hi,

On May 12, Dr. Claudia Neumann wrote:
> Package: wwwoffle
> Version: 2.9a-2
> Severity: grave
> Justification: renders package unusable
> 
> 
> Can't load wwwoffled. I get the error message:
> [EMAIL PROTECTED]:/etc/init.d# /etc/init.d/wwwoffle start
> Starting HTTP cache proxy server: wwwoffled wwwoffled[11539] Warning:
> Could not import private key [Base64 decoding error.].
> wwwoffled[11539] Fatal: The WWWOFFLE root CA private key file
> 'certificates/root/root-key.pem' cannot be loaded.
> ...failed.
> The file /etc/wwwoffle/certificates/root/root-key.pem exists, but is
> empty. 

You aborted the installation with ^C after waiting some time and nothing
happend, right? ;-)
(At least this way i was able to reproduce this bug)

When wwwoffled starts it checks whether the CA private key exists and if
not, it tries to create one. Due to entropy starvation this can last a
(very) long time on some systems. 
The problem is, that wwwoffle doesn't tell about this when startet via
start-stop-daemon so the user is left clueless about what's going on.
After waiting several minutes without any visible progress it is quite
understandable to abort, thus leaving a broken installation.

When wwwoffled is interrupted it leaves the empty root-key.pem. 
Next time it is started the root-key.pem is already there so wwwoffled
tries to read it and of course fails as the file is empty.

To fix this in the first place, the simplest solution is to
rm -r /etc/wwwoffle/certificates and start wwwoffled again without 
interrupting it. 

Cheers,
Andreas




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to