On Wednesday, September 10th, 2025 at 3:42 AM, Alexey Tikhonov via sssd-users
<sssd-users@lists.fedorahosted.org> wrote:
> On Tue, Sep 9, 2025 at 8:59 PM Kodiak Firesmith via sssd-users
> <sssd-users@lists.fedorahosted.org> wrote:
>
>> Hi Folks,
>> I've observed a few times now that if anything causes sssd.service to fail
>> to start at boot time that at least on Ubuntu, the system will be stuck in
>> an infinite service restart loop during boot-up, rendering it largely
>> inoperable.
>
> Is this because of
> ```
> Before=systemd-user-sessions.service nss-user-lookup.target
> ...
> Restart=on-abnormal
> ```
> ?
>
>> I'm inclined to drop in a systemd override to allow sssd.service to fail
>> more gracefully during boot and not prevent the OS from continuing to load,
>> but I wanted to check in with the SSSD mindtrust about this to see if it's
>> specifically intentional that broken sssd.service should break boot-up
>> (again, at least on Ubuntu).
>
> Is it the same as upstream?
> https://github.com/SSSD/sssd/blob/master/src/sysv/systemd/sssd.service.in
Thank you for the reply!
I pulled down the Canonical source package and yep - looks like it differs
quite a bit. I'll file a bug with Canonical about it since it looks like the
upstream service would not fail the same way.
[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
[Service]
Environment=DEBUG_LOGGER=--logger=files
EnvironmentFile=-@environment_file@
ExecStart=@sbindir@/sssd -i ${DEBUG_LOGGER}
Type=notify
NotifyAccess=main
PIDFile=@pidpath@/sssd.pid
Restart=on-failure
[Install]
WantedBy=multi-user.target
--
_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue