Subject: Re: [vserver] gentoo baselayout-2 conversion problem
From: Chuck <chuck@sbbsnet.net>
Date: Sun, 24 Aug 2008 17:33:52 -0400

On Sunday 24 August 2008, Oliver Welter wrote:
> Hi Chuck,
> 
> I am currently experiemnting with new gentoo guests on amd64, too - what
> seems to work for me is:
> 
> * creating a stub using "vserver build" with a default gentoo stage3
> tarball, using initstyle plain
> * emerge openrc in the guest (using chroot, not started)
> * remove the tty from inittab
> 
> Oliver
> 

ok this is officially weird.

the older originally 2007.0 amd64 guest that was fully updated with emerge uDv 
world and then added baselayout-2 and openrc works perfectly with plain but 
gives that error message below with gentoo as you said it would..

however, the i686 guest i made up on another machine using standard 2008.0 
distribution stage3, converted to baselayout-2 and openrc, and removed tty 
entries from inittab and changed make.profile from pointing to 2008.0 to 
pointing to vserver , when using gentoo init style works fine, but with plain 
a stop times out with:

A timeout occured while waiting for the vserver to finish and it will
be killed by sending a SIGKILL signal. The following process list
might be useful for finding out the reason of this behavior:

----------------------------------------------------------------------
----------------------------------------------------------------------


it appears that any older guest conversions require plain, while new 2008.0 
guests require gentoo... ugh im gonna have to keep that one in a note in 
front of me constantly :)

i guess my next step would be to create a 2008.0 amd64 template to see if the 
behavior switches to match the i686 and if it does, then it has to do with 
distribution differences i imagine. although i always thought that when kept 
up to date, a 2007.0 install would automatically become 2008.0 at some 
point.. guess not...
> 
> Chuck schrieb:
> > interesting thank you. that works on the converted guest... on the new 
32bit
> > guest i made up originally to experiment with openrc/baselayout-2, i find 
it
> > must use gentoo init style because it times out if using plain init 
style...
> > this one i took a regular stage3 2008.0 standard gentoo i686 file, 
extracted
> > it, installed baselayout2 and openrc and followed the openrc instructions 
in
> > gentoo docs... i notice a major difference between the new one and the 
older
> > one i converted last and that is the newer one has tty entries in the 
process
> > listing. something ive never seen in a guest before.
> >
> > should i lock out the tty entries? or should i just try to remember that 
any
> > new guests made with the 2008.0 template need gentoo init while any
> > baselayout2/openrc conversions of previous but updated guests need plain
> > init? could get a bit complicated..
> >
> >
> >
> > On Sunday 24 August 2008, Oliver Welter wrote:
> >> Hi Chuck
> >>
> >>> i think the upgrade emerged not only baselayout-2 and openrc but also
> > init-0.
> >>> when i first tried to start it i found itwas missing a file
> >>>
> >>> /lib/rc/sh/init-vserver.sh
> >> looks like you are using the "gentoo" init style. With openrc, you must
> >> use "plain" init style - just do a
> >> echo plain > /etc/vservers/<server>/apps/init/style
> >>
> >> Oliver
> >> --
> >> Protect your environment -  close windows and adopt a penguin!
> >> PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
> >>
> >
> >
> >
> 
> --
> Protect your environment -  close windows and adopt a penguin!
> PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
> 



-- 

Chuck