Comment 27 for bug 1566508

Revision history for this message
Victor Tapia (vtapia) wrote :

Hi Maciej,

I'm attaching the suggested patch to this bug, but bear in mind it's adapted to upstream's code.

Originally, SSSD creates the pidfile at an early stage (once it forks) before the providers have started. This patch moves the pidfile creation to a point where the providers are up and ready, allowing us to monitor this file creation in the boot scripts for upstart/systemd. With a few tweaks in the boot scripts, this would fix points #1 and #2 in the list.

Regarding #3, SSSD monitors the status of the network interfaces using libnl, triggering an internal restart of the services when a change happens. It don't think this is a problem by itself, rather than a bad combination with #4