Re: Great 022 mystery solved ... now how to fix
"Dave Brolley" <[email protected]> Fri, 27 Jan 2017 12:33:26 -0500
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
On 27/01/17 01:17 AM, Ken McDonell wrote: > Now the open question (for which I have no clue) is what is the CORRECT way for out "init" script to do a "stop and then start" without systemd seeing the stop and trying a start ... the two start operations racing is the reason for the error messages above and the cleanup for the loser nukes the socket in /var/run/pcp/pmcd.socket. > > Setting Restart=no and forcing a daemon-reload for systemctl makes our stop and then start operation 100% robust again ... so I'm sure of the diagnosis, but would love to know what's the officially sanctioned cure. > Would it be feasible to temporarily set Restart=no while the qa suite is running and to restore the previous setting at the end? C are would have to be taken for interrupted test runs. Dave -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#15043): https://groups.io/g/pcp/message/15043 View All Messages In Topic (2): https://groups.io/g/pcp/topic/4255730 Mute This Topic: https://groups.io/mt/4255730?uid=174580 New Topic: https://groups.io/g/pcp/post -=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580 Group Home: https://groups.io/g/pcp Contact Group Owner: [email protected] Terms of Service: https://groups.io/static/tos Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy -=-=-=-=-=-=-=-=-=-=-=-