|
Bugzilla – Full Text Bug Listing |
| Summary: | sssd not enabled after live installation | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Ralf Haferkamp <ralf> |
| Component: | Installation | Assignee: | Ralf Haferkamp <ralf> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | fcrozat, herbert |
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | YaST logs after installation | ||
I have no idea, I assume YaST behavior should not change. What commands are needed to enable the service now? Let's track them from the log (but I think there were called from Service.ycp) Frederic, do you have an idea of what could we done wrong? since sssd is providing systemd service, it should follow the following systemd packaging guidelines :
-sssd systemd service should be installed in /lib/systemd/systemd (and not in /etc/systemd/systemd) and not be flagged as config file
- Add BuildRequires on systemd (for 12.1 or later) +
%{?systemd_requires} to have the needed install dependencies
- use the following macros (you might want to use %suse_version to only use them on 12.1 or later)
%pre
%service_add_pre sssd.service
%post
%service_add_post sssd.service
%preun
%service_del_preun sssd.service
%postun
%service_del_postun sssd.service
if the service is supposed to be enabled at startup, I'll add it to systemd-preset (please confirm this).
Thanks for hinting me at systemd the packaging bugs in sssd. I didn't have time to follow the discussion on the opensuse list recently :(. I'll take a look at those. But I somehow doubt that fixing those will fix the issue that YaST ldap-client has wrt. enabling the service. I'll check that, assigning the bug to myself for now. BTW, sssd is NOT supposed to be enabled automatically after installation, so I think it does not need to be added to systemd-preset. Fixing the above packaging bugs indeed seems to fix the problem with enabling sssd from yast2-ldap-client. SR#88733 contains the fixes. This is an autogenerated message for OBS integration: This bug (724157) was mentioned in https://build.opensuse.org/request/show/88734 Factory / sssd *** Bug 726002 has been marked as a duplicate of this bug. *** This is an autogenerated message for OBS integration: This bug (724157) was mentioned in https://build.opensuse.org/request/show/547139 Factory / sssd |
Created attachment 456587 [details] YaST logs after installation When configuring LDAP authentication during installation of the live cd the sssd service is not enabled after rebooting the installed system: linux-7uiv:~ # systemctl status sssd.service sssd.service - System Security Services Daemon Loaded: loaded (/etc/systemd/system/sssd.service; disabled) Active: inactive (dead) CGroup: name=systemd:/system/sssd.service Is this probably related to the fact that sssd ships with a systemd service file additionally to the init script?