Red Hat Bugzilla – Bug 145638
autofs doesn't pick up ldap based maps after firstboot.
Last modified: 2007-11-30 17:10:58 EST
Description of problem:
Once installed nfs mounted home directories are unavailable until the autofs
service is restarted or the PC is rebooted. autofs maps (auto.master, auto.home
etc) are distributed via ldap and autofs can't see them after ldap has been
configured in firstboot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Configure home directories to be NFS mounted and distribute maps via ldap
2.Install PC with FC3, allow it to reboot into firstboot and configure user
information via ldap
3. Follow installation until you have a login screen.
4. Attempt to login
login fails, can't find home directory
you ought to be able to login.
logging in as root and doing ls /home/user fails, however restarting autofs or
rebooting the PC brings everything back.
Presumably something ought to give autofs a kick once ldap has been configured.
This is a bug already reported in bug 67753. The basic problem is that autofs
is started before ldap instead of afterwards in the standard startups.
Stephen, but the reporter is stating here that rebooting the PC works.
If the bug 67753 would still apply reboot shouldn't help.
This is really strange as autofs is restarted as part of the firstboot
configuration after the settings are saved.
This was fixed already in FC3.
Could you please try FC4 if it helps?
Also with enabled or permissive SELinux there should appear 'kernel: SELinux:
initialized (dev autofs, type autofs), uses genfs_contexts' in the
/var/log/messages indicating that autofs has been restarted.
No response from reporter.