nsswitch.conf "passwd" entry misses "systemd", breaking DynamicUser=yes systemd units
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The 321-1~bpo22.04.1 version of cockpit-ws calls the cockpit user "cockpit-
$ cat usr/lib/
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/
lib/systemd/
lib/systemd/
lib/systemd/
lib/systemd/
lib/systemd/
lib/systemd/
lib/systemd/
Can these systemd files be updated to use the new username? Thanks!
That's not an "old" username. cockpit-ws really needs two. "cockpit-ws" uses DynamicUser=yes, while cockpit-wsinstance is a static user name (for technical reasons). Is anything not working?