#597 passwd: Drop cockpit-ws
Opened a year ago by martinpitt. Modified 17 days ago
martinpitt/workstation-ostree-config drop-cockpit-user  into  main

file modified
-1
@@ -47,4 +47,3 @@ 

  systemd-network:x:990:

  systemd-resolve:x:989:

  systemd-bus-proxy:x:988:

- cockpit-ws:x:987:

file modified
-1
@@ -29,4 +29,3 @@ 

  systemd-network:x:991:990:systemd Network Management:/:/sbin/nologin

  systemd-resolve:x:990:989:systemd Resolver:/:/sbin/nologin

  systemd-bus-proxy:x:989:988:systemd Bus Proxy:/:/sbin/nologin

- cockpit-ws:x:988:987:User for cockpit-ws:/:/sbin/nologin

Cockpit 317 switched to DynamicUser= in [1], so this has been obsolete
for a while. This also never created cockpit-wsinstance and nobody
complained (which is now also not a thing any more since version 330 [2]).

[1] https://github.com/cockpit-project/cockpit/commit/aaa427c09f2502de26b
[2] https://github.com/cockpit-project/cockpit/pull/16811

I'm not sure to what degree you support building without fedora-41-updates -- if not, this should also go into the f41 branch.

They are indeed unrelated. I've made https://pagure.io/workstation-ostree-config/pull-request/598 for those.

Unfortunately, it's unlikely that we'll be able to remove those entries for now as this could shift the UIDs used by other passwd/group entries for users.

See the ongoing discussions in:
- https://gitlab.com/fedora/bootc/tracker/-/issues/31
- https://gitlab.com/fedora/bootc/base-images/-/merge_requests/66
- https://github.com/coreos/fedora-coreos-tracker/issues/155
- https://github.com/containers/bootc/issues/673

Thus while I agree that it is obsolete, is it causing any harm?

Not really harm, I just spotted it and thought it'd be good to clean up.

We'll likely do a cleanup pass for our UIDs/GIDs soon: https://gitlab.com/fedora/ostree/sig/-/issues/90

Metadata