Public bug reported:

The sssd crashed recently (probably due to lack of free memory, other
process was killed by OOM same time). However automated respawn was not
performed because it was not configured in systemd unit file.

$ lsb_release -rd
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
brudas@hqv074:~$ apt-cache policy sssd

$ apt-cache policy sssd
sssd:
  Installed: 1.13.4-1ubuntu1.12
  Candidate: 1.13.4-1ubuntu1.12
  Version table:
 *** 1.13.4-1ubuntu1.12 500
        500 http://usa.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     1.13.4-1ubuntu1.10 500
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
Packages
     1.13.4-1ubuntu1 500
        500 http://usa.archive.ubuntu.com/ubuntu xenial/main amd64 Packages


$ cat /lib/systemd/system/sssd.service 
[Unit]
Description=System Security Services Daemon
# SSSD must be running before we permit user sessions
Before=systemd-user-sessions.service nss-user-lookup.target autofs.service
Wants=nss-user-lookup.target

[Service]
ExecStart=/usr/sbin/sssd -i -f
Type=notify
NotifyAccess=main
PIDFile=/var/run/sssd.pid

[Install]
WantedBy=multi-user.target


Expected behavior: systemd attempts to restart the service

Thank you.

** Affects: sssd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821927

Title:
  Systemd do not respawn sssd on failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1821927/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to