NetworkManager forcing nscd startup
- From: Ziga Mahkovec <ziga mahkovec klika si>
- To: networkmanager-list gnome org
- Subject: NetworkManager forcing nscd startup
- Date: Wed, 03 Nov 2004 01:18:20 +0100
On my Fedora system, NetworkManager keeps starting the name cache daemon
(nscd), even though it's stopped and is not configured to run. I
attached a fix for the backend code.
--
Ziga
Index: src/backends/NetworkManagerRedHat.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/backends/NetworkManagerRedHat.c,v
retrieving revision 1.12
diff -u -r1.12 NetworkManagerRedHat.c
--- src/backends/NetworkManagerRedHat.c 21 Oct 2004 17:42:14 -0000 1.12
+++ src/backends/NetworkManagerRedHat.c 2 Nov 2004 22:34:26 -0000
@@ -317,8 +317,7 @@
*/
void nm_system_update_dns (void)
{
- if(nm_spawn_process ("/etc/init.d/nscd status"))
- nm_spawn_process ("/etc/init.d/nscd restart");
+ nm_spawn_process ("/etc/init.d/nscd condrestart");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]