About this list Date view Thread view Subject view Author view Attachment view

From: Björn Steinbrink (B.Steinbrink_at_gmx.de)
Date: Tue 26 Apr 2005 - 00:01:48 BST


On 2005.04.26 00:38:48 +0200, Gilles wrote:
> Hello.
>
> > > > should work fine with a real init running inside
> > > > the vserver and might work with just the fake
> > > > blend through too ...
>
> > > > PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;)
> > >
> > > Euh, no: 2.6.11-vs1.9.5-rc1
> > > Should I upgrade before expecting it to work?
>
> So, I did upgrade just in case. Now:
>
> util-vserver (Debian package) version: 0.30.206-3
> (vanilla) kernel 2.6.11.7-vs2.0-pre2+g1
>
> vserver "phony" was build with the command:
>
> vserver phony build -m debootstrap --hostname phony.harfang.homelinux.org --netdev dummy0 --interface 192.168.83.99/24 -- -d sarge -m ftp://ftp.belnet.be/debian/ -- --exclude=pciutils,fdutils,ipchains,makedev,ppp,pppconfig,pppoe,pppoeconf,dhcp-client,console-common,console-data,console-tools,klogd,sysklogd,nvi,base-config,telnet,iptables,syslinux,pcmcia-cs,e2fsprogs,e2fslibs,libgnutls10 --include=less,ssh
> [...]
> phony:~# ps ax
> PID TTY STAT TIME COMMAND
> 13561 ? S 0:00 /usr/sbin/nullmailer-send -d
> 13567 ? Ss 0:00 /usr/sbin/sshd
> 13576 ? Rs 0:00 sshd: root_at_pts/3
> 13581 pts/3 Ss 0:00 -bash
> 13585 pts/3 R+ 0:00 ps ax
>
> No "init" process :-(
>
>
> What am I doing wrong?

As you did not specify an initstyle, sysv is used. That means that to
start a vserver /etc/init.d/rc <runlevel> (3 by default IIRC) is called.
If you want your vserver to be started with an own init process, use
plain initstyle instead.
You have to specify --initstyle plain when building the vserver or have
/etc/vservers/<vserver>/apps/init/style contain "plain".

For the "fake blend through" that Bertl mentioned, I've seen such code
when having a look at 2.4.20-vs1.2.10 today, but don't remember seeing
anything like that with 2.6 kernels. But maybe I just didn't look at the
right places yet... ;)

HTH
Björn
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 26 Apr 2005 - 00:02:58 BST by hypermail 2.1.3