Accepting request 126487 from Base:System

Remove nscd.socket (forwarded request 126486 from <bound method Request.get_creator of <osc.core.Request instance at 0x7fb26e755cf8>>)

OBS-URL: https://build.opensuse.org/request/show/126487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=114
This commit is contained in:
Stephan Kulow 2012-06-29 08:19:33 +00:00 committed by Git OBS Bridge
commit 15a272e8e3
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 28 18:46:30 UTC 2012 - aj@suse.de
- Remove not anymore existing nscd.socket.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 28 12:33:50 UTC 2012 - aj@suse.de Thu Jun 28 12:33:50 UTC 2012 - aj@suse.de

View File

@ -1079,11 +1079,18 @@ done
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
%preun -n nscd %preun -n nscd
%stop_on_removal nscd %stop_on_removal nscd
%post -n nscd %post -n nscd
%{insserv_force_if_yast nscd} %{insserv_force_if_yast nscd}
mkdir -p /var/run/nscd 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 || :
# Hard removal in case the above did not work
rm -f /etc/systemd/system/sockets.target.wants/nscd.socket
exit 0
%postun -n nscd %postun -n nscd
%restart_on_update nscd %restart_on_update nscd