Correct solution is to change /etc/init.d/jabber:

--- /etc/init.d/jabber.orig     2007-04-30 16:10:23.000000000 +0700
+++ /etc/init.d/jabber  2007-04-30 16:16:38.000000000 +0700
@@ -15,6 +15,7 @@
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/jabberd
 NAME=jabberd
+DAEMONUSER=jabber
 DESC=jabberd
 CONF=/etc/jabber/jabber.xml
 PID=/var/run/jabber/jabber.pid
@@ -48,7 +49,11 @@
       check_pid
  
       echo -n "Starting $DESC: "
-      [ ! -d `dirname $PID` ] && mkdir `dirname $PID`
+      if [ ! -d `dirname $PID` ]; then
+         mkdir `dirname $PID`
+         chown $DAEMONUSER `dirname $PID`
+      fi
+
       cd /usr/lib/jabber/
       start-stop-daemon -b -c jabber:adm --start --quiet \
          --pidfile $PID --exec $DAEMON $CMDLINE

-- 
jabber family not reporting pids to /var/run/jabber
https://bugs.launchpad.net/bugs/35955
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to