From a37f437be6524832ce08fb03cea32d91c7c289d9641ffa46379af70a23f87dd7 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 1 Apr 2014 08:34:23 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=348 --- glibc.changes | 6 ++++++ nscd.service | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/glibc.changes b/glibc.changes index 8ce95dc..06808a3 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 1 08:31:22 UTC 2014 - werner@suse.de + +- make nscd.service smart that is use/provide the synchronization + points nss-lookup.target and nss-user-lookup.target + ------------------------------------------------------------------- Mon Mar 31 13:22:56 UTC 2014 - schwab@suse.de diff --git a/nscd.service b/nscd.service index bacc6e3..7bc75d7 100644 --- a/nscd.service +++ b/nscd.service @@ -1,9 +1,13 @@ [Unit] Description=Name Service Cache Daemon +Wants=nss-lookup.target nss-user-lookup.target +Before=nss-lookup.target nss-user-lookup.target +ConditionPathExists=/etc/nscd.conf [Service] -Type=forking -ExecStart=/usr/sbin/nscd +Type=simple +PIDFile=/run/nscd/nscd.pid +ExecStart=/usr/sbin/nscd --foreground ExecStop=/usr/sbin/nscd --shutdown ExecReload=/usr/sbin/nscd -i passwd ExecReload=/usr/sbin/nscd -i group @@ -11,7 +15,6 @@ ExecReload=/usr/sbin/nscd -i hosts ExecReload=/usr/sbin/nscd -i services ExecReload=/usr/sbin/nscd -i netgroup Restart=always -PIDFile=/run/nscd/nscd.pid [Install] WantedBy=multi-user.target