Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitor: Fix check process about multiple starts of sssd when pidfile… #982

Closed
wants to merge 1 commit into from

Conversation

miztake
Copy link
Contributor

@miztake miztake commented Feb 5, 2020

… 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.

… 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.
@pbrezina pbrezina self-assigned this Feb 6, 2020
@pbrezina
Copy link
Member

pbrezina commented Feb 6, 2020

Thank you. Works as expected. Ack.

@pbrezina
Copy link
Member

  • master
    • ceea56b - monitor: Fix check process about multiple starts of sssd when pidfile remains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants