Package: havp
Version: 0.91-1
Severity: important
Tags: patch

When stopping havp, it doesn't unmount /var/spool/havp and because of this it 
can't start again. The error message one gets is:

d5-testing:~# /etc/init.d/havp start
Mounting /var/lib/havp/havp.loop under /var/spool/havp ...mount: according to 
mtab /var/lib/havp/havp.loop is already mounted on /var/spool/havp as loop

Please see https://bugs.launchpad.net/bugs/401048 for a complete report.

Attached you'll find the patch to havp.init which could possibly solve the 
problem.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
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.111         add and remove users and groups
ii  debconf [debconf-2.0]      1.5.28        Debian configuration management sy
ii  libc6                      2.10.1-7      GNU C Library: Shared libraries
ii  libclamav6                 0.95.3+dfsg-1 anti-virus utility for Unix - libr
ii  libgcc1                    1:4.4.2-3     GCC support library
ii  libstdc++6                 4.4.2-3       The GNU Standard C++ Library v3

Versions of packages havp recommends:
ii  clamav-freshclam           0.95.3+dfsg-1 anti-virus utility for Unix - viru

Versions of packages havp suggests:
pn  squid                         <none>     (no description available)

-- debconf information excluded
--- havp.orig   2009-07-19 16:34:25.000000000 +0300
+++ havp        2009-07-19 16:35:20.000000000 +0300
@@ -71,7 +71,7 @@
        find $havp_mountpoint/ -type f -delete
        echo " done"
 
-        if [ x"$USE_LOOPBACK" = x"true" ] && [ "`mount | grep 
^$havp_loopback`" ]; then
+        if [ x"$USE_LOOPBACK" = x"true" ] && [ "`mount | grep \" 
$havp_mountpoint \"`" ]; then
                echo -n "Unmounting $havp_mountpoint ..."
                umount -l $havp_mountpoint
                echo "done"

Reply via email to