SHA256
1
0
forked from pool/glibc

- Suppress error message from systemctl in %post -n nscd (bnc#792333)

OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=244
This commit is contained in:
Andreas Schwab 2012-12-03 14:51:36 +00:00 committed by Git OBS Bridge
parent 2471d4494b
commit eff14db743
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 3 14:47:22 UTC 2012 - schwab@suse.de
- Suppress error message from systemctl in %post -n nscd (bnc#792333)
-------------------------------------------------------------------
Sat Dec 1 08:55:05 UTC 2012 - aj@suse.de

View File

@ -994,8 +994,8 @@ done
%service_add_post nscd.service
mkdir -p /var/run/nscd
# Previously we had nscd.socket, remove it
test -x /usr/bin/systemctl && /usr/bin/systemctl stop nscd.socket || :
test -x /usr/bin/systemctl && /usr/bin/systemctl disable nscd.socket || :
test -x /usr/bin/systemctl && /usr/bin/systemctl stop nscd.socket 2>/dev/null || :
test -x /usr/bin/systemctl && /usr/bin/systemctl disable nscd.socket 2>/dev/null || :
# Hard removal in case the above did not work
rm -f /etc/systemd/system/sockets.target.wants/nscd.socket
exit 0
@ -1004,6 +1004,7 @@ exit 0
%service_del_postun nscd.service
exit 0
%files
#######################################################################
###
### FILES
@ -1011,8 +1012,6 @@ exit 0
#######################################################################
# glibc
%files
%defattr(-,root,root)
%doc LICENSES
%config(noreplace) /etc/bindresvport.blacklist