Re: [vserver] Building on CentOS 6.2

From: Phil Daws <uxbod_at_splatnix.net>
Date: Fri 03 Feb 2012 - 16:22:03 GMT
Message-ID: <1709105420.20329.1328286123267.JavaMail.root@office.splatnix.net>

Really :) Thanks for the tip. Will back up what I have done already and give that a try.

-- 
Thanks, Phil
----- Original Message -----
> Phil Daws wrote:
> > Gordan,
> >
> > Really appreciate that as it has helped us to move forward :) Once
> > I fixed the init scripts
> > we can now build a CentOS6 VS but when starting it up it returns
> > the error:
> >
> > ---------------------------------------------------------------------------------------
> > [root@testvserver01 centos6-basevs]# vserver centos6-basevs start
> > Entering non-interactive startup
> > vshelper.init: can not determine xid of vserver 'centos6-basevs';
> > returned value was ''
> >
> > This usually means that you're using an init-less init-style, but
> > the
> > guest isn't configured to start any service. Try enabling a
> > service,
> > changing the init-style, or making the contexts persistent.
> >
> > An error occured after executing the vserver startup sequence. This
> > means that some processes may exist in the created context and the
> > manual execution of
> >
> >   /sbin/vserver '/etc/vservers/centos6-basevs' stop
> >
> > is recommended to fix this.
> > ---------------------------------------------------------------------------------------
> >
> > I have checked /etc/vservers/centos6-basevs and that has the
> > correct context:
> >
> > [root@testvserver01 centos6-basevs]# cat
> > /etc/vservers/centos6-basevs/context
> > 40006
> >
> > Do we need to do something different in the latest releases of
> > vserver and util-vserver ?
> 
> How did you create your CentOS guest distribution config? Did you
> base
> it on the SL6 one? That one builds and works fine here, without
> patching yum, without doing anything at all.
> 
> > --
> > Thanks, Phil
> >
> > ----- Original Message -----
> >> Here's the patched src.rpm that I use.
> >>
> >> Should work on RHEL6 and clones thereof (Scientific, CentOS).
> >>
> >> Phil Daws wrote:
> >> > Have also attempted to back level and patch version 3.2.27 but
> >> > that
> >> > fails as-well :(
> >>
> >>
> 
> --
> Daniel Hokka Zakrisson
> 
Received on Fri Feb 3 16:22:15 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 03 Feb 2012 - 16:22:15 GMT by hypermail 2.1.8