Skip to content

Commit 8460b13

Browse files
allisonkarlitskayamartinpitt
authored andcommitted
tools: stop creating static user in spec
1 parent 5de7d13 commit 8460b13

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/cockpit.spec

-5
Original file line numberDiff line numberDiff line change
@@ -425,11 +425,6 @@ authentication via sssd/FreeIPA.
425425
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{name}
426426

427427
%pre ws
428-
# HACK: old RPM and even Fedora's current RPM don't properly support sysusers
429-
# https://github.com/rpm-software-management/rpm/issues/3073
430-
getent group cockpit-wsinstance >/dev/null || groupadd -r cockpit-wsinstance
431-
getent passwd cockpit-wsinstance >/dev/null || useradd -r -g cockpit-wsinstance -d /nonexisting -s /sbin/nologin -c "User for cockpit-ws instances" cockpit-wsinstance
432-
433428
if %{_sbindir}/selinuxenabled 2>/dev/null; then
434429
%selinux_relabel_pre -s %{selinuxtype}
435430
fi

0 commit comments

Comments
 (0)