#3298 Socket activation of SSSD doesn't work and leads to chaos
Closed: Fixed 2 years ago Opened 3 years ago by stricumu.

I tried installing sssd 1.15.0-2 in Debian Stretch (packages from sid), which uses socket activation. 1.14.2 without socket activation works fine, but with socket activation - systemd is not happy at all about lots of services. Starting up a basic image can take 5 minutes. Logging in with root on console on a local-only machine can take a few minutes.
Examples:

Feb  3 09:16:29 test-vm systemd[1]: Failed to subscribe to NameOwnerChanged signal for 'org.freedesktop.Accounts': Connection timed out
Feb  3 09:16:29 test-vm systemd[1]: Failed to register name: Connection timed out
Feb  3 09:16:29 test-vm systemd[1]: Failed to set up API bus: Connection timed out
Feb  3 09:16:30 test-vm systemd[1]: Failed to register Manager vtable: File exists
...
Feb  3 09:21:30 test-vm dbus[659]: [system] Failed to activate service 'org.freedesktop.ColorManager': timed out
Feb  3 09:21:30 test-vm dbus[659]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb  3 09:21:30 test-vm systemd-logind[1040]: Failed to enable subscription: Failed to activate service 'org.freedesktop.systemd1': timed out
Feb  3 09:21:30 test-vm systemd-logind[1040]: Failed to fully start up daemon: Connection timed out
Feb  3 09:21:30 test-vm systemd[1]: Failed to start Login Service.

fidencio verified the problem both under Debian Stretch and some version of Fedora.

(Re)moving /etc/systemd/system/sssd.service.wants/sssd-.socket makes the problems go away.
Replacing all of /lib/systemd/system/sssd
(type=notify) with the ones from 1.14.2 (type=forking) also makes the problems go away.


Fields changed

owner: somebody => fidencio

Fields changed

patch: 0 => 1

PR has been NACK on IRC.

Fields changed

patch: 1 => 0
status: new => assigned

Fields changed

patch: 0 => 1

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.15.1

Fields changed

rhbz: => 0

Metadata Update from @stricumu:
- Issue assigned to fidencio
- Issue set to the milestone: SSSD 1.15.1

3 years ago

Metadata Update from @lslebodn:
- Custom field component reset
- Custom field design_review reset
- Custom field mark reset
- Custom field patch adjusted to on (was: 1)
- Custom field review reset
- Custom field sensitive reset
- Custom field testsupdated reset
- Custom field type reset
- Custom field version reset
- Issue close_status updated to: None

2 years ago

Metadata Update from @lslebodn:
- Custom field design_review reset
- Custom field mark reset
- Custom field review reset
- Custom field sensitive reset
- Custom field testsupdated reset
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata