Re: no processes in context 1 / vserver-stat shows no vservers running
Adam Osuchowski <[email protected]> Tue, 4 Apr 2017 20:25:44 +0200
| Newsgroups | gmane.linux.vserver |
|---|---|
| Organization | Computer Centre of The Silesian University of Technology |
| Message-ID | <[email protected]> |
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.