[Pkg-utopia-commits] r229 - packages/networkmanager/trunk/debian

Thom May thom@costa.debian.org
Sat, 18 Jun 2005 10:26:06 +0000


Author: thom
Date: 2005-06-18 10:26:05 +0000 (Sat, 18 Jun 2005)
New Revision: 229

Modified:
   packages/networkmanager/trunk/debian/changelog
   packages/networkmanager/trunk/debian/network-manager.dbus-event
   packages/networkmanager/trunk/debian/rules
Log:
Fix for Ubuntu #11904; ensure that /var/lib/NetworkManager has the correct ownership, and make sure we check it on every start.


Modified: packages/networkmanager/trunk/debian/changelog
===================================================================
--- packages/networkmanager/trunk/debian/changelog	2005-06-17 12:33:12 UTC (rev 228)
+++ packages/networkmanager/trunk/debian/changelog	2005-06-18 10:26:05 UTC (rev 229)
@@ -1,3 +1,13 @@
+network-manager (0.4.1+cvs20050617-1) breezy; urgency=low
+
+  * update from CVS
+  * Add configure magic to ensure we get the correct path for dhcdbd
+    (Ubuntu: #11905)
+  * Ensure /var/lib/NetworkManager is created with the correct permisions
+    (Ubuntu: #11904)
+
+ -- Thom May <thom@ubuntu.com>  Sat, 18 Jun 2005 11:22:49 +0100
+
 network-manager (0.4.1+cvs20050616-1) breezy; urgency=low
 
   * New upstream. Fix descriptions.

Modified: packages/networkmanager/trunk/debian/network-manager.dbus-event
===================================================================
--- packages/networkmanager/trunk/debian/network-manager.dbus-event	2005-06-17 12:33:12 UTC (rev 228)
+++ packages/networkmanager/trunk/debian/network-manager.dbus-event	2005-06-18 10:26:05 UTC (rev 229)
@@ -32,6 +32,9 @@
 #	Function that starts the daemon/service.
 #
 d_start() {
+        test -d /var/lib/NetworkManager || mkdir -p /var/lib/NetworkManager
+        chown -R bind:bind /var/lib/NetworkManager
+        chmod 755 /var/lib/NetworkManager
 	start-stop-daemon --start --quiet --pidfile $PIDFILE \
 		--user $USER --exec $DAEMON -- $DAEMON_OPTS
 }

Modified: packages/networkmanager/trunk/debian/rules
===================================================================
--- packages/networkmanager/trunk/debian/rules	2005-06-17 12:33:12 UTC (rev 228)
+++ packages/networkmanager/trunk/debian/rules	2005-06-18 10:26:05 UTC (rev 229)
@@ -89,6 +89,7 @@
 	install -m 755 debian/network-manager.dbus-event debian/network-manager/etc/dbus-1/event.d/zz99NetworkManager
 	install -m 644 debian/nm-applet.conf debian/network-manager/etc/dbus-1/system.d/nm-applet.conf
 	install -m 644 debian/network-manager.dbus-conf debian/network-manager/etc/dbus-1/system.d/NetworkManager.conf
+	chown -R bind:bind debian/network-manager/var/lib/NetworkManager
 
 	dh_install -s
 # Must not depend on anything. This is to be called by