Public bug reported: http://bazaar.launchpad.net/~ubuntu- desktop/lightdm/ubuntu/view/head:/src/session-child.c#L509
Lightdm calls rename() on the xsession-errors file. In our deployment many of our users have this file as a symlink. Their homedirectory is on NFS and it will quickly fill their quota with bogus messages. You should lstat() the file first. If it is a symlink, you can make a new file at the destination and update the link. I can supply a patch if you wish. antarus@goats5:/etc/X11/Xsession.d$ apt-cache policy lightdm lightdm: Installed: 1.2.1-0ubuntu1.1 Candidate: 1.2.1-0ubuntu1.1 Version table: DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS" DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 -A ** Affects: lightdm (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1108518 Title: lightdm should not rename() .xsession-errors, as it may be a symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1108518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs