Subject: Re: [vserver] upgrade a guest
From: Corey Wright <undefined@pobox.com>
Date: Sat, 21 Feb 2009 10:11:24 -0600

On Sat, 21 Feb 2009 11:38:35 +0100
mess-mate <mess-mate@orange.fr> wrote:

> any remarks about a dist-upgrade of my vserver guest from etch (debian) 
> to lenny before i do something wrong.
> Can i do that as usely with an update, ugrade and dist-upgrade after 
> changing /etc/apt.sources.list ?

just a helpful hint: look
through /usr/lib/util-vserver/distributions/debian/initpost of the
util-vserver package in lenny (which either should or will be installed on
your host, assuming the host is running lenny) and see what it does.  it's
the post install script for a debian guest.  this script cleans up a new
debian install for running as a vserver guest (eg removing
hardware-specific startup symlinks under /etc/rc*.d, removing sendsigs test
for splash screen in /proc/cmdline), but there is no script to clean up an
upgraded install.  the script is also some what release-specific, ie the
lenny version accounts for rsyslog and dsyslog, which were not available in
etch.

so browse through that script, figure out what is applicable to your
upgraded lenny guests, and manually execute that part of the script (or do
it completely by hand).  or just live with the annoyances, because i don't
remember the script doing anything that's *required* for running an
upgraded guest (during my previous experience upgrading guests from sarge
to etch; maybe not even *required* for a new install, but definitely
silences some init script hardware-specific complaints seen on guest
start-up).

corey
-- 
undefined@pobox.com