Accepting request 440332 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/440332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=138
This commit is contained in:
Dominique Leuenberger 2016-11-17 12:09:18 +00:00 committed by Git OBS Bridge
commit ed2bf79205
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 14 14:51:30 UTC 2016 - dimstar@opensuse.org
- Also ignore errors on the first chown call: this can happen
especially in the build system when shadow is not present and
the user has not been generated in the %pre phase.
-------------------------------------------------------------------
Fri Oct 21 00:09:04 UTC 2016 - nfbrown@suse.com

View File

@ -178,7 +178,7 @@ useradd -r -c 'NFS statd daemon' \
%service_add_pre nfs
%post -n nfs-client
chown statd:nogroup %{_localstatedir}/lib/nfs
chown statd:nogroup %{_localstatedir}/lib/nfs > /dev/null 2>&1 || :
for i in state sm sm.bak; do
chown -R statd %{_localstatedir}/lib/nfs/$i > /dev/null 2>&1 || :
done