FS#71535 - [rng-tools] 6.13-1 rngd hangs systemd shutdown/reboot

Attached to Project: Community Packages
Opened by Paul Kerry (paulkerry) - Saturday, 17 July 2021, 18:49 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Monday, 19 July 2021, 08:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
rngd hangs on shutdown or reboot, leading to a 90s systemd timeout.


Additional info:
* package version(s): 6.13-1
* link to upstream bug report, if any: https://github.com/nhorman/rng-tools/issues/140

Steps to reproduce:
Shutdown or reboot leads to a 90s systemd timeout until the rngd SIGKILL comes in.


This issue has been reported upstream.
Having done some testing, there appears to be an issue with the Arch provided systemd file at
https://github.com/archlinux/svntogit-community/blob/packages/rng-tools/trunk/rngd.service

Either adding this to the Arch provided systemd file...
[Unit]
Conflicts=shutdown.target

or by using a simplified version based on the upstream rng-tools systemd file at...
https://github.com/nhorman/rng-tools/blob/master/rngd.service

makes everything work perfectly.

Regards
Paul.
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Monday, 19 July 2021, 08:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  rng-tools-6.13-2

Loading...