Bug 2247777 - SSSD will not boot up after restart
Summary: SSSD will not boot up after restart
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit-session-recording
Version: 38
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: jstephen
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/Scribery/cockpit-s...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-03 10:24 UTC by Lukas Zapletal
Modified: 2024-05-31 08:52 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-31 08:52:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lukas Zapletal 2023-11-03 10:24:43 UTC
I installed a fresh Fedora 38, installed Session Recording in Cockpit, enabled All recording and SSSD does not start anymore. The error is: Condition ConditionPathExists=/etc/sssd/sssd.conf was not met. I think previously it was booting up properly.

I reported to Cockpit guys via Slack, I was told to create a bug for the Session Recording plugin so I did:

https://github.com/Scribery/cockpit-session-recording/issues/157

It looks like this might be a bug in the systemd unit file:

"The SSSD unit file should also have ConditionDirectoryNotEmpty=|/etc/sssd/conf.d/"

So leaving a bugreport for you guys.

Reproducible: Always

Steps to Reproduce:
1. Enable Session Recording via plugin as described
2. Sssd will not start anymore
3.

Comment 1 Alexey Tikhonov 2023-11-03 11:00:40 UTC
Hi,

(In reply to Lukas Zapletal from comment #0)
> I installed a fresh Fedora 38, installed Session Recording in Cockpit,
> enabled All recording and SSSD does not start anymore. The error is:
> Condition ConditionPathExists=/etc/sssd/sssd.conf was not met. I think
> previously it was booting up properly.
> 
> I reported to Cockpit guys via Slack, I was told to create a bug for the
> Session Recording plugin so I did:
> 
> https://github.com/Scribery/cockpit-session-recording/issues/157
> 
> It looks like this might be a bug in the systemd unit file:
> 
> "The SSSD unit file should also have
> ConditionDirectoryNotEmpty=|/etc/sssd/conf.d/"

It has:
https://github.com/SSSD/sssd/blob/e217fa8262696d441de2eca9475a8eda87dfc16f/Makefile.am#L97

Could you please attach content of /var/log/sssd/sssd.log (or '/var/log/sssd/*)?
It's better to clean this folder before reboot attempt.

Comment 2 Alexey Tikhonov 2023-11-03 11:02:04 UTC
and a relevant part of "journalctl -xeu sssd.service"

Comment 3 Lukas Zapletal 2023-11-03 12:11:00 UTC
Hmmm interesting indeed:

$ grep Condition /usr/lib/systemd/system/sssd.service
ConditionPathExists=|/etc/sssd/sssd.conf
ConditionDirectoryNotEmpty=|/etc/sssd/conf.d/

$ sudo cat /var/log/sssd/sssd.log | fpaste
Uploading (66.2KiB)...
https://paste.centos.org/view/a656e5f0

# tail -n200 /var/log/sssd/*log | fpaste
Uploading (103.2KiB)...
https://paste.centos.org/view/f858fc3d

# journalctl -xeu sssd.service | fpaste
Uploading (9.6KiB)...
https://paste.centos.org/view/801023ab

One idea - it could have been some syntax error in the snippet, attaching:

# cat /etc/sssd/conf.d/sssd-session-recording.conf | fpaste
Uploading (0.3KiB)...
https://paste.centos.org/view/46c741b1

Comment 4 Alexey Tikhonov 2023-11-03 12:17:43 UTC
> [be[nssfiles]] [dp_module_open_lib] (0x0010): Unable to load module [proxy] with path [/usr/lib64/sssd/libsss_proxy.so]: /usr/lib64/sssd/libsss_proxy.so: cannot open shared object file: No such file or directory

Do you have 'sssd-proxy' installed that provides '/usr/lib64/sssd/libsss_proxy.so'?

Comment 5 Lukas Zapletal 2023-11-03 12:28:08 UTC
I don’t, that fixed the problem. I performed the installation/configuration through cockpit interface, so I guess that should be installed from there.

Thanks for help

Comment 6 Alexey Tikhonov 2023-11-03 12:32:19 UTC
Hi Justin,

can cockpit-session-recording require/install sssd-proxy if its usage configured?

Comment 7 jstephen 2023-11-03 14:05:55 UTC
(In reply to Alexey Tikhonov from comment #6)
> Hi Justin,
> 
> can cockpit-session-recording require/install sssd-proxy if its usage
> configured?

Yes, I will take care of this. Switching component and re-opening this BZ.

Comment 9 Aoife Moloney 2024-05-31 08:52:53 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.