Public bug reported:
If a user is over quota, or if the home directory disk is full, they get
logged out straight after logging in, when the home directory is on NFS.
No information is presented to the user that would let them know the
problem.
This is because of an error in the way that lightdm writes to the
~/.Xauthority file in src/x-authority.c.
It does check that each write() succeeds, but in the NFS case, the data
isn't actually written by the client until fsync() is called; the status
of that system call isn't checked so the quota problem is undetected.
Calling fsync() is not necessary; the effect of committing the data to
disk is implied by close(), which is done on the next line anyway.
Ubuntu 14.04.5 LTS
lightdm 1.10.6-0ubuntu1
** Affects: lightdm (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "lightdm-check-close-status.patch"
https://bugs.launchpad.net/bugs/1740406/+attachment/5028428/+files/lightdm-check-close-status.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1740406
Title:
Login fails with no error message when NFS home directory is over
quota
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1740406/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs