pcp
[Top] [All Lists]

Re: [pcp] Seeking testers - systemd service support

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Seeking testers - systemd service support
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Fri, 22 Aug 2014 17:42:25 +1000
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1970205420.36245669.1408665579915.JavaMail.zimbra@xxxxxxxxxx>
References: <1970205420.36245669.1408665579915.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
Built and installed on f19, all seemed to work. I did notice the following
when run immediately after the install :

$ systemctl status pmcd
pmcd.service - LSB: Control pmcd (the collection daemon for PCP)
   Loaded: loaded (/etc/rc.d/init.d/pmcd)
   Active: active (running) since Fri 2014-08-22 15:02:08 EST; 9min ago
  Process: 5067 ExecStop=/etc/rc.d/init.d/pmcd stop (code=exited, 
status=0/SUCCESS)
Process: 5326 ExecStart=/etc/rc.d/init.d/pmcd start (code=exited, status=0/SUCCESS)
   CGroup: name=systemd:/system/pmcd.service
           ââ5472 /usr/libexec/pcp/bin/pmcd -T 3
           ââ5638 /var/lib/pcp/pmdas/proc/pmdaproc -d 3
ââ5639 /var/lib/pcp/pmdas/logger/pmdalogger -U root -d 106 /var/lib/pcp/config/logger/logger.con...
           ââ5641 /var/lib/pcp/pmdas/sample/pmdasample -d 29
           ââ5642 /var/lib/pcp/pmdas/simple/pmdasimple -d 253

Warning: Unit file changed on disk, 'systemctl --system daemon-reload' 
recommended.


Is a "systemctl --system daemon-reload" something we should be doing in
in a %post scriptlet? Haven't investigated any further, but thought
I'd mention it anyway.

I'll build and install RHEL5 and RHEL6 next to check the new configure
stuff works as expected.

-- Mark

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