From 6112838f523875e5e246aa3aa1dc532120240d76b7855e9a7ce69e9b204d7220 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Wed, 5 May 2010 19:21:50 +0000 Subject: [PATCH] Accepting request 39346 from Base:System Copy from Base:System/glibc based on submit request 39346 from user prusnak OBS-URL: https://build.opensuse.org/request/show/39346 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=19 --- glibc.changes | 5 +++++ glibc.spec | 4 ++-- nscd.init | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/glibc.changes b/glibc.changes index 4fd017f..ab18918 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 4 05:47:41 UTC 2010 - aj@suse.de + +- Handle /var/run on tmpfs + ------------------------------------------------------------------- Mon Apr 26 22:09:40 CEST 2010 - pbaudis@suse.cz diff --git a/glibc.spec b/glibc.spec index 842560c..bce1e38 100644 --- a/glibc.spec +++ b/glibc.spec @@ -64,7 +64,7 @@ Obsoletes: glibc-32bit Provides: rtld(GNU_HASH) AutoReqProv: on Version: 2.11.1 -Release: 3 +Release: 4 Url: http://www.gnu.org/software/libc/libc.html PreReq: filesystem BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -1017,7 +1017,7 @@ exit 0 %config /etc/init.d/nscd /usr/sbin/nscd /usr/sbin/rcnscd -%dir %attr(0755,root,root) /var/run/nscd +%dir %attr(0755,root,root) %ghost /var/run/nscd %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd diff --git a/nscd.init b/nscd.init index 1316e90..52c960e 100644 --- a/nscd.init +++ b/nscd.init @@ -66,6 +66,8 @@ rc_reset case "$1" in start) echo -n "Starting Name Service Cache Daemon" + # /var/run might be on tmpfs + [ -d /var/run/nscd ] || mkdir /var/run/nscd /sbin/startproc -p $NSCD_PID $NSCD_BIN rc_status -v ;;