Package: ser Version: 2.0.0-4 Severity: normal On dists such as ubuntu using temporary /var/run dirs the init script will fail. attached is a small init script change that allows check and creation of /var/run/ser in the init script that allows startup in this case. let me know if this is fine to use in debian or if otherwise i'll try to add to ubuntu. thanks
-- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ser depends on: ii adduser 3.112 add and remove users and groups ii libc6 2.11.2-5 Embedded GNU C Library: Shared lib ii libreadline5 5.2-7 GNU readline and history libraries ii libuuid1 2.17.2-3.1 Universally Unique ID library ii libxml2 2.7.7.dfsg-4 GNOME XML library ser recommends no packages. Versions of packages ser suggests: pn rtpproxy <none> (no description available) pn ser-cpl-module <none> (no description available) pn ser-jabber-module <none> (no description available) pn ser-mysql-module <none> (no description available) pn ser-pa-module <none> (no description available) pn ser-radius-modules <none> (no description available) -- no debconf information
diff -ruN ser-2.0.0/debian/ser.init ser-2.0.0.new//debian/ser.init --- ser-2.0.0/debian/ser.init 2010-09-09 06:12:29.000000000 +0100 +++ ser-2.0.0.new//debian/ser.init 2010-09-09 06:11:14.000000000 +0100 @@ -36,6 +36,12 @@ set -e +# Make sure /var/run/ subdirectories exists. +if [ ! -e /var/run/$NAME ] ; then + mkdir -p /var/run/$NAME + chmod 755 /var/run/$NAME +fi + case "$1" in start) echo -n "Starting $DESC: $NAME"