Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499578 - sys-auth/sssd-1.9.6-r1 - init script should not set `need netmount'
Summary: sys-auth/sssd-1.9.6-r1 - init script should not set `need netmount'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 12:36 UTC by Jaakko Perttilä
Modified: 2023-09-06 08:29 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaakko Perttilä 2014-01-28 12:36:14 UTC
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
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2014-05-16 19:38:00 UTC
make 'need' needs to  be replaced by 'after' ?
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2014-05-26 14:42:49 UTC
'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.
Comment 3 Adrian 2017-02-23 03:19:14 UTC
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?
Comment 4 Adrian 2017-02-23 03:56:40 UTC
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.
Comment 5 Larry the Git Cow gentoo-dev 2023-09-06 08:29:24 UTC
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(+)