[Bug 401048] Re: havp fails to (re)start because of mounted /var/spool/havp in Karmic
Imre Gergely
gimre at narancs.net
Tue Nov 24 20:55:33 UTC 2009
Well it's not fixed yet (Lucid has the same version as Karmic, and I've
done the tests with 0.90-1).
Basically you just install havp, then you stop it and try to start it
again. It won't start because /var/spool/havp is still mounted. It
doesn't get unmounted at stop, because of the above problem in the
initscript (IMHO).
It's with the default configuration, except I enabled clamav for
antivirus scanning.
It goes something like this:
- install havp: apt-get install havp
- start it up (it does start after install):
root at utest-kk:~# /etc/init.d/havp start
Mounting /var/lib/havp/havp.loop under /var/spool/havp ...done
Cleaning up /var/spool/havp... done
Starting havp: Starting HAVP Version: 0.90
havp.
- check that the generated file is mounted through loop:
root at utest-kk:~# mount |grep havp
/dev/loop0 on /var/spool/havp type ext3 (rw,mand)
- stop havp and check that the file is STILL mounted:
root at utest-kk:~# /etc/init.d/havp stop
Stopping havp: havp.
Cleaning up /var/spool/havp... done
root at utest-kk:~# mount |grep havp
/dev/loop0 on /var/spool/havp type ext3 (rw,mand)
- try to start it, it won't start:
root at utest-kk:~# /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
The above patch should take care of umount'ing the loopback.
--
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