Bernd Schubert <[EMAIL PROTECTED]> writes:

> Package: krb5-admin-server
> Version: 1.4.3-6
> Severity: important

> While testing kerberos on my home system I noticed that
> krb5-admin-server hangs on almost each system startup. After pressing
> randomly some keys the boot process goes on. While this is already
> annoying on my desktop system, it is not acceptable for a remotely
> administrated system.

FWIW, I'm not seeing this on my systems, so I'm wondering what's different
between my setup and yours.

> I think this should be fixable using the following patch and I'm just 
> recompiling to test it.

> --- prng.c.old  2006-04-22 17:34:54.000000000 +0200
> +++ prng.c      2006-04-22 17:35:21.000000000 +0200
> @@ -164,7 +164,7 @@
>    int fd;
>    unsigned char buf[YARROW_SLOW_THRESH/8];
>    int left;
> -  fd = open (device, O_RDONLY);
> +  fd = open (device, O_RDONLY | O_NONBLOCK);
>    if (fd == -1)
>      return 0;
>    if (fstat (fd, &sb) == -1)

It would surprise me if this helped at all, since if your understanding of
what's happening is correct, the hang is from trying to read entropy, not
just opening the device.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


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

Reply via email to