[Bug 1976630] Re: uuidd appears to be broken on Ubuntu 20.04 LTS
vdbergh
1976630 at bugs.launchpad.net
Thu Jun 2 15:12:36 UTC 2022
The previous comment was a red herring.
It turns out it doesn't matter if uuidd is self compiled or not. The
system uuidd also works perfectly if it is started in the terminal
simply by
sudo uuidd
However systemd starts uuidd with
/usr/sbin/uuidd --socket-activation
which probably makes a difference.
** Bug watch added: github.com/util-linux/util-linux/issues #1704
https://github.com/util-linux/util-linux/issues/1704
--
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/1976630
Title:
uuidd appears to be broken on Ubuntu 20.04 LTS
Status in util-linux package in Ubuntu:
New
Bug description:
uuidgen -t returns a correct result when uuidd is _not_ running. See
the following transcript
vdbergh at pl:~/$ sudo systemctl stop uuidd.service uuidd.socket
vdbergh at pl:~/$ uuidgen -t
ef485202-e275-11ec-b7ab-448500dea459 <---- (correct: last part is the MAC address)
vdbergh at pl:~/$ sudo systemctl start uuidd.service
vdbergh at pl:~/$ uuidgen -t
f8e7b3ca-e275-11ec-b074-1d42fae212d0 <---- (incorrect)
The same issue appears with every program that relies on libuuid.
Example: uuid.getnode() in python3 is supposed to return the MAC
address but this only works if uuidd is not running.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: uuid-runtime 2.34-0.1ubuntu9.3
ProcVersionSignature: Ubuntu 5.13.0-44.49~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-44-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun 2 15:59:10 2022
InstallationDate: Installed on 2020-12-06 (542 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: util-linux
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1976630/+subscriptions
More information about the foundations-bugs
mailing list