Summary: | net-fs/autofs - automagic dependency on sys-auth/sssd | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Krzysztof Nowicki <krissn> |
Component: | Current packages | Assignee: | Yixun Lan <dlan> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bugzilla, christo.kotsi, net-fs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 540540 | ||
Bug Blocks: | |||
Attachments: |
Added sys-auth/sssd as RDEPEND
patch for autofs-5.1.5-r1.ebuild |
Description
Krzysztof Nowicki
2014-11-13 13:40:00 UTC
Created attachment 469308 [details, diff]
Added sys-auth/sssd as RDEPEND
I could not reproduce the problem, however I added sys-auth/sssd as RDEPEND, in case it by others.
(In reply to christos kotsis from comment #1) > Created attachment 469308 [details, diff] [details, diff] > Added sys-auth/sssd as RDEPEND > > I could not reproduce the problem, however I added sys-auth/sssd as RDEPEND, > in case it by others. in case it is needed by others** Comment on attachment 469308 [details, diff] Added sys-auth/sssd as RDEPEND >--- auto-fs-runtime-dep 2017-04-06 03:17:22.693698131 +0300 >+++ auto-fs-runtime-dep-new 2017-04-06 03:25:28.168707905 +0300 >@@ -28,7 +28,9 @@ > REQUIRED_USE="sasl? ( ldap )" > > # currently, sasl code assumes the presence of kerberosV > RDEPEND=">=sys-apps/util-linux-2.20 >+ sys-auth/sssd > dmalloc? ( dev-libs/dmalloc[threads] ) > hesiod? ( net-dns/hesiod ) > ldap? ( >=net-nds/openldap-2.0 Created attachment 580228 [details, diff]
patch for autofs-5.1.5-r1.ebuild
This is still a problem as of today. The attached patch is a bit kludgy but should at least be a usable fix...
The bigger problem here is that the configure script for autofs doesn't seem to have a flag to explicitly enable/disable sssd support (i.e. there is no --with-sssd/--without-sssd that we could control via USE=sssd). The configure script appears to rely *exclusively* on the presence/absence of /usr/{lib64,lib}/sssd/modules/libsss_autofs.so to set its internal HAVE_SSS_AUTOFS={1,0}.
This patch deals with that by introducing an anti-dependency that should prevent libsss_autofs.so from existing when autofs is built with USE=-sssd. I don't like having to introduce a blocker case for this, but it's the least invasive method I can think of to ensure that USE=-sssd actually has the intended effect.
|