openrc/src
William Hubbs 9eb9b28d3e librc: filter out container processes on OpenVZ host
Thanks to info and testing done by Daniel Robbins <drobbins@funtoo.org>,
there is now a fix for this. Below is his description of the steps
OpenRC needed to use.

1) See if /proc/<pid>/status exists
2) If it does, see if it has a "envID:" field
3) If it does, see if "envID:" is set to "0"
4) If so, then it's one of the host's processes and should be a
candidate for the list. Otherwise, it is one of the container's
processes and should be ignored.

This should fix the bug and allow start-stop-daemon to work properly on
OpenVZ hosts.

X-Gentoo-Bug: 376817
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=376817
2014-06-20 16:01:47 -05:00
..
includes add a new ARRAY_SIZE macro and use it 2012-05-06 01:17:30 -04:00
libeinfo Revert "Make einfo routines private" 2013-10-21 13:49:41 -05:00
librc librc: filter out container processes on OpenVZ host 2014-06-20 16:01:47 -05:00
rc fstabinfo: fix mount and remount 2014-01-18 13:50:05 -06:00
test Revert "Make einfo routines private" 2013-10-21 13:49:41 -05:00
tools Add tools directory 2013-01-02 18:00:04 -06:00
Makefile Revert "Make einfo routines private" 2013-10-21 13:49:41 -05:00