Bug 128103
| Summary: | autofs doesn't start when loading maps from LDAP after upgrade to FC2 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Juan M. Cataldo S. <jcataldo> | ||||||
| Component: | autofs | Assignee: | Chris Feist <cfeist> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 2 | CC: | jmoyer, k.georgiou, mattdm, vonbrand | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | FC4 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2005-10-11 20:53:58 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Juan M. Cataldo S.
2004-07-17 19:19:07 UTC
Created attachment 102005 [details]
Debugging output from slapd -d 4 when doing /etc/init.d/autofs start on the client
Other tests we have run: * Force-install autofs' RPM from FC1. It worked perfectly (the bug is not present). * Change LDAP entries format from automount to nis. The problem persists. Everything looks ok, this is indeed quite puzzling. Could you please re-run your test with the --debug option? You can set this in /etc/sysconfig/autofs under DAEMONOPTIONS. -Jeff This is what I get in the logfile: -------------------------------------------------------------- Jul 19 21:57:00 manutara automount[1241]: starting automounter version 4.1.2, path = /home, maptype = ldap, mapname = //<LDAP-SERVER>/ou=auto.home,<BASEDN> Jul 19 21:57:00 manutara autofs: automount startup succeeded Jul 19 21:57:00 manutara automount[1241]: using kernel protocol version 3.00 Jul 19 21:57:00 manutara automount[1241]: using timeout 60 seconds; freq 15 secs Jul 19 21:57:00 manutara automount[1241]: lookup(ldap): query failed for (&(objectclass=automount)) Jul 19 21:57:00 manutara automount[1241]: failed to load map, exiting Jul 19 21:57:00 manutara automount[1241]: rm_unwanted: /home -------------------------------------------------------------- This does not include the debug output. Could you add an entry to /etc/syslog.conf that looks as follows: *.* /var/log/debug Then, send a HUP signal to syslogd: # killall -HUP syslogd Rerun your tests and you should find much more verbose output in /var/log/debug. Thanks! Created attachment 102073 [details]
Debugging output from automount when it tries to start
Here is the output.
Please note that when running manually a
ldapsearch -x -b 'ou=auto.home,<BASEDN>' '(&(objectclass=automount))'
I do get results on the form:
# jcataldo, <BASE, DN>
dn: cn=jcataldo,ou=auto.home,<BASEDN>
objectClass: automount
cn: jcataldo
automountInformation: trauco:/export/staff/jcataldo
But the automount seems not to "see" this entries.
Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match. Can you try with latest autofs, autofs-4.1.4-5 (Fedora Core 4)? Several LDAP issues have been resolved since FC2. No response from bug opener for several months. Should be fixed in FC4. |