regression with session-cleanup-script triggering without actual logins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
New
|
Undecided
|
Unassigned | ||
lightdm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description:
In Ubuntu 13.10, session-cleanup scripts trigger before a session has started. Simply clicking between users at the login menu triggers the session cleanup script. In my particular configuration this triggers a logout script that runs rsync with the --delete flag. Clicking between users runs the risk of deleting good files rather than doing backups as in prior releases so I can't update all my computers until fixed. The example below replicates and visually shows the effect. While running, the user cannot login until it has completed and depending on what the logout script does it can cause problems.
Configuration to Replicate:
/etc/lightdm/
session-
session-
Version Information:
`lsb_release -rd`
Description: Ubuntu 13.10
Release: 13.10
`apt-cache policy lightdm`
lightdm:
Installed: 1.8.4-0ubuntu1
Candidate: 1.8.4-0ubuntu1
Version table:
*** 1.8.4-0ubuntu1 0
500 http://
500 http://
100 /var/lib/
1.8.2-0ubuntu1 0
500 http://
Log information (while clicking between users at login screen):
`cat /var/log/
[+825.63s] DEBUG: Session pid=8564: Greeter start authentication for nixadm
[+825.63s] DEBUG: Session pid=12697: Sending SIGTERM
[+825.63s] DEBUG: Seat: Setting XDG_SEAT=seat0
[+825.63s] DEBUG: Session: Setting XDG_VTNR=7
[+825.63s] DEBUG: Session pid=29773: Started with service 'lightdm', username 'nixadm'
[+825.63s] DEBUG: Session pid=12697: Terminated with signal 15
[+825.63s] DEBUG: Session: Failed during authentication
[+825.63s] DEBUG: Seat: Session stopped
[+825.64s] DEBUG: Launching process 29780: /usr/bin/
[+835.82s] DEBUG: Process 29780 exited with return value 0
[+835.82s] DEBUG: Seat: Exit status of /usr/bin/
[+835.82s] DEBUG: Session pid=29773: Got 1 message(s) from PAM
[+835.82s] DEBUG: Session pid=8564: Prompt greeter with 1 message(s)
[+836.30s] DEBUG: Session pid=8564: Greeter start authentication for jason
[+836.30s] DEBUG: Session pid=29773: Sending SIGTERM
[+836.30s] DEBUG: Seat: Setting XDG_SEAT=seat0
[+836.30s] DEBUG: Session: Setting XDG_VTNR=7
[+836.31s] DEBUG: Session pid=29790: Started with service 'lightdm', username 'jason'
[+836.31s] DEBUG: Session pid=29773: Terminated with signal 15
[+836.31s] DEBUG: Session: Failed during authentication
[+836.31s] DEBUG: Seat: Session stopped
[+836.32s] DEBUG: Launching process 29797: /usr/bin/
[+846.47s] DEBUG: Process 29797 exited with return value 0
[+846.47s] DEBUG: Seat: Exit status of /usr/bin/
[+846.47s] DEBUG: Session pid=29790: Got 1 message(s) from PAM
[+846.47s] DEBUG: Session pid=8564: Prompt greeter with 1 message(s)
[+846.92s] DEBUG: Session pid=8564: Greeter start authentication for nixadm
[+846.92s] DEBUG: Session pid=29790: Sending SIGTERM
[+846.92s] DEBUG: Seat: Setting XDG_SEAT=seat0
[+846.92s] DEBUG: Session: Setting XDG_VTNR=7
[+846.92s] DEBUG: Session pid=30421: Started with service 'lightdm', username 'nixadm'
[+846.93s] DEBUG: Session pid=29790: Terminated with signal 15
[+846.93s] DEBUG: Session: Failed during authentication
[+846.93s] DEBUG: Seat: Session stopped
[+846.94s] DEBUG: Launching process 30428: /usr/bin/
[+857.08s] DEBUG: Process 30428 exited with return value 0
[+857.08s] DEBUG: Seat: Exit status of /usr/bin/
[+857.08s] DEBUG: Session pid=30421: Got 1 message(s) from PAM
[+857.08s] DEBUG: Session pid=8564: Prompt greeter with 1 message(s)
[+857.60s] DEBUG: Session pid=8564: Greeter start authentication for jason
[+857.60s] DEBUG: Session pid=30421: Sending SIGTERM
[+857.61s] DEBUG: Seat: Setting XDG_SEAT=seat0
[+857.61s] DEBUG: Session: Setting XDG_VTNR=7
[+857.61s] DEBUG: Session pid=30437: Started with service 'lightdm', username 'jason'
[+857.61s] DEBUG: Session pid=30421: Terminated with signal 15
[+857.61s] DEBUG: Session: Failed during authentication
[+857.61s] DEBUG: Seat: Session stopped
[+857.63s] DEBUG: Launching process 30444: /usr/bin/
[+867.77s] DEBUG: Process 30444 exited with return value 0
[+867.77s] DEBUG: Seat: Exit status of /usr/bin/
[+867.77s] DEBUG: Session pid=30437: Got 1 message(s) from PAM
[+867.77s] DEBUG: Session pid=8564: Prompt greeter with 1 message(s)
Changed in lightdm (Ubuntu): | |
status: | Fix Released → Confirmed |
Status changed to 'Confirmed' because the bug affects multiple users.