[vserver] Problems with scripts

From: Gustavo <lungpu+virtual_at_gmail.com>
Date: Wed 15 Aug 2007 - 21:39:36 BST
Message-ID: <624a23b80708151339y75359a87t9c79cb204ef04054@mail.gmail.com>

Hi, I'm new in list, my name is Gustavo and I've been testing vservers for
some weeks in my work for development and testing, and made some "helpers"
too. My problem now is with scripts to be located at /etc/vservers/scripts.
As I've seen in the "flower page", they are initialize, prepre-start,
pre-start, post-stop, postpost-stop, and so on. Happens that I'm trying to
mount a file as a loop device to be like de block device representing the
disk of the vps. Since initialize runs _before_ the fs is mounted, it works
fine but unmounting and freeing the loop dev appears to be not so easy
because maybe there is a chroot to the vps root dir before running the
postpost-stop script. Do you know any alternative for doing this?

(in some days when this finish taking shape, I'll put public the scripts I
made to enhance functionality and make easy common creation/modification
tasks with vservers)

Thanks,
Gustavo
Received on Wed Aug 15 21:39:56 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 15 Aug 2007 - 21:39:59 BST by hypermail 2.1.8