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
Touch seeded packages, 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to