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

From: Adam Osuchowski <Adam.Osuchowski_at_polsl.pl>
Date: Tue 04 Apr 2017 - 19:25:44 BST
Message-ID: <20170404182544.6b8b4567@polsl.pl>

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.
Received on Tue Apr 4 19:25:48 2017

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 04 Apr 2017 - 19:25:48 BST by hypermail 2.1.8