mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-29 12:32:40 +00:00
Per https://issues.redhat.com/browse/RHEL-115278 Longer term of course we want to hard require systemd-sysusers for this one instead. Signed-off-by: Colin Walters <walters@verbum.org>
9 lines
216 B
Bash
Executable file
9 lines
216 B
Bash
Executable file
#!/bin/bash
|
|
set -xeuo pipefail
|
|
# Verify group members
|
|
for grp in kvm tss; do
|
|
# Verify we can find through NSS
|
|
getent group $grp >/dev/null
|
|
# and these need to be directly in /etc
|
|
grep -q $grp /etc/group
|
|
done
|