Comment 6 for bug 471542

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

Confirmed here.

= Steps to reproduce =

On the server:

- Create user1 (uid 1001), user2 (uid 1002) and user3 (uid 1003), with home directory under /home/autofs/

- Install package nfs-kernel-server, configure /etc/exports with:

    /home/autofs *(rw)

On the client:

- Create user1 (uid 1001), user2 (uid 1002) and user3 (uid 1003) with home under /home/autofs/. Notice the uid are consistent with the server.

- Install package autofs5, configure /etc/auto.master with:

    /home/autofs /etc/auto.home

and /home/auto.home with:
    * -fstype=nfs,soft,intr,nosuid nfsserver:/home/autofs/&

(where "nfsserver" is the hostname of the aserver above)

- Reboot (for good measure)

- At the GDM prompt, switch to a VT with Ctrl-Alt-F1, login as a non-autofs user

- Witness all autofs home directory are currently mounted

When we disable the user listing as explained in the bug description, the home directory would not get mounted when GDM started, but they all will as soon as a single user log on.

When testing using a different display manager (xdm), it only mount the user home directory on log in, as expected.