Confirmed. The problem is when you authenticate in a greeter it starts a session to do the authentication with PAM. The cleanup is being called for this session (which is thrown away when authentication is complete). This is not the correct behaviour.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1374379 Title: lightdm's session-cleanup-script get's called on unlock Status in Light Display Manager: Triaged Status in “light-locker” package in Ubuntu: New Status in “lightdm” package in Ubuntu: Triaged Bug description: When I unlock the screen after it has been locked by light locker the session-cleanup-script of lightdm get's called. I used to use the session-cleanup-script to umount some volumes on logout. I don't want to umount the volumes on lock or unlock. Maybe this is related to lightdm's #1249515 and might actually be a bug in lightdm!? ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: light-locker 1.4.0-0ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6 Uname: Linux 3.13.0-36-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.4 Architecture: amd64 CurrentDesktop: XFCE Date: Fri Sep 26 12:02:17 2014 InstallationDate: Installed on 2014-08-09 (47 days ago) InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723) SourcePackage: light-locker UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1374379/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp