diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2014-06-20 16:01:47 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-06-20 16:01:47 -0500 |
commit | 9eb9b28d3e3b6725559fb38101ae869c1e4530ce (patch) | |
tree | c39a52c13d3c2a1e23c599c45394b77761afae82 /runlevels/Makefile | |
parent | a817915632f7f2162e7c3740d204989f6cfde554 (diff) |
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
Diffstat (limited to 'runlevels/Makefile')
0 files changed, 0 insertions, 0 deletions