Discussion:
on OpenRD "client" ( arch = armv5tel ) Upgraded from Buster to Bullseye and haveged stoped working.
(too old to reply)
Rick Thomas
2021-03-14 09:10:02 UTC
Permalink
Bug#985196
I recently updated my OpenRD "client" ( arch = armv5tel ) from Buster
to Bullseye and now haveged crashes.
$ sudo service haveged status
* haveged.service - Entropy Daemon based on the HAVEGE algorithm
Loaded: loaded (/lib/systemd/system/haveged.service; enabled;
vendor preset: enabled)
Active: failed (Result: signal) since Sat 2021-03-13 05:06:23 PST;
19h ago
Docs: man:haveged(8)
http://www.issihosts.com/haveged/
Process: 1610 ExecStart=/usr/sbin/haveged --Foreground --verbose=1
$DAEMON_ARGS (code=killed, signal=SYS)
Main PID: 1610 (code=killed, signal=SYS)
CPU: 247ms
Mar 13 05:06:23 client systemd[1]: haveged.service: Scheduled restart
job, restart counter is at 5.
Mar 13 05:06:23 client systemd[1]: Stopped Entropy Daemon based on the
HAVEGE algorithm.
Mar 13 05:06:23 client systemd[1]: haveged.service: Start request
repeated too quickly.
Mar 13 05:06:23 client systemd[1]: haveged.service: Failed with result
'signal'.
Mar 13 05:06:23 client systemd[1]: Failed to start Entropy Daemon based
on the HAVEGE algorithm.
I have submitted a bugreport. I'll update to the list when I get the
bug number...
Anybody know a fix?
Thanks!
Rick
Andrei POPESCU
2021-03-14 09:30:01 UTC
Permalink
I have submitted a bugreport. I'll update to the list when I get the bug number...
For the future, you can use the X-Debbugs-Cc: pseudo-header to ask the
BTS to send a copy of the report as received by the maintainer
(including bug number) somewhere else.

There are some recent examples on this list (the messages with the bug
number already in the subject).

Hope this helps,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Vagrant Cascadian
2021-03-27 20:10:02 UTC
Permalink
I recently updated my OpenRD "client" ( arch = armv5tel ) from Buster to Bullseye and now haveged crashes.
$ sudo service haveged status
* haveged.service - Entropy Daemon based on the HAVEGE algorithm
Loaded: loaded (/lib/systemd/system/haveged.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Sat 2021-03-13 05:06:23 PST; 19h ago
Docs: man:haveged(8)
http://www.issihosts.com/haveged/
Process: 1610 ExecStart=/usr/sbin/haveged --Foreground --verbose=1 $DAEMON_ARGS (code=killed, signal=SYS)
Main PID: 1610 (code=killed, signal=SYS)
CPU: 247ms
Mar 13 05:06:23 client systemd[1]: haveged.service: Scheduled restart job, restart counter is at 5.
Mar 13 05:06:23 client systemd[1]: Stopped Entropy Daemon based on the HAVEGE algorithm.
Mar 13 05:06:23 client systemd[1]: haveged.service: Start request repeated too quickly.
Mar 13 05:06:23 client systemd[1]: haveged.service: Failed with result 'signal'.
Mar 13 05:06:23 client systemd[1]: Failed to start Entropy Daemon based on the HAVEGE algorithm.
Wild guess here, but maybe try the workaround from:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866306#59

e.g. pass --data=16 (or maybe some other value) to haveged.


live well,
vagrant
Rick Thomas
2021-03-31 08:00:02 UTC
Permalink
Post by Vagrant Cascadian
I recently updated my OpenRD "client" ( arch = armv5tel ) from Buster to Bullseye and now haveged crashes.
$ sudo service haveged status
* haveged.service - Entropy Daemon based on the HAVEGE algorithm
Loaded: loaded (/lib/systemd/system/haveged.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Sat 2021-03-13 05:06:23 PST; 19h ago
Docs: man:haveged(8)
http://www.issihosts.com/haveged/
Process: 1610 ExecStart=/usr/sbin/haveged --Foreground --verbose=1 $DAEMON_ARGS (code=killed, signal=SYS)
Main PID: 1610 (code=killed, signal=SYS)
CPU: 247ms
Mar 13 05:06:23 client systemd[1]: haveged.service: Scheduled restart job, restart counter is at 5.
Mar 13 05:06:23 client systemd[1]: Stopped Entropy Daemon based on the HAVEGE algorithm.
Mar 13 05:06:23 client systemd[1]: haveged.service: Start request repeated too quickly.
Mar 13 05:06:23 client systemd[1]: haveged.service: Failed with result 'signal'.
Mar 13 05:06:23 client systemd[1]: Failed to start Entropy Daemon based on the HAVEGE algorithm.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866306#59
e.g. pass --data=16 (or maybe some other value) to haveged.
Thanks for taking a look at this! Unfortunately, it doesn't seem to work.
Here's what I did to try it:

I changed /etc/default/haveged as follows --
< #DAEMON_ARGS=""
---
Post by Vagrant Cascadian
DAEMON_ARGS="--data=16"
Then as root did
service haveged restart
and
service haveged status

Results same as above.

I also tried --
< #DAEMON_ARGS=""
---
Post by Vagrant Cascadian
DAEMON_ARGS="--data=16 --inst=16"
which does not seem to work, either.

Interestingly, running haveged in the foreground, without any cache size hints, seems to work fine:

***@client:~# haveged -n 2048 -f - > /tmp/sample
haveged: command socket is listening at fd 3
Writing 2 K byte output to stdout
***@client:~# ls -l /tmp/sample
-rw-r--r-- 1 root root 2048 Mar 31 00:15 /tmp/sample

Rick

Loading...