Re: [vserver] vServer Build mysteriously cleaning up existing runlevel (method "template")

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 18 Sep 2013 - 19:39:50 BST
Message-ID: <20130918183950.GS10062@MAIL.13thfloor.at>

On Wed, Sep 18, 2013 at 08:11:20PM +0200, Lars Bräuer wrote:
> Hello,

> we roll out some vServers with the vserver build template function:

> vserver <name> build --context <num> --hostname <name>
> --interface <ip> -m template -- -t <tarball> -d debian

> The tarball contains an /etc/rc2.d directory with a few
> services preinstalled.

> vserver build uses the tarball leaving nothing but these two
> files in /etc/rc2.d:

> S01rsyslog -> ../init.d/rsyslog
> S03rc.local -> ../init.d/rc.local

> Why would vserver build clean up the runlevel and delete all
> other links? While all the preinstalled scripts have runlevel
> 2 set as "Default start" in the LSB header.

This is done as part of the post-install script running
and you should be able to configure those script(s) in
/etc/vservers/.distributions/<dist> (in your case 'debian')

HTH,
Herbert

> I couldn't find an option to change this and I also didn't find
> something searching through

> /usr/lib/util-vserver/vserver-build*

> Any hints?

> Best regards
> Lars
Received on Wed Sep 18 19:39:55 2013

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 18 Sep 2013 - 19:39:55 BST by hypermail 2.1.8