[Bug 789057] New: systemd suspend causes system to suspend twice on suspend key and suspend on lid switch even though it is configured to "ignore".
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057 https://bugzilla.novell.com/show_bug.cgi?id=789057#c0 Summary: systemd suspend causes system to suspend twice on suspend key and suspend on lid switch even though it is configured to "ignore". Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: seife@novell.slipkontur.de QAContact: qa-bugs@suse.de Found By: Third Party Developer/Partner Blocker: --- After todays update to FACTORY, my Thinkpad X200s suspends twice when hitting Fn-F4. I'm running XFCE with xfce4-power-manager configured to suspend the box on "suspend key". Apparently, systemd now handles this key on its own, thus leading to a double suspend. Additionally, I have configured xfce4-power-manager to ingore the lid switch (just lock the screen), but systemd ignores this and suspends anyway. In case a power management applet is active in the desktop session, systemd needs to keep out of the suspend business. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c
Christian Boltz
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c1
Frederic Crozat
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c2
--- Comment #2 from Stefan Seyfried
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c3
Guido Berhörster
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c4
--- Comment #4 from Guido Berhörster
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c5
Stefan Seyfried
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c6
--- Comment #6 from Guido Berhörster
Maybe we could just wrap xfce4-power-manager in systemd-inhibit? Or is something else handling the power button on desktops?
No, but xfce4-power-manager is a daemon and thus not easily wrapped with systemd-inhibit. Unfortunately xfpm is sort of under-maintained upstream so it's unclear if and when it'll gain native systemd-support. So I think we have to stick with this rather crude hack in xfce4-session, but ultimately the handling by systemd should be disabled by default in openSUSE like it used to be with acpid. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c7
--- Comment #7 from Bernhard Wiedemann
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c8
--- Comment #8 from Stefan Seyfried
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c9
Guido Berhörster
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c10
--- Comment #10 from Stefan Seyfried
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c11
--- Comment #11 from Guido Berhörster
I'll do that, once my inhibit problems (bug #789068) are fixed.
Well, this should fix the problem with systemd-inhibit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c12
--- Comment #12 from Stefan Seyfried
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c13
--- Comment #13 from Guido Berhörster
I'm not allowed anymore to inhibit, so it will probably not work :-)
You'll be able to login without a workaround though, for inhibiting you need the fixed polkit-default-privs from Base:System. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=789057
https://bugzilla.novell.com/show_bug.cgi?id=789057#c14
Stefan Seyfried
participants (1)
-
bugzilla_noreply@novell.com