pcp
[Top] [All Lists]

on systemd auto-restarting pmcd

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: on systemd auto-restarting pmcd
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Mon, 9 May 2016 10:55:10 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mutt/1.4.2.2i
Hi -

After a request on IRC, I pushed this patch to my fche/multithread
branch last night:

commit 2f1a292a05b926a8aa1c28ecd07e47e0ce5a97b5
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Sun May 8 19:36:50 2016 -0400

    systemd: make pmcd & pmproxy services auto-restart
    
    Following the model of pmmgr/pmwebd, these services are now also
    auto-restarted by systemd in case of crash.

I've now retracted it from that branch and plopped it to another one,
fche/pmcd-systemd-restart, because pcpqa doesn't like pmcds that come
back to life by themselves after they are pmsignal'd.  Witness the
number of "$sudo $PCP_RC_DIR/pmcd stop", which is not an appropriate
way of suspending down a systemd service.

Until the $PCP_RC_DIR/pmcd script learns to delegate to systemctl, or
pcpqa tests switch to ".../pmcd reset" instead of stop, this neat bit
of systemd functionality is inappropriate for master.


- FChE

<Prev in Thread] Current Thread [Next in Thread>