Bugzilla – Bug 1145116
haveged.service: Main process exited, code=exited, status=1/FAILURE
Last modified: 2022-04-21 08:29:25 UTC
Created attachment 813544 [details]
journalctl -b -o short-monotonic --no-hostname | grep -i haveged -B 5 -A 5
I noticed several failures related to this service on a freshly installed Tumblweed system.
Attaching journal excerpt.
The only clue I see in the logs is the error
> haveged: Couldn't get poolsize
> haveged.service: Main process exited, code=exited, status=1/FAILURE
which occurs when haveged can't read /proc/sys/kernel/random/poolsize. (/proc not mounted?)
However, a moment later the restarted process seemingly crashes once more without saying anything about this issue, so I suppose it's unlikely that this is the cause of the crash.
I am also seeing this in logs, although it starts normally some time after that failure.
error_exit("Couldn't get poolsize");
So this message points to the reason the service fails. Since the process restarts and doesn't seem to repeat the failure, I believe it's a timing thing. It needs to start after /proc is mounted, or something.
It sounds like bug bsc#1160723 which was already resolved with update to newer version of haveged. Can you try it with latest version and let me know if issue persists?
I don't see the message in the log any more.
Thank you for feedback, closing this bug as resolved.