Subject: Re: [vserver] vserver-stat: open(memory.usage_in_bytes): No such file or directory
From: Gordan Bobic <gordan@bobich.net>
Date: Wed, 27 Oct 2010 12:12:29 +0100

Art -kwaak- van Breemen wrote:
> On Wed, Oct 27, 2010 at 11:05:04AM +0100, Gordan Bobic wrote:
>> Because otherwise /etc/vserver/<guestname>/name file is redundant
>> with <guestname> in the path and should thus not exist in the first
>> place. If they have to be the same, one shouldn't be there at all.
> 
> Well, actually it is not that redundant :-). It is either the
> guestname in that file or adding a lot of readlink/decoding/other
> stuff to the util-vserver scripts and binaries.

That is, IMO, not a good reason to have the same piece of configuration 
information in two redundant places that need to be in sync. Especially 
not for the sake of a one-liner required to pull out <guestname> from 
/etc/vserver/<guestname>. And this "decoding" should only be done in one 
place anyway, if it isn't already.

Gordan