[Bug 401048] [NEW] havp fails to (re)start because of mounted /var/spool/havp in Karmic

Imre Gergely gimre at narancs.net
Sat Jul 18 11:12:59 UTC 2009


Public bug reported:

Binary package hint: havp

When stopping havp (0.90-1ubuntu1) on Karmic, it doesn't unmount
/var/spool/havp and because of this it can't start again.

Looking at the init script it seems the script checks if
/var/lib/havp/havp.loop is mounted by grep'ing the output of "mount"
(which DOESN'T contain that filename, it contains /dev/loop0).

+ echo -n Cleaning up /var/spool/havp...
Cleaning up /var/spool/havp...+ find /var/spool/havp/ -type f -delete
+ echo  done
 done
+ [ xtrue = xtrue ]
+ mount
+ grep ^/var/lib/havp/havp.loop
+ [  ]
+ exit 0

Here's the output of "mount" on my machine:

root at utest-kk:~# mount |grep havp
/dev/loop0 on /var/spool/havp type ext3 (rw,mand)

root at utest-kk:~# losetup -a
/dev/loop0: [0801]:196609 (/var/lib/havp/havp.loop)

This is when starting havp:

+ echo -n Mounting /var/lib/havp/havp.loop under /var/spool/havp ...
Mounting /var/lib/havp/havp.loop under /var/spool/havp ...+ mount -o rw,mand,loop /var/lib/havp/havp.loop /var/spool/havp

So instead of showing the actual mounted file (/var/lib/havp/havp.loop),
"mount" shows /dev/loop0. Weird.

** Affects: havp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
havp fails to (re)start because of mounted /var/spool/havp in Karmic
https://bugs.launchpad.net/bugs/401048
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list