tests: Don't make system user with differently-named group

Sysusers doesn't really support this, and no RPMs do it.

Closes: #1763
Approved by: jlebon
This commit is contained in:
Colin Walters 2019-02-22 22:08:13 +00:00 committed by Atomic Bot
parent a2044f8923
commit e7f87b03ef

View File

@ -35,7 +35,7 @@ vm_build_rpm nonrootcap \
cp nonrootcap nrc-\$mode.sh
done" \
pre "groupadd -r nrcgroup
useradd -r nrcuser -g nrcgroup -s /sbin/nologin" \
useradd -r nrcuser -s /sbin/nologin" \
install "mkdir -p %{buildroot}/etc
install nrc.conf %{buildroot}/etc
ln -sr %{buildroot}/etc/nrc.conf %{buildroot}/etc/nrc-link.conf