Re: [vserver] Building on CentOS 6.2

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Fri 03 Feb 2012 - 16:16:58 GMT
Message-ID: <52389.192.168.101.15.1328285818.squirrel@192.168.100.17>

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:17:07 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 03 Feb 2012 - 16:17:07 GMT by hypermail 2.1.8