You are not logged in.

#1 2011-09-02 13:05:59

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Initscript bug? autofs - NIS - KDE - /home on NFS-shares

I configured a small workgroup to work with NIS to distribute logins.
I use autofs (--timeout 60) to mount the correspondent /home directory for the user that logs on.
I use KDE 4.7 as DE (No testing repos enabled).

Everything works fine except for one little annoyance:
When my users log in their home directory is mounted from the fileserver by the autofs daemon. Kde starts reasonably fast and they can work. But when they try to shut down the computer directly from KDE, the shutdown procedure hangs infinitely when the message 'unmounting filesystems' is displayed. A few lines up there is a message saying "/home/user is busy".

When using 'logout' from KDE instead and then 'shutdown' from the KDM-Dialog that comes up after the logout, the shutdown works as intended.

I played around with rc.conf for a while, guessing there is a special order for autofs to unmount the /home directories properly. But I can't get it to work. I guess when the unmount should take place KDE is still using the home directory so that it can't be unmounted properly.

Has anyone experienced that or is the initscript at fault when shutting the filesystem down?

Harvey


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

Board footer

Powered by FluxBB