aboutsummaryrefslogtreecommitdiff
path: root/conf.d/netmount
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2014-06-20 16:01:47 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-06-20 16:01:47 -0500
commit9eb9b28d3e3b6725559fb38101ae869c1e4530ce (patch)
treec39a52c13d3c2a1e23c599c45394b77761afae82 /conf.d/netmount
parenta817915632f7f2162e7c3740d204989f6cfde554 (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 'conf.d/netmount')
0 files changed, 0 insertions, 0 deletions