[Pkg-samba-maint] r1568 - trunk/samba/debian

vorlon at alioth.debian.org vorlon at alioth.debian.org
Wed Nov 14 23:07:48 UTC 2007


Author: vorlon
Date: 2007-11-14 23:07:48 +0000 (Wed, 14 Nov 2007)
New Revision: 1568

Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/samba.init
Log:
Enforce creation of the pid directory (/var/run/samba) in the samba init
script, for compatibility with systems that use a tmpfs for/var/run.
Closes: #451270.



Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2007-11-14 20:46:00 UTC (rev 1567)
+++ trunk/samba/debian/changelog	2007-11-14 23:07:48 UTC (rev 1568)
@@ -18,6 +18,9 @@
   * Update Samba to explicitly use the C locale when doing password changes,
     to account for Linux-PAM's recently adopted i18n support.
     Closes: #451272.
+  * Enforce creation of the pid directory (/var/run/samba) in the samba
+    init script, for compatibility with systems that use a tmpfs for
+    /var/run.  Closes: #451270.
 
   [ Debconf translations ]
   * Hebrew added. Closes: #444054
@@ -32,7 +35,7 @@
     reporting and contributions from Launchpad's #156686
     Closes: #449422
 
- -- Steve Langasek <vorlon at debian.org>  Wed, 14 Nov 2007 11:36:57 -0800
+ -- Steve Langasek <vorlon at debian.org>  Wed, 14 Nov 2007 14:03:23 -0800
 
 samba (3.0.26a-1) unstable; urgency=low
 

Modified: trunk/samba/debian/samba.init
===================================================================
--- trunk/samba/debian/samba.init	2007-11-14 20:46:00 UTC (rev 1567)
+++ trunk/samba/debian/samba.init	2007-11-14 23:07:48 UTC (rev 1568)
@@ -31,6 +31,9 @@
 case "$1" in
 	start)
 		log_daemon_msg "Starting Samba daemons"
+		# Make sure we have our PIDDIR, even if it's on a tmpfs
+		install -o root -g root -m 755 -d $PIDDIR
+
 		NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 2>/dev/null`
 		if [ "$NMBD_DISABLED" != 'Yes' ]; then
 			log_progress_msg "nmbd"




More information about the Pkg-samba-maint mailing list