DBUS: at_console, no fallback.

Richard Hughes hughsient at gmail.com
Sun Jan 8 13:59:19 PST 2006


When debugging a problem for a user using gentoo
(http://bugzilla.gnome.org/show_bug.cgi?id=326226) it became obvious
that there was no fallback to root for when at_console was not
compiled-in/enabled. This made testing very difficult, as the DBUS
methods failed even running as the root user!

I've added the root-user case (so root can always do Shutdown() and
UnMount() and stuff) and also re-factored the checks making this easier
to update in the future.

Please review.

Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-at_console-fallback.patch
Type: text/x-patch
Size: 2663 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060108/c4f4a63c/hal-at_console-fallback.bin


More information about the hal mailing list