Subject: Re: [vserver] About Ubuntu Karmic Koala ...
From: Thomas Weber <l_vserver@mail2news.4t2.com>
Date: Thu, 05 Nov 2009 23:28:51 +0100

Am Mittwoch, den 04.11.2009, 15:21 +0100 schrieb Herbert Poetzl:
> On Wed, Nov 04, 2009 at 07:56:36AM -0600, Dragan Saraginov wrote:
> > Hi to all. Hope you are all good.
> 
> > Can someone help me with my issue? I have a problem upgrading the
> > Ubuntu 9.04 to 9.10. The problem is caused by their 'upstart' package
> > which seems can not be installed and therefore the upgrade process
> > terminates. 
> 
> 'cannot be installed' sounds a little vague, could you provide
> some details _why_ it can't be installed or what errors/issues
> you are seeing ...

Host System:
debian lenny 5.0.3 64bit
Kernel: 2.6.31.4-vs2.3.0.36.19 
util-vserver 0.30.216~r2842-2
debootstrap 1.0.10lenny1 
  (with karmic script from ubuntus debootstrap 1.0.20~jaunty1)

vserver ubuntu910 build -m debootstrap --context 1185 --hostname ubuntu910 --interface
dummy0=eth0:xxx.xxx.xxx.xxx/24 --rootdir /vservers -- -d karmic -m http://de.archive.ubuntu.com/ubuntu/
-- --variant=minbase

results in a vserver that won't start with vserver ubuntu910 start, most
likely because the default sysv init style doesn't find anything to
start. 
Immediately returns without an error and without a running vserver.

echo plain > /etc/vservers/ubuntu910/apps/init/style

vserver ubuntu910 start will start the vserver now, but won't start up
any services or execute upstart scripts. Inside the vserver there's
basically just init running.

vserver ubuntu910 enter
ps auxww
root         1  0.0  0.0  10632  1164 ?        Ss   22:03   0:00 /sbin/init
root     16042  7.0  0.0    124    40 ?        S+   22:21   0:00 login             
                                                                               
root     16076  0.0  0.0  17696  1832 pts/16   Ss   22:21   0:00 /bin/bash -login
root     16082  0.0  0.0  14884  1060 pts/16   R+   22:21   0:00 ps auxww


> > Is there some workaround to have my vps upgraded to Ubuntu 9.10? 
> > I tried googling for a solution but I was not able to find anything
> > useful. I think that this is somehow related to the linux-vserver 
> > virtualization.

You can set the init style to plain for your 9.04 vserver and/or replace
the upstart package with sysvinit. Restart the vserver and you should be
able to finish the upgrade process BUT you will run into the upstart
issue after that (in 9.10 there seems to be no sysvinit package to
replace upstart anymore).

> using upstart requires a specific guest setup, so why not try
> to install a new Linux-VServer guest with 9.10 first (make sure
> to have pretty recent utils) and check how it goes there

See above.
Could you be more specific about this 'specific' guest setup one needs
do get upstart working? Simply setting init style to plain doesn't work.

regards,
  Tom