Re: [vserver] vserver-stat: open(memory.usage_in_bytes): No such file or directory

From: Gordan Bobic <gordan_at_bobich.net>
Date: Wed 27 Oct 2010 - 12:12:29 BST
Message-ID: <4CC8091D.4000301@bobich.net>

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
Received on Wed Oct 27 12:12:39 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 27 Oct 2010 - 12:12:39 BST by hypermail 2.1.8