Michael Horne
2015-Apr-10 10:46 UTC
[CentOS] CentOS 7 auto mounting non authenticated users
Hi, I mentioned this issue in reply to "CentOS 7.1 user login screen can't scroll up/down" but heard nothing. We authenticate using NIS and our home directories are mounted via NFS. Once a user logs into a CentOS7 workstation their username appears in the login screen 'user list'. I have disabled the list but notice that after a reboot running mount -l shows all previously authenticated users home directories are being mounted over NFS again automatically. Is this normal? I have noticed some latency issues with the NFS and assume it is related, can anybody verify if this is a bug or a configuration error? Surely they shouldn't re-mount until the user authenticates again? thanks in advance, Michael
Steve Thompson
2015-Apr-10 12:26 UTC
[CentOS] CentOS 7 auto mounting non authenticated users
On Fri, 10 Apr 2015, Michael Horne wrote:> Once a user logs into a CentOS7 workstation their username appears in the > login screen 'user list'. I have disabled the list but notice that after a > reboot running mount -l shows all previously authenticated users home > directories are being mounted over NFS again automatically.I don't believe that this is directly related to either gdm or CentOS 7: we have the same problem, using kdm and CentOS 6.6. We have over 200 systems and the problem happens on only about 10% of them, but of all of the machines on which it does happen, the machine is used as a workstation (the rest being headless compute servers). I can't see anything obvious that would explain the difference. Steve
Michael Horne
2015-Apr-10 12:42 UTC
[CentOS] CentOS 7 auto mounting non authenticated users
I also have some Fedora workstations that are experiencing the same symptoms. I noticed that the userlist is being pulled from my NIS server (when the connection is down the list does not appear). but I cannot work out why the home directories are automatically mounting at boot. Does anybody have any ideas what is causing the automounts? where I can disable this functionality? logging in as root and running umount /home/each.previously.logged.in.user is a little tedious! Where should I be asking about this if it's not a specific centos issue? surely someone has noticed this in the past and found a solution? Michael On 10/04/15 13:26, Steve Thompson wrote:> On Fri, 10 Apr 2015, Michael Horne wrote: > >> Once a user logs into a CentOS7 workstation their username appears in >> the login screen 'user list'. I have disabled the list but notice that >> after a reboot running mount -l shows all previously authenticated >> users home directories are being mounted over NFS again automatically. > > I don't believe that this is directly related to either gdm or CentOS 7: > we have the same problem, using kdm and CentOS 6.6. We have over 200 > systems and the problem happens on only about 10% of them, but of all of > the machines on which it does happen, the machine is used as a > workstation (the rest being headless compute servers). I can't see > anything obvious that would explain the difference. > > Steve > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >