<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - watchdog - external check"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89656">89656</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>watchdog - external check
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kl@vsen.dk
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 :)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>