Bug 1730586
Summary: | autofs does not mount NFS homedirs when using sssd with for identity and authentication (patch with fix included) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bas Hulsken <bhulsken> |
Component: | sssd | Assignee: | Michal Zidek <mzidek> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 30 | CC: | abokovoy, jhrozek, lslebodn, mzidek, pbrezina, rharwood, sbose, ssorce |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-26 16:48:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bas Hulsken
2019-07-17 07:41:18 UTC
https://pagure.io/SSSD/sssd/issue/3467 should have fixed the issue of not detecting online state when starting before network goes online. You don't need to modify sssd.service file -- it is possible to create a local override instead: # cat /etc/systemd/system/sssd.service.d/network.conf [Unit] Before=systemd-user-sessions.service nss-user-lookup.target network-online.target Wants=nss-user-lookup.target network-online.target Even though SSSD starts in offline mode, it will try to connect to the server on first authentication request. Finally, there is no full-featured authconfig in Fedora 30. Some options you provided are not supported by authselect's compatibility layer. There's also a long-standing issue where sssd returns the same error code to autofs for "I don't know the maps (yet)" and "There are no maps". This is something we'll fix in the upcoming weeks, for one of the next RHEL releases. It might be nice to see sssd logs to rule out that #3467 is fixed properly and sssd starts with the 'delayed' online detection. apologies for the slow reply.. vacation. @Alexander, thanks! Your suggestion for override works for me, and saves the hassle of updating sssd.service after every upgrade. @Jakun: I'm running sssd-2.2.0-3.fc30.x86_64, I am not sure whether that contains the fix for #3467 (it went in 4 months ago, so probably it has, but the rpm changelog does not explicitly mention it). He are the logs for sssd and autofs.. (not very helpful it seems, I can run again with the verbosity/debug level if you can tell me which levels are most helpful) sssd log: -- Reboot -- Jul 30 10:31:26 example.com systemd[1]: Starting System Security Services Daemon... Jul 30 10:32:01 example.com sssd[694]: Starting up Jul 30 10:32:06 example.com sssd[be[implicit_files]][998]: Starting up Jul 30 10:32:06 example.com sssd[be[default]][999]: Starting up Jul 30 10:32:10 example.com sssd[nss][1052]: Starting up Jul 30 10:32:10 example.com sssd[autofs][1054]: Starting up Jul 30 10:32:10 example.com sssd[pam][1053]: Starting up Jul 30 10:32:10 example.com sssd[sudo][1055]: Starting up Jul 30 10:32:15 example.com systemd[1]: Started System Security Services Daemon. Jul 30 10:33:00 example.com sssd[be[default]][999]: Backend is offline Jul 30 10:33:07 example.com sssd[be[default]][999]: Backend is online autofs log: -- Reboot -- Jul 30 10:33:03 example.com systemd[1]: Starting Automounts filesystems on demand... Jul 30 10:34:34 example.com automount[2200]: lookup_read_master: lookup(sss): getautomntent_r: Invalid argument Jul 30 10:34:35 example.com automount[2200]: setautomntent: lookup(sss): setautomntent: No such file or directory Jul 30 10:34:35 example.com systemd[1]: Started Automounts filesystems on demand. This message is a reminder that Fedora 30 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '30'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 30 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 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 please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |