Public bug reported:

When a user logged in to the GUI session and she/he request shutdown of
the system a PrepareForShutdown() signal is emitted by logind:

https://www.freedesktop.org/wiki/Software/systemd/inhibit/

Processes holding delay inhibitor locks can start their pre-shutdown
operations and until they finish there is no feedback in a Unity session
for the logged in user that shutdown is successfully requested on
Xenial. On Bionic, the default Gnome 3 session does handle the signal
and logs the user off to GDM, but GDM does not tell that shutdown is
pending and the user may think that she/he can log in again or should to
something to really start the shutdown.

With Ubuntu's default configuration the confusion only lasted up to 5
seconds (default max delay for inhibitor locks), but the next upload of
unattended-upgrades increases the delay up to 30 seconds which is more
than noticeable (LP: #1803137).

Please consider either logging the user off from Unity and stopping GDM
to switch over the the plymouth shutdown screen of at least showing a
notification about the ongoing shutdown.

** Affects: gdm3 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unity (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: gdm3 (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/1803581

Title:
  PrepareForShutdown() is not handled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1803581/+subscriptions

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

Reply via email to