Package: ivman
Version: 0.6.14-3
Severity: minor
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch
On systesm which have /var/run as tmpfs, /var/run/ivman must be recreated each
time to avoid errors in init.d script.
Even if this issue does not affect Debian, it could be worth fixing it for
compatibility purposes.
In Ubuntu, we've applied the attached patch to achieve the following:
- debian/init.d: make sure that /var/run/ivman exists
We thought you might be interested in doing the same.
-- System Information:
Debian Release: lenny/sid
APT prefers gutsy-updates
APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500,
'gutsy-backports'), (500, 'gutsy')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-14-generic (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u ivman-0.6.14/debian/init.d ivman-0.6.14/debian/init.d
--- ivman-0.6.14/debian/init.d
+++ ivman-0.6.14/debian/init.d
@@ -24,6 +24,9 @@
. /etc/default/ivman
fi
+# Make sure that /var/run/ivman exists
+[ ! -d /var/run/ivman ] && mkdir /var/run/ivman
+
set -e
case "$1" in