- add command line option to override is running check. - don't use proc fs for is running check. - fix fail on included browse map not found. - fix incorrect multi source messages. - clear stale flag on map read. - fix proximity other rpc ping timeout. - refactor mount request vars code. - make handle_mounts startup condition distinct. - fix submount shutdown handling. - try not to block on expire. - add configuration paramter UMOUNT_WAIT. - fix multi mount race. - fix nfs4 colon escape handling. - check replicated list after probe. - add replicated server selection debug logging. - update replicated server selection documentation. - use /dev/urandom instead of /dev/random. - check for mtab pointing to /proc/mounts. - fix interface config buffer size. - fix percent hack heap corruption.
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
autofs-5.0.3 - use /dev/urandom instead of /dev/random
|
|
|
|
From: Ian Kent <raven@themaw.net>
|
|
|
|
It has been reported that some headless systems hang when using
|
|
/dev/random. It's also been pointed out that /dev/urandom is
|
|
sufficient for the needs of autofs.
|
|
---
|
|
|
|
CHANGELOG | 1 +
|
|
modules/replicated.c | 2 +-
|
|
2 files changed, 2 insertions(+), 1 deletions(-)
|
|
|
|
|
|
diff --git a/CHANGELOG b/CHANGELOG
|
|
index be39e33..50c9a27 100644
|
|
--- a/CHANGELOG
|
|
+++ b/CHANGELOG
|
|
@@ -32,6 +32,7 @@
|
|
- make mount of multi-mounts wuth a root offset atomic.
|
|
- add replicated server selection debug logging.
|
|
- update replicated server selection documentation.
|
|
+- use /dev/urandom instead of /dev/random.
|
|
|
|
14/01/2008 autofs-5.0.3
|
|
-----------------------
|
|
diff --git a/modules/replicated.c b/modules/replicated.c
|
|
index e41713e..362ab1b 100644
|
|
--- a/modules/replicated.c
|
|
+++ b/modules/replicated.c
|
|
@@ -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;
|