SHA256
1
0
forked from cockpit/cockpit
Commit Graph

5 Commits

Author SHA256 Message Date
aad73def6e Fix check_cockpit_users retrieving dynamic users and make nsswitch check
more robust
2025-05-23 07:32:36 +01:00
e24c7f6b3a Fix invalid sh script 2025-05-20 06:53:46 +01:00
6209d29cb1 Fix shebang 2025-05-20 06:53:27 +01:00
f99ded1391 Add check for systemd dynamic users
Glibc provides /etc/nsswitch.conf but doesn't update it after first
install. This adds a check to ensure we have systemd dynamic support
present before running as we need dynamic users and a out of date
nsswitch overrides the up to date file in /usr/etc/ breaking support.
2025-05-08 13:06:57 +05:30
48c58da214 Feat: Check if dynamic users exist before cockpit starts
Cockpit expects all its users to be dynamic, if we aren't creating them
manually and instead using them as dynamic users as upstream expects we
need to ensure they don't exist. This adds a preexec script that does
that.
2025-05-08 13:06:57 +05:30