Public bug reported:
systemd unit service has hardcoded value for rng-device (/dev/hwrng),
and dont use HRNGDEVICE or RNGDOPTIONS defined in /etc/default/rng-tools
I propose:
------ /lib/systemd/system/rng-tools.service ------
- ExecStart=/usr/sbin/rngd -r /dev/hwrng -f
+ # Read configuration variable file if it is present
+ EnvironmentFile=-/etc/default/rng-tools
+ ExecStart=/usr/sbin/rngd -f -r $HRNGDEVICE $RNGDOPTIONS
------
* Checked on ubuntu 20.04 (focal)
** Affects: rng-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: focal
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887359
Title:
systemd unit not honors /etc/default/rng-tools
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rng-tools/+bug/1887359/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs