Public bug reported:

[ Impact ]

Ubuntu Unity reliably takes 90 seconds to log out. This is due to the
user-level gnome-session.service systemd unit not properly terminating
gnome-session on logout. An attempt is made to send SIGTERM to the
process, which gnome-session does not care about.

Instead, gnome-session-quit should be invoked when the systemd unit
shuts down, which acts effectively and immediately.

[ Test Plan ]

Actual behavior:
 1. Log in to a Unity session on Ubuntu Unity 24.04.
 2. Log out of Ubuntu Unity.
 3. Observe that only the wallpaper is shown for 90 seconds prior to the login 
manager showing again.

Expected behavior:
 1. Log in to a Unity session on Ubuntu Unity 24.04.
 2. Log out of Ubuntu Unity.
 3. Observe that logging out takes a few seconds at most, and you are able to 
log back in as the same user, or a different one.

[ Where problems could occur ]

If the gnome-session or gnome-session-quit binaries change the arguments
they accept by default, log in and log out functionality on Unity
sessions are likely to break.

Additionally, if lightdm or systemd changes in a non-reverse-compatible
way, this increases the chance of a user-facing regression.

** Affects: gnome-session (Ubuntu)
     Importance: High
     Assignee: Simon Quigley (tsimonq2)
         Status: Confirmed

** Affects: gnome-session (Ubuntu Noble)
     Importance: High
     Assignee: Simon Quigley (tsimonq2)
         Status: Confirmed

** Summary changed:

- Ubuntu Unity takes 90 seconds to log out
+ [SRU] Ubuntu Unity takes 90 seconds to log out

** Changed in: gnome-session (Ubuntu)
       Status: New => Confirmed

** Changed in: gnome-session (Ubuntu)
   Importance: Undecided => High

** Changed in: gnome-session (Ubuntu)
     Assignee: (unassigned) => Simon Quigley (tsimonq2)

** Also affects: gnome-session (Ubuntu Noble)
   Importance: High
     Assignee: Simon Quigley (tsimonq2)
       Status: Confirmed

** Changed in: gnome-session (Ubuntu Noble)
    Milestone: None => noble-updates

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063383

Title:
  [SRU] Ubuntu Unity takes 90 seconds to log out

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/2063383/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to