Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Error with random generator

1 view
Skip to first unread message

Samuel Thibault

unread,
Jun 3, 2018, 5:21:04 AM6/3/18
to Almudena Garcia, Help Hurd
Hello,

Almudena Garcia, le dim. 03 juin 2018 11:00:33 +0200, a ecrit:
> How can I solve this?

Perhaps use an actually-tested image such as from
http://cdimage.debian.org/cdimage/ports/current-hurd-i386/iso-cd

Samuel

Almudena Garcia

unread,
Jun 3, 2018, 5:22:16 AM6/3/18
to Help Hurd
After seatch, I detected that /var/run/random-seed file don't exists.

I created this using

cat /dev/random > /var/run/random-seed

After this, I use

settrans -c /dev/urandom /hurd/random \
           --seed-file /var/run/urandom-seed --fast

To up the urandom translator.


After this, the problem feels solved

2018-06-03 11:00 GMT+02:00 Almudena Garcia <liberame...@gmail.com>:
Hi all:

I've just to install Debian GNU/Hurd current in VirtualBox.During installation, It shows an error about random generator.

After install, I'm trying to install packages with apt, but It shows a Python error and don't continue. The error says that Python can get random numbers to initialize Python, and stop dpkg process.

Samuel Thibault

unread,
Jun 3, 2018, 5:29:39 AM6/3/18
to Almudena Garcia, Help Hurd
Almudena Garcia, le dim. 03 juin 2018 11:21:51 +0200, a ecrit:
> After seatch, I detected that /var/run/random-seed file don't exists.
>
> I created this using
>
> cat /dev/random > /var/run/random-seed

The thing is: the random translator is supposed to be reading from
/var/spool/random-seed, not /var/run/random-seed (since the latter
doesn't survive reboots).

> settrans -c /dev/urandom /hurd/random \
> --seed-file /var/run/urandom-seed --fast

Again, rather make it use /var/spool/random-seed, otherwise the fix
won't survive a reboot.

Samuel

Almudena Garcia

unread,
Jun 4, 2018, 7:57:22 AM6/4/18
to Samuel Thibault
Finnaly, by any reason, the /dev/random and /dev/urandom don't shows any new error, and start without problems.
I tried restart the server, but It says that the device or resource is busy.

How can I restart the server? I want to add the correct file in the server

2018-06-04 12:03 GMT+02:00 Almudena Garcia <liberame...@gmail.com>:
Ok. Then I will try what do you said.
Thanks
0 new messages