Package: samba Version: 3.0.26a-1 Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu ubuntu-patch hardy
I've attached a patch to the init script that makes sure that the piddir exists.
diff -pruN 3.0.26a-1/debian/samba.init 3.0.26a-1ubuntu2/debian/samba.init --- 3.0.26a-1/debian/samba.init 2007-10-04 09:08:53.000000000 +0100 +++ 3.0.26a-1ubuntu2/debian/samba.init 2007-10-04 09:08:11.000000000 +0100 @@ -31,6 +31,9 @@ test -x /usr/sbin/nmbd -a -x /usr/sbin/s 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"