Bug 89656 - watchdog - external check
Summary: watchdog - external check
Status: RESOLVED DUPLICATE of bug 88192
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-18 11:52 UTC by Klavs Klavsen
Modified: 2015-05-03 14:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Klavs Klavsen 2015-03-18 11:52:12 UTC
I currently have an issue on CentOS 7.. where nslcd simply stops working, and systemctl/systemd restart just hangs.. I have to manually kill it.

until I "hopefully" find a fix.. I'd like to detect this situation and restart the service.

Since systemd has this nice watchdog setup.. I'd like to use it, but appearently it currently requires me to modify nss-pam-ldapd (ie. nslcd's source).. 

I was hoping I could pursuade you to allow for a definition of an external check.. (in my case something like: getent passwd | wc -l - and check count larger than list in local passwd file)

So I don't have to write my own logic in a cronjob to fix it :)
Comment 1 Marc Haber 2015-05-02 15:53:16 UTC
This is a duplicate of #88192, which I cannot mark as duplicate as this one would then automatically be "resolved", which it isnt.
Comment 2 Lennart Poettering 2015-05-03 14:30:48 UTC
Well, but that's how bugzilla handles duplicates... 

I think "resolved" really shouldn't be considered "fixed", but simply as "this separate bug report is not needed anymore".

Hence closing as duplicate.

*** This bug has been marked as a duplicate of bug 88192 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.