Hi there everybody,
On our network, we authenticate our users via LDAP and use autofs to mount their home directories. This works fine in Fedora 8. However, in Fedora 10, when the user logs in, it also mounts the home folders of the users that previously logged onto the system as well.
This is what I see when I login as "user1" on Fedora 10
Code:
[user1@workstation etc]$ w
14:27:50 up 6:47, 3 users, load average: 0.24, 0.13, 0.09
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
user1 :0 - 13:32 ?xdm? 4:00 0.10s /usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1 --force-active-vt
user1 pts/2 :0.0 14:13 0.00s 0.28s 0.06s w
[user1@workstation etc]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 10241088 3554760 6686328 35% /
/dev/sda1 104376 47100 57276 46% /boot
tmpfs 483732 76 483656 1% /dev/shm
10.87.0.10:/var/home/users/user1
1465099264 78475264 1386624000 6% /home/user1
10.87.0.10:/var/home/users/user2
1465099264 78475264 1386624000 6% /home/user2
10.87.0.10:/var/home/users/user3
1465099264 78475264 1386624000 6% /home/user3
When I unmount the extraneous volumes, they are remounted within about 5 seconds. If I log out "user1", all volumes are unmounted.
This only happens on Fedora 10 workstations.
I also get these lines in "lsof | grep user1" on the workstations
Code:
gnome-ses 14393 user1 cwd DIR 0,23 1736 38935 /home/user1 (10.87.0.10:/var/home/users/user2)
Note: I am accessing the user1 folder but it seems to look to the NFS resource for user2
I get those lines for any open file on the NFS share.
/etc/auto.master
Code:
/home /etc/auto.home --timeout 300
+auto.master
/etc/auto.home
Code:
* -rw 10.87.0.10:/var/home/users/&
This only happens when I login to Gnome. When I'm in runlevel 3 and log in via text, this doesn't happen.
NFS server:
Fedora 8
kernel-2.6.25.4-10.fc8
Workstation
Fedora 10
kernel-2.6.27.9-159.fc10.i686
If anyone has any insight on the problem, it would be very much appreciated
Thanks!
apotrebka
p.s.: Post also exists at
this page at FedoraForum