URL:
https://github.com/SSSD/sssd/pull/982
Author: miztake
Title: #982: monitor: Fix check process about multiple starts of sssd when pidfile…
Action: opened
PR body:
"""
… remains
If PIDFile is invalid in sssd.service, pidfile remains if sssd terminates abnormally.
Also, if /var/run is not tmpfs, the pidfile will remain when the OS is forcibly stopped.
In check process about multiple starts of sssd, only the existence of pidfile is
checked.
Fix not only to check if pidfile exists, but also to check if PID exists.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/982/head:pr982
git checkout pr982