Bug 704800

Summary: systemd powerdown event not delivered
Product: [openSUSE] openSUSE 12.1 Reporter: Bernhard Wiedemann <bwiedemann>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: werner
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 696902    

Description Bernhard Wiedemann 2011-07-10 05:57:49 UTC
powerdown events are not delivered in GNOME & LXDE booted with systemd

Steps To Reproduce:
have a default Factory GNOME or LXDE install
zypper install systemd-sysvinit
reboot
wait until desktop is booted
press power button

Actual Results:
nothing happens

Expected Results:
there should be a popup to select Shutdown, Reboot, etc.

Reproducible: Always
Comment 1 Greg Kroah-Hartman 2011-07-11 18:16:28 UTC
Not a kernel issue, reassigning.
Comment 2 Dr. Werner Fink 2011-07-14 07:55:36 UTC
I'm not maintainer of systemd
Comment 3 Frederic Crozat 2011-08-02 08:35:59 UTC
before pressing power button, could you check :

systemctl status acpid.service 

I think it isn't enabled (yet) when migration from sysvinit to systemd.
Comment 4 Bernhard Wiedemann 2011-08-03 12:25:41 UTC
because of bug 707418 my Factory/systemd systems now always boots into text console, but there I got
> systemctl status acpid.service
Loaded: loaded (lib/systemd/system/acpid.service)
Active: inactive (dead)
CGroup: ...
Comment 5 Frederic Crozat 2011-08-03 12:57:56 UTC
could you try :

systemctl enable acpid.service

reboot and redo the testcase ?
Comment 6 Bernhard Wiedemann 2011-08-03 16:55:29 UTC
after
systemctl enable acpid.service ; reboot

It shows acpid as active and I can see the acpid process running, but both lxde and gnome just shutdown from the powerdown event while it should have made them popup a dialog. 
But it just works on KDE. Interesting.
Comment 7 Frederic Crozat 2011-08-03 17:03:23 UTC
I don't think change of behaviour for lxde and GNOME is related to systemd.

your systemd bug sounds like a dup of https://bugzilla.novell.com/show_bug.cgi?id=659357
Comment 8 Frederic Crozat 2011-08-22 16:08:00 UTC
marking as dup

*** This bug has been marked as a duplicate of bug 659357 ***