On Mon, Jun 26, 2006 at 06:22:44PM +0200, Benedict Verheyen wrote: [a lot of stuff zapped]
> Hi, > > > thanks for the info. I think your suggestions will actually solve the > problem i'm having. > Thing is that i'm not sure on how to do it correctly on Debian. > I have a util-vserver script in /etc/init.d > which is linked to from rc2.d: > S23util-vserver -> ../init.d/util-vserver please check my reply to the original question, it is probably the much better solution if you 'just' require a proper order of course, the different runlevel scripts make perfect sense if you actually _use_ different runlevels for your host system > In /etc/default/util-vserver i reread this comment: > # The vserver initscript runs late in the boot-up sequence, which may > # be inappropriate for services that need to run earlier, such as > # nameservers or VPN tunnels. If a copy of the initscript is made to > # run at an earlier position, you can then set $MARK to be those vservers > # that you want to run then. > #MARK=default > > This is confusing to me. The comment says to copy the initscript for those > servers that need to be started earlier but the script looks at > /etc/default/util-vserver to find info on what servers to start first. > So how do i do that? I could copy the script, copy /etc/default/util-vserver > and adjust the MARK & AUTO parameters there but i don't think that's the > proper way to deal with this problem or is it? > > Looking at the /etc/init.d/util-vserver script (added as extra info > below), i could make a copy and then put this code in comment > > DEBIANCONFIG=/etc/default/util-vserver > > if [ -f $DEBIANCONFIG ] > then > . $DEBIANCONFIG > fi > > Then add MARK & AUTO in there. For instance, MARK=dnsserver & AUTO=true > Next make a link to this script from /etc/rc2.d at an early stage. > Is this how it should be done? best, Herbert > > Thanks, > Benedict [more stuff zapped] _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
