powerbtn.sh conflicts with logind
Bug #1201180 reported by
Marco Trevisan (Treviño)
This bug affects 49 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpid (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
gnome-session (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
kde-workspace (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
systemd (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
systemd-shim (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
In saucy the PC powers down as soon as I press the power button, it seems that systemd is calling "poweroff", but I'm not sure if it's doing that in response of some other event (i.e. as callback of a dbus call):
root 4998 0.0 0.0 177932 2104 ? Sl 20:41 0:00 /usr/lib/
root 5012 0.0 0.0 4440 624 ? S 20:41 0:00 \_ sh -c /sbin/poweroff
root 5013 0.0 0.0 4440 628 ? S 20:41 0:00 \_ /bin/sh /sbin/shutdown -h -P now
In any case the caller or systemd itself should be aware that there's a session-manager running and that it shouldn't actually directly power off the system then.
Changed in systemd-shim (Ubuntu): | |
status: | New → Invalid |
Changed in systemd (Ubuntu): | |
status: | New → Triaged |
milestone: | none → ubuntu-13.07 |
Changed in systemd-shim (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
Changed in systemd-shim (Ubuntu): | |
assignee: | Martin Pitt (pitti) → nobody |
Changed in systemd (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
Changed in systemd (Ubuntu): | |
status: | Triaged → In Progress |
Changed in gnome-session (Ubuntu): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu): | |
importance: | Undecided → Medium |
Changed in kde-workspace (Ubuntu): | |
importance: | Undecided → Medium |
Changed in systemd-shim (Ubuntu): | |
importance: | Undecided → Medium |
Changed in kde-workspace (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in acpid (Ubuntu): | |
importance: | Undecided → Medium |
Changed in acpid (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
This is an issue between logind and gnome-session. Once systemd-shim gets the instruction to shutdown, it shuts down.