Subject: RFE: new scriptlet "finalize" as opponent to initialize
From: Oliver Welter <mail@oliwel.de>
Date: Sat, 13 Sep 2008 13:06:18 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I'd discuss a new RFE here.
I use vserver with drbd and I am missing a possibility to shutdown the
associated drbd device on shutdown of the guest.

The problem is, as far as I figured out, that even when the
postpost-stop script is running, the vservers root directory is locked
by some process. As a result, it is impossible to unmount the vservers
root directory from the drbd device and  shutdown the drbd device.

If anybody has an approach with the current tools, any help is
appreciated. At the moment, I simply wrote a small helper script, which
first calls vserver stop and than unmounts the device, but I'd prefer to
put all the logic into the vserver scriptlets

regards

Oliver
- --
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIy56qyrew3TmFFyERAkuSAJ9uo2Kw3fMcV8G8KswLGxQDBKd7RQCfXohz
3S2J6JIOi1mCpxeCNaU+p5o=
=XH1M
-----END PGP SIGNATURE-----