Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58241 - [autofs] 5.1.4-2 package missing /usr/lib/autofs/lookup_sss.so

Attached to Project: Community Packages
Opened by Jeremy Rosengren (jrosengren) - Sunday, 15 April 2018, 19:42 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 02 August 2018, 23:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description: autofs package 5.1.4-2 is missing the /usr/lib/autofs/lookup_sss.so file, which prevents autofs from querying maps through sssd.


Steps to reproduce: I downgraded to autofs 5.1.4-1 and lookup_sss.so was where it should be.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 02 August 2018, 23:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  autofs 5.1.4-3
Comment by Mike Sager (g4c) - Thursday, 19 April 2018, 18:45 GMT
I am experiencing this as well.
Comment by Leonid Isaev (lisaev) - Sunday, 22 April 2018, 08:48 GMT
This happens because autofs should makedepend on sssd and depend on libtirpc... unfortunately these deps were lost in the process of fixing  FS#58103 .
Comment by Jeremy Rosengren (jrosengren) - Saturday, 09 June 2018, 18:29 GMT
What's the best method for resolving this issue?
Comment by Vadim Bulst (vim_lx) - Thursday, 14 June 2018, 05:49 GMT
Hey Lukas,

please recompile autofs with sssd support.
Comment by Gilles Arnaud (gilarno) - Wednesday, 20 June 2018, 08:45 GMT
I'm blocked too.
Comment by Eli Schwartz (eschwartz) - Tuesday, 26 June 2018, 23:35 GMT
autofs currently fails to build lookup_nisplus.so at all, due to missing rpcgen (needs makedepends on rpcsvc-proto), and then fails again to detect nis.h headers due to the conftest not including `pkg-config --cflags libtirpc`
Comment by Mika Fischer (mika.fischer) - Friday, 20 July 2018, 11:25 GMT
How is this still open? What's blocking the trivial fix?
Comment by Pascal Pascher (ppascher) - Thursday, 02 August 2018, 19:28 GMT
Any idea when/if this is going to be fixed? My FreeIPA automounts do not work without lookup_sss.so
Comment by Eli Schwartz (eschwartz) - Thursday, 02 August 2018, 22:30 GMT
Maybe you could help speed up the process by helping to debug the issue I mentioned above?
Comment by loqs (loqs) - Thursday, 02 August 2018, 23:10 GMT
@eschwartz that is mostly fixed by https://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git/commit/?id=4ffced789c9f06c81e48a27a3402ace6bedcf4ab
I took every commit up to head but there was still a configure warning:
configure:5550: WARNING: rpcsvc/nis.h: accepted by the compiler, rejected by the preprocessor!
configure:5550: WARNING: rpcsvc/nis.h: proceeding with the compiler's result
Comment by Eli Schwartz (eschwartz) - Thursday, 02 August 2018, 23:42 GMT
configure:5325: checking rpcsvc/nis.h usability
configure:5325: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -I/usr/include/tirpc -I/usr/include/tirpc -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5325: $? = 0
configure:5325: result: yes
configure:5325: checking rpcsvc/nis.h presence
configure:5325: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from conftest.c:47:
/usr/include/rpcsvc/nis.h:35:10: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
^~~~~~~~~~~
compilation terminated.


Well, no kidding, that's a lousy test. Thank you, autotools! Fortunately, it rightly throws out the second results. This works. I'm cherry-picking the commit and pushing a fixed package shortly, since it cleanly compiles and checkpkg reports no changes other than adding back the missing plugin.

Loading...