[Bug 2016145] [NEW] Wrong ownership for /var/lib/libuuid/
Duncan Sands
2016145 at bugs.launchpad.net
Thu Apr 13 12:59:40 UTC 2023
Public bug reported:
Ubuntu 22.10, uuid-runtime version 2.38-4ubuntu1
I noticed that if I ran "uuidgen -t" then I would get a line like this
in my system logs: "uuidd: failed to open/lock clock counter"
Using strace I saw that the reason was a lack of permission to write to
"/var/lib/libuuid/clock.txt". The directory "/var/lib/libuuid/" is
owned by root, however "uuidd" is run as a systemd service
(uuidd.service) as user "uuidd". This fixed it: "sudo chown uuidd:uuidd
/var/lib/libuuid/".
So I think the uuid-runtime package should ensure that
"/var/lib/libuuid" is owned by "uuid".
** Affects: util-linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2016145
Title:
Wrong ownership for /var/lib/libuuid/
Status in util-linux package in Ubuntu:
New
Bug description:
Ubuntu 22.10, uuid-runtime version 2.38-4ubuntu1
I noticed that if I ran "uuidgen -t" then I would get a line like this
in my system logs: "uuidd: failed to open/lock clock counter"
Using strace I saw that the reason was a lack of permission to write
to "/var/lib/libuuid/clock.txt". The directory "/var/lib/libuuid/" is
owned by root, however "uuidd" is run as a systemd service
(uuidd.service) as user "uuidd". This fixed it: "sudo chown
uuidd:uuidd /var/lib/libuuid/".
So I think the uuid-runtime package should ensure that
"/var/lib/libuuid" is owned by "uuid".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2016145/+subscriptions
More information about the foundations-bugs
mailing list