[PATCH] [Fix] dbus-daemon will crash due to message rejection

Simon McVittie simon.mcvittie at collabora.co.uk
Mon May 27 03:00:36 PDT 2013


On 25/05/13 11:44, Chengwei Yang wrote:
> The issues caused by the inconsistent way how dbus dispatch the
> activation message to systemd1, if systemd is there, the message created
> by dbus with connection is NULL, so no security checking in fact because
> both systemd and dbus-daemon are running in 'root'. However, if the
> orignal request sent by unprivileged process, the message created by
> dbus will failed to pass security check due to the original connection
> created by unprivileged process.

Thank you for investigating this. This looks a lot like
<https://bugs.freedesktop.org/show_bug.cgi?id=50199>, please discuss
there. I'll try to review your analysis and patch soon.

If systemd activation is important to you, please consider implementing
regression tests for it (see
<https://bugs.freedesktop.org/show_bug.cgi?id=57952>).

Thanks,
    S



More information about the dbus mailing list