Accepting request 791188 from home:kukuk:container

- Remove obsolete useradd call

OBS-URL: https://build.opensuse.org/request/show/791188
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=221
This commit is contained in:
Neil Brown 2020-04-06 00:27:18 +00:00 committed by Git OBS Bridge
parent 034f8d4a5a
commit 2eef9ed28f
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 3 11:04:11 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- Remove obsolete useradd call
-------------------------------------------------------------------
Fri Mar 27 05:29:36 UTC 2020 - Neil Brown <nfbrown@suse.com>

View File

@ -210,9 +210,6 @@ mkdir -p %{buildroot}%{_sysusersdir}
install -m 644 %{SOURCE12} %{buildroot}%{_sysusersdir}/
%pre -n nfs-client -f statd.pre
/usr/bin/getent passwd statd >/dev/null || \
/usr/sbin/useradd -r -c 'NFS statd daemon' \
-s /sbin/nologin -d %{_localstatedir}/lib/nfs -g nogroup statd
%service_add_pre auth-rpcgss-module.service nfs-idmapd.service nfs-blkmap.service rpc-statd-notify.service rpc-gssd.service rpc-statd.service rpc-svcgssd.service
%post -n nfs-client