where create the socket file "/var/run/dbus/system_bus_socket"

Yang Chengwei chengwei.yang at intel.com
Fri Nov 1 05:25:49 CET 2013

On Fri, Nov 01, 2013 at 01:24:14AM +0800, yimao wrote:
> Hi,all.
> I use Fedora 19  try to write some selinux policy based on MDP.
> There's something wrong when the system starts , and I found this error
> message 
> "systemd:Failed to open private bus connection:Failed to connect to socket /var
> /run/dbus/system_bus_socket:No such file or directory"
> I want to know who and when create this socket file to find what's wrong with
> my policy. I had some tries but nothing found.
> can someone give me some advice.

If I remember correctly, systemd it will first try to open private bus
connect to dbus, however at that point dbus isn't start. Giving that
dbus is also a systemd unit, so it will be started by systemd. systemd
then registered a hook which will be invoked if dbus unit started. And
in the hook systemd will open private bus connect again. And also
register a service "org.freedesktop.systemd1", so systemctl command can
interact with it.


> ps:the dbus version is 1.6.8.
> Thanks.
> yimao

> _______________________________________________
> 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/20131101/f55db9b7/attachment.pgp>

More information about the dbus mailing list