pcp
[Top] [All Lists]

pcp updates - follow-on to ken's rc_pmcd patch

To: pcp <pcp@xxxxxxxxxxx>
Subject: pcp updates - follow-on to ken's rc_pmcd patch
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed, 7 Oct 2015 14:42:32 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
Reviewed Ken's rc_pmcd patch and added this one for container
support. No functional change in a non container environment.

Changes committed to git://pcp.io/markgw/pcp/pcp.git master

commit 1a0f670c0f1d3cdc3248b106dc13a06e83d0c7c9
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Wed Oct 7 14:27:41 2015 +1000

    do not background _pmda_setup in a container environment.
In a container environment, the rc script blocks in pmpause
    (as pid 1) until it is killed or all children are reaped.
    If there are no children, it blocks until killed. However,
    if the children fork and then exit (e.g. pmcd daemon), then
    pmpause exits, killing the container with it. So we can't
    background rc tasks in a container environment.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates - follow-on to ken's rc_pmcd patch, Mark Goodwin <=