[Bug 712222] New: /etc/init.d/earlyxdm from preload does not correctly check for NFS mounted directories using autofs
https://bugzilla.novell.com/show_bug.cgi?id=712222 https://bugzilla.novell.com/show_bug.cgi?id=712222#c0 Summary: /etc/init.d/earlyxdm from preload does not correctly check for NFS mounted directories using autofs Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mail@philipp-wagner.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 I have a setup where the home dir and other directories are all NFS mounted using autofs (over LDAP). Using that setup, there is no nfs entry in /etc/fstab. Now when I boot the system, the KDE login screen appears and if I immediately enter username and password, the home dir is not yet available and I get an error message from KDE. The problem is the /etc/init.d/earlyxdm script, which shows the login screen earlier than usual (autofs is S10, the same as earlyxdm, xdm itself is S11). The earlyxdm init script tries to prevent that from happening by checking for NFS mounted dirs in the check_nfs() function and doing nothing in that case (the KDE login manager will then be started after autofs and everything is fine). Now, the check in /etc/init.d/earlyxdm only looks for NFS mounts in fstab, not in autofs and doesn't detect the NFS mounted home dir that way, thus resulting in the problem. I don't know the best way to fix it, possibly take the safe route only look if autofs is enabled and disable earlyxdm then? Workaround: chkconfig earlyxdm off Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=712222
https://bugzilla.novell.com/show_bug.cgi?id=712222#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=712222
https://bugzilla.novell.com/show_bug.cgi?id=712222#c1
Stephan Kulow
participants (1)
-
bugzilla_noreply@novell.com