Re: [Vserver] vprocunhide check

From: Lars Braeuer <lbraeuer_at_mpex.net>
Date: Thu 08 Dec 2005 - 16:11:26 GMT
Message-ID: <43985B2E.7040209@mpex.net>

Herbert Poetzl wrote:
> On Thu, Dec 08, 2005 at 04:18:23PM +0100, Lars Braeuer wrote:
>
>>Hi!
>>
>>Is this line in the vprocunhide init.d script supposed to check for
>>the iattr feature?
>>
>>$_VSERVER_INFO - FEATURE iattr || exit 0
>>
>>I remember it wasn't present in older versions.
>>
>>When calling vserver-info manually with these option it returns a 1
>>as return code. The script then stops. When commenting this line out,
>>everything works fine.
>>
>>I'm using util-vserver-alpha 0.30.209.
>
>
> may I ask what kernel/patch you are using?

2.4.32 with patch for 2.4.30.
I installed the alpha tools just for setattr (ProcFS security) and vprocunhide.

>
>
>>Also: One has to hide all entries by using "setattr --hide --admin
>>--~watch /proc/*" (for hiding all entries within the vservers) before
>>calling vprocunhide, right?
>
>
> hmm, no, usually (i.e. the default) is to hide
> all entries (valid for 2.6 kernels)

Ok, makes sense, cause I'm using the patch for 2.4 kernel which defaults to reveal everything.

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Dec 8 16:11:49 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 08 Dec 2005 - 16:11:50 GMT by hypermail 2.1.8