On Thu, 2015-10-15 at 00:30 +0200, Michael Biebl wrote:
> Am 15.10.2015 um 00:16 schrieb James Bottomley:
> > Since there doesn't seem to have been any progress on this from the
> > systemd side, and I'm really tired of my email users yelling at me
> > (justifiably since once the systemd-logind service dies, dovecot sasl
> > fails to work and they can't send email), this is the script I came up
> > with to alleviate the problem:
> 
> So are you restarting dbus as well for some reason?

You can't really restart dbus in a systemd system...  However, the
problem seems to be the endpoint stops listening.  systemd-logind is
still running but strace -p shows it no longer responds when something
contacts the end point.  If you restart it, it will listen for a while
before stopping again.

The script simply detects the dbus timeout and restarts the service.

James

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to