Package: autofs5
Version: 5.0.3-1
Severity: important
Tags: patch

autofs hangs when attempting to open /dev/random on a machine with
limited boottime entropy (diskless, mouseless, keyboardless - nfsroot+infrared
control)

It does this on 2 machines.

It should not be using /dev/random, it should be using /dev/urandom

http://lwn.net/Articles/261804/


--- modules/replicated.c.orig   2008-05-14 21:30:39.009024408 +0100
+++ modules/replicated.c        2008-05-14 21:30:32.952073840 +0100
@@ -79,7 +79,7 @@ void seed_random(void)
        int fd;
        unsigned int seed;

-       fd = open("/dev/random", O_RDONLY);
+       fd = open("/dev/urandom", O_RDONLY);
        if (fd < 0) {
                srandom(time(NULL));
                return;


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.3 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages autofs5 depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  ucf                           3.001      Update Configuration File: preserv

Versions of packages autofs5 recommends:
ii  module-init-tools            3.3-pre11-1 tools for managing Linux kernel mo
ii  nfs-common                   1:1.1.1-14  NFS support files common to client

-- no debconf information



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

Reply via email to