diff options
-rw-r--r-- | debian/hurd.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst index f6b0ead5..4828112c 100644 --- a/debian/hurd.postinst +++ b/debian/hurd.postinst @@ -70,8 +70,11 @@ if [ "$1" = configure ] && [ "$2" ]; then --slave /dev/urandom urandom /dev/urandom-hurd # Generate initial pool + UMASK=`umask` + umask 077 [ -f /var/spool/random-seed ] || dd < /dev/urandom > /var/spool/random-seed bs=1 count=600 # TODO: will need to run settrans -ga /dev/random at system stop to make # it save it back + umask $UMASK fi |