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#58101 - [autofs] lookup_ldap.so is not shipped with package

Attached to Project: Community Packages
Opened by Philipp Hanslovsky (hanslovsky) - Wednesday, 04 April 2018, 15:40 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 13 April 2018, 05:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
After recent system update automounting via LDAP does not work anymore. It seems that the issue is that /usr/lib/autofs/lookup_ldap.so is not shipped anymore (cf file list at https://www.archlinux.org/packages/community/x86_64/autofs/)


Additional info:
autofs version: 5.1.4


systemctl status autofs
● autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2018-04-04 11:38:01 EDT; 2s ago
Process: 6740 ExecStart=/usr/bin/automount $OPTIONS --pid-file /run/autofs.pid (code=exited, status=0/SUCCESS)
Main PID: 6742 (automount)
Tasks: 3 (limit: 7372)
Memory: 1.4M
CGroup: /system.slice/autofs.service
└─6742 /usr/bin/automount --verbose --pid-file /run/autofs.pid

Apr 04 11:38:01 saalfelds-ws2 systemd[1]: Starting Automounts filesystems on demand...
Apr 04 11:38:01 saalfelds-ws2 automount[6742]: Starting automounter version 5.1.4, master map auto.master
Apr 04 11:38:01 saalfelds-ws2 automount[6742]: using kernel protocol version 5.02
Apr 04 11:38:01 saalfelds-ws2 automount[6742]: open_lookup:104: cannot open lookup module ldap (/usr/lib/autofs/lookup_ldap.so: cannot open shared object file: No such file or directory)
Apr 04 11:38:01 saalfelds-ws2 automount[6742]: file map /- not found
Apr 04 11:38:01 saalfelds-ws2 automount[6742]: mount_autofs_indirect: failed to read map for /home
Apr 04 11:38:01 saalfelds-ws2 automount[6742]: handle_mounts: mount of /home failed!
Apr 04 11:38:01 saalfelds-ws2 automount[6742]: master_do_mount: failed to startup mount
Apr 04 11:38:01 saalfelds-ws2 automount[6742]: no mounts in table
Apr 04 11:38:01 saalfelds-ws2 systemd[1]: Started Automounts filesystems on demand.



Steps to reproduce:
sudo pacman -Syu
sudo systemctl restart autofs
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Friday, 13 April 2018, 05:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 5.1.4-2.
Comment by Brian BIdulock (bidulock) - Thursday, 05 April 2018, 21:24 GMT
I think that the cause of this is the same as  FS#58103 
Comment by Philipp Hanslovsky (hanslovsky) - Monday, 09 April 2018, 15:27 GMT
I agree. I applied your suggested workaround from  FS#58103  and only then was I able to build lookup_ldap.so for autofs 5.1.4
Comment by Johannes Jordan (FoPref) - Tuesday, 10 April 2018, 20:35 GMT
The patch works for me as well.

Loading...