ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] patch: nss-mdns, Avahi, dbus, libdaemon


From: Fritz Mueller
Subject: Re: [Ltib] patch: nss-mdns, Avahi, dbus, libdaemon
Date: Fri, 10 Feb 2012 17:42:20 -0800

Thanks much, Mike!  Here's the missing patch file.  Let me know how it goes and 
if there's anything else you think might be needed?

diff --exclude CVS --exclude .git -uNr skell-1.19/etc/group 
skell-1.19.modified/etc/group
--- skell-1.19/etc/group        2008-09-23 05:48:38.000000000 -0700
+++ skell-1.19.modified/etc/group       2012-02-01 00:06:18.674206376 -0800
@@ -50,5 +50,8 @@
 mysql:x:27:
 ldap:x:55:
 pvm:x:24:
+messagebus:x:78:
+avahi:x:79:
+netdev:x:97:
 nogroup:x:65534:
 user:x:500:
diff --exclude CVS --exclude .git -uNr skell-1.19/etc/nsswitch.conf 
skell-1.19.modified/etc/nsswitch.conf
--- skell-1.19/etc/nsswitch.conf        2008-09-23 05:48:38.000000000 -0700
+++ skell-1.19.modified/etc/nsswitch.conf       2012-02-02 16:47:13.765266235 
-0800
@@ -20,18 +20,18 @@
 #      compat                  Use NIS on compat mode
 #      [NOTFOUND=return]       Stop searching if not found so far
 #
-passwd:     files nisplus nis
-shadow:     files nisplus nis
-group:      files nisplus nis
-hosts:      files nisplus nis dns
-services:   files nisplus
+passwd:     files
+shadow:     files
+group:      files
+hosts:      files dns
+services:   files
 networks:   files
-protocols:  files nisplus
+protocols:  files
 rpc:        files
 ethers:     files
 netmasks:   files
-netgroup:   files nisplus
-publickey:  nisplus
-automount:  files nisplus
-aliases:    files nisplus
-bootparams: nisplus [NOTFOUND=return] files
+netgroup:   files
+publickey:  files
+automount:  files
+aliases:    files
+bootparams: files
diff --exclude CVS --exclude .git -uNr skell-1.19/etc/passwd 
skell-1.19.modified/etc/passwd
--- skell-1.19/etc/passwd       2008-09-23 05:48:38.000000000 -0700
+++ skell-1.19.modified/etc/passwd      2012-02-01 00:21:18.033985341 -0800
@@ -36,4 +36,6 @@
 mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
 ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
 pvm:x:24:24::/usr/share/pvm3:/bin/bash
+messagebus:x:78:78::/tmp/run/dbus:/bin/false
+avahi:x:79:79::/var/run/avahi-daemon:/bin/false
 user:x:500:500:Linux User,,,:/home/user:/bin/sh
diff --exclude CVS --exclude .git -uNr skell-1.19/etc/rc.d/init.d/avahi 
skell-1.19.modified/etc/rc.d/init.d/avahi
--- skell-1.19/etc/rc.d/init.d/avahi    1969-12-31 16:00:00.000000000 -0800
+++ skell-1.19.modified/etc/rc.d/init.d/avahi   2012-02-03 18:38:43.443503004 
-0800
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+if [ ! -x /usr/sbin/avahi-daemon ]
+then
+    exit 0
+fi
+
+if [ "$1" = "stop" -o "$1" = "restart" ]
+then                                                                           
 
+    echo "Stopping Avahi daemon: "
+    /usr/sbin/avahi-daemon -c && /usr/sbin/avahi-daemon -k
+fi
+
+if [ "$1" = "start" -o "$1" = "restart" ]                                      
 
+then
+    echo "Starting Avahi daemon: "
+    /usr/sbin/avahi-daemon -c || /usr/sbin/avahi-daemon -D
+fi
diff --exclude CVS --exclude .git -uNr skell-1.19/etc/rc.d/init.d/dbus 
skell-1.19.modified/etc/rc.d/init.d/dbus
--- skell-1.19/etc/rc.d/init.d/dbus     1969-12-31 16:00:00.000000000 -0800
+++ skell-1.19.modified/etc/rc.d/init.d/dbus    2012-01-29 22:57:47.470502319 
-0800
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+if [ ! -x /usr/bin/dbus-daemon ]
+then
+    exit 0
+fi
+
+if [ "$1" = "stop" -o "$1" = "restart" ]
+then                                                                           
 
+    echo "Stopping dbus system daemon: "
+    killall -q /usr/bin/dbus-daemon
+    rm -f /tmp/run/dbus/*
+fi
+
+if [ "$1" = "start" -o "$1" = "restart" ]                                      
 
+then
+    echo "Starting dbus system daemon: "
+    /usr/bin/dbus-daemon --system
+fi
diff --exclude CVS --exclude .git -uNr skell-1.19/etc/shadow 
skell-1.19.modified/etc/shadow
--- skell-1.19/etc/shadow       2008-09-23 05:48:39.000000000 -0700
+++ skell-1.19.modified/etc/shadow      2012-02-01 00:06:57.338536445 -0800
@@ -36,4 +36,6 @@
 mysql:!!:11851:0:99999:7:::
 ldap:!!:11851:0:99999:7:::
 pvm:!!:11851:0:99999:7:::
+messagebus:!!:11851:0:99999:7:::
+avahi:!!:11851:0:99999:7:::
 user:$1$pJefShJL$CoX8T20vn1g.ug0jZIczM.:11851:0:99999:7:::




reply via email to

[Prev in Thread] Current Thread [Next in Thread]