Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#32379 - [oblogout] Shutdown/Reboot not working

Attached to Project: Community Packages
Opened by kirill (scorpp) - Friday, 02 November 2012, 00:00 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 15 November 2012, 00:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: after removal of ConsoleKit shutdown and reboot are not working

-- /etc/oblogout.conf
[commands]
shutdown = dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
restart = dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
--

$ dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files



Additional info:
* 0.2-12



Steps to reproduce:
* run oblogout
* click shutdown or reboot button
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Thursday, 15 November 2012, 00:41 GMT
Reason for closing:  Fixed
Comment by Dave Reisner (falconindy) - Friday, 02 November 2012, 00:05 GMT
What did you expect? Your commands rely on ConsoleKit. Removing ConsoleKit makes them.... not work.
Comment by kirill (scorpp) - Friday, 02 November 2012, 00:22 GMT
i expected to have a working package after update
the package installs it's own version of /etc/oblogout.conf which appears to be broken (since package doesn't depend on consolekit any more because the package it gone)
Comment by Alexander F. Rødseth (xyproto) - Friday, 02 November 2012, 14:09 GMT
Hi, I will look at this problem and fix oblogout.conf if needed. Thanks for reporting.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 06 November 2012, 17:23 GMT
Removed all references to consolekit from oblogout.conf.
Comment by Bernhard Koenig (Antunes) - Wednesday, 14 November 2012, 23:55 GMT
  • Field changed: Percent Complete (100% → 0%)
My oblogout.conf currently has the commands "sudo reboot" and "sudo poweroff" which require root privileges, so do not work in oblogout. According to https://wiki.archlinux.org/index.php/Systemd#Power_management the correct commands are "systemctl reboot" and "systemctl poweroff".
Comment by Alexander F. Rødseth (xyproto) - Thursday, 15 November 2012, 00:41 GMT
Thanks Bernhard, updated the package.

Loading...