Red Hat Bugzilla – Bug 1470525
'uuidd' daemon should auto-start with system but does not
Last modified: 2017-07-14 04:28:43 EDT
Description of problem:
uuidd daemon should auto-start with system but does not
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.system enable uuidd
3.system start uuidd
Does NOT auto-start with reboot
Should auto-start with reboot
Add following in /usr/lib/systemd/system/uuidd.service
uuidd comes from uuidd package (created from util-linux srpm), not uuid package. reassigning
The service uses socket-activation. It does not have to run, it's started by systemd on demand (when libbuuid ask for time based UUID, e.g. "uuidgen -t"). The important is socket in this case, see:
# systemctl status uuidd.socket
● uuidd.socket - UUID daemon activation socket
Loaded: loaded (/usr/lib/systemd/system/uuidd.socket; enabled; vendor preset: enabled)
Active: active (listening) since Fri 2017-07-14 10:19:35 CEST; 1s ago
Listen: /var/uuidd/request (Stream)
(this is from fedora)
If you want to be really sure that all works as expected than use "strace uuidgen -t" after reboot. You have to see that the util connects to the uuidd socket.
Not a bug from my point of view.
Note that ideal solution would be to use "enable uuidd.socket" in the spec file rather than "enable uuidd.service", but it's not so important.