Package: havp
Version: 0.89-1ubuntu1
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
.... since /var/run/havp no longer exists. I'll add a patch in a moment.
- -- System Information:
Debian Release: lenny/sid
APT prefers intrepid-updates
APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500,
'intrepid')
Architecture: i386 (i686)
Kernel: Linux 2.6.27-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages havp depends on:
ii adduser 3.108ubuntu1 add and remove users and groups
ii debconf [debconf-2 1.5.23ubuntu2 Debian configuration management sy
ii libc6 2.8~20080505-0ubuntu7 GNU C Library: Shared libraries
ii libclamav5 0.94.dfsg-1ubuntu2 anti-virus utility for Unix - libr
ii libgcc1 1:4.3.2-1ubuntu10 GCC support library
ii libstdc++6 4.3.2-1ubuntu10 The GNU Standard C++ Library v3
Versions of packages havp recommends:
ii clamav-freshclam 0.94.dfsg-1ubuntu2 anti-virus utility for Unix - viru
- -- debconf information:
havp/loopback_mount: true
havp/loopback_size: 100
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjyzqcACgkQHajaM93NaGrAsgCfe1zwnlhZZvqMC14eLWeBB288
PAEAnRPyQKh+s/YKZi1Cpw4wfHy9tZXA
=HOvy
-----END PGP SIGNATURE-----
diff -u havp-0.89/debian/havp.init havp-0.89/debian/havp.init
--- havp-0.89/debian/havp.init
+++ havp-0.89/debian/havp.init
@@ -20,6 +20,9 @@
DESC=havp
DAEMON=/usr/sbin/$NAME
PIDFILE=/var/run/$NAME/$NAME.pid
+RUNDIR=/var/run/$NAME
+USER=havp
+GROUP=havp
test -x $DAEMON || exit 0
@@ -36,6 +39,11 @@
case "$1" in
start)
+ # Create the run directory if it doesn't exist
+ if [ ! -d "$RUNDIR" ]; then
+ install -o "$USER" -g "$GROUP" -m 755 -d "$RUNDIR" || return 2
+ fi
+
if [ x"$USE_LOOPBACK" = x"true" -a -e $havp_loopback ] && \
! [ "`mount | grep ^$havp_loopback`" ]; then
echo -n "Mounting $havp_loopback under $havp_mountpoint ..."