Subject: Re: [vserver] no processes in context 1 / vserver-stat shows no vservers running
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Wed, 5 Apr 2017 16:32:17 +0200

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