Some odd issues with D-Bus on Solaris

Brian Cameron Brian.Cameron at Sun.COM
Tue Sep 4 17:16:59 PDT 2007


I just recently noticed that on Solaris we were shipping
dbus-daemon-launch-helper with the wrong permissions according to what
the Makefile seems to specify.  It was being set to 0755 with owner root,
group bin.  So it didn't have the setuid bit set.

When we build D-Bus, we call configure with the following

    --with-dbus-user=root

I can see in the configure.in script that the default value is messagebus,
so I'm guessing D-Bus might want the system to have a new user and group of
this name?  Are there any issues with just using root?

So, on my machine I've updated /usr/lib/dbus-daemon-launch-helper so
it has permissions 4750 and is owned by root and group root (the value
that DBUS_USER is set to).

I'm wondering what breaks if Solaris doesn't set ownership and permissions
for this program appropriately.  Is there a test I can run to verify that
things are set up properly?  Also, does the configuration of using root:root
and permissions 4750 make sense?

Thanks,

Brian




More information about the dbus mailing list