sssd caches credentials. If network gets unplugged, then e.g. NetworkManager shuts down net services and sssd, so the cached credential logins will fail. Reproducible: Always
make 'need' needs to be replaced by 'after' ?
'after' will not work because you really need network when you start sssd and the init script must force the network to come up if it is not enabled by the user.
I just ran into this bug, but found it was due to an old version of the sssd script in my system. I can confirm that the problem was resolved by updating the script using # emerge sssd # etc-update Can this bug be closed?
I think I must have been misled when I thought I had disabled the network, but my laptop reconnected while I was testing. On reinstalling sssd and running env-update, I just get the sssd script from src/sysv/gentoo/sssd, which still contains netmount. If I copy the one in /usr/portage/sys-auth/sssd/files/sssd (which does not have netmount) everything works fine for me. So sorry for the noise, but this bug needs to be left open.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e446ceef146a87ec68f2629ea69674a8393dc43 commit 1e446ceef146a87ec68f2629ea69674a8393dc43 Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2023-09-06 08:29:13 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2023-09-06 08:29:13 +0000 sys-auth/sssd: add 2.9.1 Closes: https://bugs.gentoo.org/499578 Closes: https://bugs.gentoo.org/542324 Closes: https://bugs.gentoo.org/592402 Closes: https://bugs.gentoo.org/640760 Closes: https://bugs.gentoo.org/752978 Closes: https://bugs.gentoo.org/878177 Closes: https://bugs.gentoo.org/880097 Closes: https://bugs.gentoo.org/904280 Closes: https://bugs.gentoo.org/906292 Closes: https://github.com/gentoo/gentoo/pull/32466 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> sys-auth/sssd/Manifest | 1 + .../sssd/files/sssd-2.8.2-krb5_pw_locked.patch | 12 + ...ept-krb5-1.21-for-building-the-PAC-plugin.patch | 31 ++ ...9.1-certmap-fix-partial-string-comparison.patch | 87 ++++++ .../sssd-2.9.1-conditional-python-install.patch | 19 ++ ...-cert-show-and-cert-eval-rule-as-non-root.patch | 39 +++ sys-auth/sssd/metadata.xml | 10 + sys-auth/sssd/sssd-2.9.1.ebuild | 330 +++++++++++++++++++++ 8 files changed, 529 insertions(+)