[Bug 2073776] Re: nsswitch.conf "passwd" entry misses "systemd", breaking DynamicUser=yes systemd units
Andrew Martin
2073776 at bugs.launchpad.net
Mon Jul 29 11:44:56 UTC 2024
Yes, I had changed it with ansible
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2073776
Title:
nsswitch.conf "passwd" entry misses "systemd", breaking
DynamicUser=yes systemd units
Status in systemd package in Ubuntu:
Incomplete
Bug description:
The 321-1~bpo22.04.1 version of cockpit-ws calls the cockpit user "cockpit-wsinstance":
$ cat usr/lib/sysusers.d/cockpit-wsinstance.conf
u cockpit-wsinstance - "User for cockpit-ws instances" -
However the following systemd files still reference the old "cockpit-ws" username, so the service fails to start:
$ grep -r cockpit-ws$ lib/systemd/system
lib/systemd/system/cockpit-ws-user.service:Description=Dynamic user for cockpit-ws
lib/systemd/system/cockpit-ws-user.service:User=cockpit-ws
lib/systemd/system/cockpit-ws-user.service:Group=cockpit-ws
lib/systemd/system/cockpit-wsinstance-https at .socket:SocketUser=cockpit-ws
lib/systemd/system/cockpit-wsinstance-https-factory.socket:SocketUser=cockpit-ws
lib/systemd/system/cockpit.service:User=cockpit-ws
lib/systemd/system/cockpit.service:Group=cockpit-ws
lib/systemd/system/cockpit-wsinstance-http.socket:SocketUser=cockpit-ws
Can these systemd files be updated to use the new username? Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2073776/+subscriptions
More information about the foundations-bugs
mailing list