[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#503037: ssl-cert snakeoil generation completely broken in hurd



On Wednesday 22 October 2008, Will wrote:
> When installing ssl-cert on GNU/Hurd i386, the package fails the
> postinst.  Upon further inspection, I found that the bash script
> never actually queries debconf for the hostname parameter it needs
> to config the package.

It uses the output from `hostname -f` or `hostname` in postinst, not 
the debconf value. If postinst failed for you, then for a different 
reason.

> When that function is added to the script, it still doesn't work
> because the ssleay.cnf file is set up to use /dev/urandom to get
> random input. Because Hurd doesn't have /dev/urandom, the hurd
> version of this package needs to depend on a package called
> random-egd, which adds /dev/random. Then the ssleay.cnf needs to
> change urandom to random.  Provided that random-egd is installed,
> the attached patch adds in the necessary lines to fix the issues.

There is no package called random-egd, according to 
packages.debian.org.

Also, if /dev/random behaves on hurd as it does on linux in that it 
blocks when there is not enough entropy, it cannot be used in 
postinst. Is this the case?

Cheers,
Stefan



Reply to: