From 443eab01605fa044c97913b64142d7a9b5410b95 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 18 Aug 2011 23:51:12 +0000 Subject: On upgrade from random-egd-based installations, replace the random-egd translator --- debian/hurd.postinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/hurd.postinst b/debian/hurd.postinst index 965f8ab9..4c3fc2c2 100644 --- a/debian/hurd.postinst +++ b/debian/hurd.postinst @@ -57,6 +57,12 @@ fi if [ "$1" = configure ] && [ "$2" ]; then # Upgrade: create the missing device and server nodes + if showtrans /dev/random 2> /dev/null | grep -q /tmp/entropy.sock + then + # old random-egd translator, remove + settrans -g /dev/random + settrans -g /dev/urandom + fi /usr/lib/hurd/setup-translators -K fi -- cgit v1.2.3