Subject: Re: [vserver] gentoo baselayout-2 conversion problem
From: Chuck <chuck@sbbsnet.net>
Date: Tue, 26 Aug 2008 12:10:29 -0400

 Tue, 26 Aug 2008 12:10:29 -0400
update on this situation:

i ran the initpost for a second time on the 64bit older guest that was 
upgraded via emerge -uDv world, and this time gentoo init worked fine and as 
with the 32bit 2008.0 guest, plain now times out :) so at least both arch now 
work with the same init style (gentoo)... would still be nice to get rid of 
the timeout so i can choose as needed. or maybe mixing them isnt so good?


thanks for the heads-up on the initpost. that fixed the gentoo init problem.
now ijust have to find why plain times out.

On Tuesday 26 August 2008, Chuck wrote:
> On Tuesday 26 August 2008, Benedikt Böhm wrote:
> > 
> > On Aug 26, 2008, at 3:04 PM, Chuck wrote:
> > >> if you run the initpost script, both files should have the following
> > >> content:
> > >>
> > >> # Copyright 1999-2006 Gentoo Foundation
> > >> # Distributed under the terms of the GNU General Public License v2
> > >>
> > >> # gentoo init style needs this (and nothing else)
> > >> exit 0
> > >>
> > >> Bene
> > >
> > > ok i did not find an initpost file anywhere however i did find init- 
> > > vserver.sh
> > 
> > /usr/lib/util-vserver/distributions/gentoo/initpost /etc/vservers/foo / 
> > usr/lib/util-vserver/util-vserver-vars
> > 
> > should do it
> > 
> 
> ran that and it said it was fixing something.. however in gentoo init i 
still 
> get an error.. plain works fine..
> 
>  * Stopping local ...                                                            
                                                              
> [ ok ]
>  * Stopping vixie-cron ...                                                       
                                                              
> [ ok ]
>  * Saving random seed ...                                                        
                                                              
> [ ok ]
>  * Stopping chrooted named ...                                                   
                                                              
> [ ok ]
>  * Stopping syslog-ng ...                                                        
                                                              
> [ ok ]
> WARNING: could not determine runlevel - doing soft halt
>   (it's better to use shutdown instead of halt from the command line)
> shutdown: timeout opening/writing control channel /dev/initctl
> init: timeout opening/writing control channel /dev/initctl
> /usr/lib64/util-vserver/vserver.stop: line 96:  4760 
> 
Killed                  "${NICE CMD[@]}" "${CHBIND CMD[@]}" "$ VSPACE" --enter "$S CONTEXT"
"${OPTS VSPACE[@]}" -- "$ VTAG" --migrate "${OPTS VTAG ENTER[@]}" --silent -- 
> $ VCONTEXT 
> $SILENT OPT --migrate --chroot --xid "$S CONTEXT" -- "${INITCMD STOP[@]}"
> 
> also ran it on the 32bit 2008.0 guest and i still get a timeout in plain 
init 
> but gentoo init works fine.. so i guess the 64bit guest will have to use 
> plain while the 32bit guest will have to use gentoo since im almost out of 
> time to get the templates set up and then i have to start creating 
production 
> stuff.
> 
> 
> 
> 
> > Bene
> > 
> 
> 
> 
> -- 
> 
> Chuck
> 



-- 

Chuck