[Bug 2016145] Re: Wrong ownership for /var/lib/libuuid/
Mauricio Faria de Oliveira
2016145 at bugs.launchpad.net
Wed Jul 12 12:20:56 UTC 2023
Thanks for reporting this bug!
Could not reproduce with Kinetic (22.10) or Lunar (23.04).
Kinetic will EOL soon. Can you reproduce this with Lunar?
Thanks!
$ lsb_release -cs
No LSB modules are available.
lunar
$ uuidgen -t
039c7806-20ae-11ee-ba46-54e1ad759c00
...
$ lsb_release -cs
kinetic
$ uuidgen -t
1a838b2c-20ae-11ee-8bfa-335c39eef75c
$ dpkg -s uuid-runtime | grep Version:
Version: 2.38-4ubuntu1
$ ls -ld /var/lib/libuuid
drwxr-xr-x 2 root root 4096 May 3 2022 /var/lib/libuuid
** Changed in: util-linux (Ubuntu)
Status: New => Invalid
--
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:
Invalid
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