From 5f7435eade7d750147d1a0868ee882306bdeb958 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 6 Nov 2011 02:28:51 +0100 Subject: Set entropy pool in /var/spool/random-seed --- debian/changelog | 4 ++-- debian/local/setup-translators | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index f64afa0d..056813af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,9 +11,9 @@ hurd (20111030-1) UNRELEASED; urgency=low rcS.d scripts. - Add cd[01] SCSI CD-ROMs. * patches/libdiskfs_sync.patch: New patch to fix sync at shutdown. - * local/setup-translators: Set up entropy socket in /var/run instead of - /tmp, as the latter is world-writable. * patches/libpthread_procfs.patch: Add random server. + * local/setup-translators: Use random server, set up its entropy pool in + /var/spool. * debian/control, debian/local/setup-translators: Use native random server set on /dev/u?random-hurd instead of random-egd on /dev/u?random. (Closes: bug#637231) diff --git a/debian/local/setup-translators b/debian/local/setup-translators index cd1a78d7..4a019fcd 100755 --- a/debian/local/setup-translators +++ b/debian/local/setup-translators @@ -146,8 +146,8 @@ else md ptyq md lprX 0123 md comX 0123 - st random-hurd 'random --seed-file /var/run/random-seed --fast' random - st urandom-hurd 'random --seed-file /var/run/random-seed --fast' urandom + st random-hurd 'random --seed-file /var/spool/random-seed' random + st urandom-hurd 'random --seed-file /var/spool/random-seed --fast' urandom fi st kbd 'symlink cons/kbd' kbd -- cgit v1.2.3