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

Yang Chengwei chengwei.yang at intel.com
Tue May 28 03:12:09 PDT 2013


On Mon, May 27, 2013 at 11:00:36AM +0100, Simon McVittie wrote:
> 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.

See you there.

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

OK, I'll do that.

--
Thanks,
Chengwei

> 
> Thanks,
>     S
> 
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130528/caf4ca35/attachment.pgp>


More information about the dbus mailing list