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

yimao yiimao.y at gmail.com
Fri Nov 1 07:09:06 CET 2013


Chengwei,

Thanks, I will try to find the error place in systemd.

yimao

2013/11/1 Yang Chengwei <chengwei.yang at intel.com>

> 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.
>
> --
> Thanks,
> Chengwei
>
> >
> > 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20131101/06f4e065/attachment.html>


More information about the dbus mailing list