Re: [vserver] no processes in context 1 / vserver-stat shows no vservers running

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 05 Apr 2017 - 15:32:17 BST
Message-ID: <20170405143217.GF24383@MAIL.13thfloor.at>

On Tue, Apr 04, 2017 at 08:25:44PM +0200, Adam Osuchowski wrote:
> Tor Rune Skoglund wrote:
>> I have been using that kernel version on several systems and
>> have not seen that behaviour with vserver-stat .

>> Is this a newly created vserver? Then there will be
>> no processes in it if no "persistent" processes are
>> started... If you change to plain initstyle, then
>> you should at least see the init process in there.
>> ( http://linux-vserver.org/util-vserver:InitStyles )

> I have already fixed it. The problem lay somewhere else, namely
> in processes directories visibility in /proc, controlled by
> hidepid mount option on /proc.

> It is not compatible with vservers a little, so eventually, I
> had to add root to group with gid indicated in gid mount option
> on /proc. Alternatively, there was possibility to set value of
> hidepid option to 0.

Thanks for the update, appreciated!

Best,
Herbert
Received on Wed Apr 5 15:32:19 2017

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 05 Apr 2017 - 15:32:19 BST by hypermail 2.1.8