DBUS: at_console, no fallback.
Richard Hughes
hughsient at gmail.com
Tue Jan 10 11:07:57 PST 2006
On Tue, 2006-01-10 at 13:50 -0500, David Zeuthen wrote:
> On Sun, 2006-01-08 at 21:59 +0000, Richard Hughes wrote:
> > 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.
>
> Good to commit if you change user="root" to user="0". This is because
> some paranoid system administrators rename the user for uid 0 and make a
> dummy user named root.
Thanks, I've made this change, and committed.
On a related note, when should we expect HAL 0.5.6? :-)
Richard.
More information about the hal
mailing list