Merge branch 'move-tss-to-etc' into 'main'

Move the `tss` group to `/etc` so it can be mutated

See merge request fedora/bootc/base-images!155
This commit is contained in:
Colin Walters (Red Hat) 2025-03-26 15:43:53 +00:00
commit b2ef5fbd7a
2 changed files with 11 additions and 0 deletions

View file

@ -14,9 +14,14 @@ ignore-removed-users:
- root
ignore-removed-groups:
- root
# By default users and groups are injected to nss-altfiles
# which is immutable. This list moves a selected set
# to /etc/group instead, which is mutable per system
# and allows local users to become part of these groups.
etc-group-members:
- wheel
- systemd-journal
- tss # https://issues.redhat.com/browse/BIFROST-618
- adm
check-passwd:

6
tests/rootfs/cases/etc-group Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
set -xeuo pipefail
# Verify group members
getent group tss >/dev/null
# This one needs to be in /etc
grep -q tss /etc/group