Subject: Re: [vserver] vhashify problem?
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Thu, 2 Dec 2010 14:31:25 +0100

On Thu, Dec 02, 2010 at 02:15:10PM +0100, Eugen Leitl wrote:
> On Thu, Dec 02, 2010 at 01:32:40PM +0100, Herbert Poetzl wrote:
> > On Wed, Dec 01, 2010 at 12:17:52PM +0100, Eugen Leitl wrote:

> > > I'm getting an apt-get upgrade problem in a debian lenny
> > > guest that is vhashified. Any idea how to debug this?

> > do you use or did you recently update to/from the known
> > broken 2.6.26 kernel (without fixing up the attributes)?

> Yes, I've updated to 2.6.31.14-vs2.3.0.36.28.2-beng #1 SMP Mon Aug 9
> 10:18:48 BST 2010 x86_64 GNU/Linux
> after discovering that I was running the stock
> Debian breakage.

> How would I fix the attributes for all running guests?

http://linux-vserver.org/Installation_on_Debian#Issues_with_the_current_2.6.26_kernel

basically breaking all unification links and then
re-hashifying the guests is the simplest way to go.
the barrier needs to be fixed as well ...

HTH,
Herbert

> > > How would I reverse vhashification?

> > the way you did (second mail) is fine, but simply breaking
> > the hard links would work too

> > best,
> > Herbert

> > > Preparing to replace base-files 5lenny7 (using .../base-files_5lenny8_amd64.deb)
...
> > > Unpacking replacement base-files ...
> > > dpkg: error processing /var/cache/apt/archives/base-files_5lenny8_amd64.deb (--unpack):
> > >  unable to make backup link of `./usr/share/common-licenses/LGPL-2.1' before installing
new version: Operation not permitted
> > > Errors were encountered while processing:
> > >  /var/cache/apt/archives/base-files_5lenny8_amd64.deb
> > > E: Sub-process /usr/bin/dpkg returned an error code (1)

> > > -- 
> > > Eugen* Leitl <a href="leitlhttp://leitl.org">leitl</a> http://leitl.org
> > > ______________________________________________________________
> > > ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
> > > 8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE
> -- 
> Eugen* Leitl <a href="leitlhttp://leitl.org">leitl</a> http://leitl.org
> ______________________________________________________________
> ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
> 8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE