Thank you for this bug report!
Can you please confirm which version of Ubuntu you're seeing those
issues on? Looking at the sssd source package, I cannot see any custom
.service file shipped by Ubuntu, but we're utilizing the one from
upstream, that you linked in comment #1.
Especially including those bits:
"""
StartLimitIntervalSec=50s
StartLimitBurst=5
ConditionPathExists=|/etc/sssd/sssd.conf
ConditionDirectoryNotEmpty=|/etc/sssd/conf.d/
"""
Going back in time, I can see that on Ubuntu 22.04 (sssd
2.6.3-1ubuntu3.6) the "StartLimit*" constraints were still missing:
Jammy 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
Wants=nss-user-lookup.target
ConditionPathExists=|/etc/sssd/sssd.conf
ConditionDirectoryNotEmpty=|/etc/sssd/conf.d/
[Service]
Environment=DEBUG_LOGGER=--logger=files
EnvironmentFile=-/etc/default/sssd
ExecStart=/usr/sbin/sssd -i ${DEBUG_LOGGER}
Type=notify
NotifyAccess=main
PIDFile=/run/sssd.pid
CapabilityBoundingSet= CAP_IPC_LOCK CAP_CHOWN CAP_DAC_READ_SEARCH CAP_KILL
CAP_NET_ADMIN CAP_SYS_NICE CAP_FOWNER CAP_>
Restart=on-failure
[Install]
WantedBy=multi-user.target
"""
It might be reasonable to backport the "StartLimitIntervalSec=50s" &
"StartLimitBurst=5" improvements to 22.04 LTS.
Would you be able to adopt the bug description with more details (especially a
reproducer/test-case), using the SRU template?
https://documentation.ubuntu.com/sru/en/latest/reference/bug-template/
Once we have that in place somebody could start working on a small
patch, adding the two lines to the sssd.service file.
** Also affects: sssd (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: sssd (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: sssd (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: sssd (Ubuntu Jammy)
Status: New => Triaged
** Changed in: sssd (Ubuntu)
Status: New => Fix Released
** Changed in: sssd (Ubuntu Noble)
Status: New => Fix Released
** Changed in: sssd (Ubuntu Focal)
Status: New => Triaged
** Tags added: server-triage-discuss
** No longer affects: sssd (Ubuntu Focal)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122722
Title:
SSSD downstream systemd service unit causes a boot loop in certain
circumstances
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/2122722/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs