metal/mtce-common
Eric MacDonald 04055390fa pmond: add support for no script label in conf files
Many new services being added to our system are no longer accompanied
with an init script ; only a service file. With the migration from sysvinit
to systemd pmond still requires process conf files to provide a script label.

This update removes that dependency. Instead, pmond will use the service
or script label to find the most appropriate process failure recover method
while handling the omition of either but not both of the service and script
labels.

The change is to first search for a service file that corresponds with the
service label in the conf file.
If the service label does not exist then the script label is looked at.
If the basename of the script has a corresponding service file then use it.
If no service file is found then the full pathed script is searched for.
If no script file is found then the process monitor errors out.

This update also makes an improvement to how pmond deals with the absence
of the hostw process. Current code base blocks startup if it cannot connect
to the hostw process.

This update implements host watchdog socket failure auto recovery while
continuing to monitor processes. With this update, if the host watchdog
process is restarted or is not running then pmond will continue to monitor
processes while periodically trying to recover connection to the host
watchdog once it does recover.

Change-Id: Icf27090d4d00954195b0ac931474587c67341207
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-01 21:18:33 -04:00
..
centos Multi-Region: Support shared LDAP service 2018-06-28 15:49:45 -04:00
cgts-mtce-common-1.0 pmond: add support for no script label in conf files 2018-07-01 21:18:33 -04:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:43 -07:00