After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617317 - gdm default session entries file needs gpm tweak
gdm default session entries file needs gpm tweak
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-30 19:58 UTC by Ray Strode [halfline]
Modified: 2010-04-30 20:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tiny config tweak (938 bytes, patch)
2010-04-30 19:59 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2010-04-30 19:58:17 UTC
(from downstream report)
Description of problem:
In previous Fedora/RHEL there has always been a 60 wait after receiving an ACPI
shutdown request if the user is logged into a session. If at the GDM prompt
with no one logged in, it would shutdown immediately.

In current Fedora/RHEL-6 the 60 second delay appears to have propagated itself
to the GDM login screen too.

This is a particular problem/annoyance for virtualized guests, because running
'virsh shutdown GUEST'  triggers an ACPI power button event, and instead of
shutting down immediately, it sits around waiting 60 seconds.

IMHO this needs to be reverted to the previous behaviour where there is NO
delay when no users are logged in via GDM.

Version-Release number of selected component (if applicable):
gdm-2.28.2-5.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Boot a guest upto initlevel 5 leaving it at the GDM login screen
2. Run  virsh shutdown $GUEST
3.

Actual results:
Waits 60 seconds before shutting down

Expected results:
Shuts down immediately
Comment 1 Ray Strode [halfline] 2010-04-30 19:59:58 UTC
Created attachment 160006 [details] [review]
tiny config tweak

commit 43da20ee360d1dcda5300f6c2347962fc1706ce5
Author: Ray Strode <rstrode@redhat.com>
Date:   Fri Apr 30 15:56:46 2010 -0400

    Tweak power manager policy to shutdown immediately when hitting power
    
    Previously, it would show a dialog with a 60 second timeout.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=617317