<div dir="ltr">Chengwei,<div><br><div>Thanks, I will try to find the error place in systemd.<br><div class="gmail_extra"><br></div><div class="gmail_extra">yimao</div><div class="gmail_extra"><br><div class="gmail_quote">2013/11/1 Yang Chengwei <span dir="ltr"><<a href="mailto:chengwei.yang@intel.com" target="_blank">chengwei.yang@intel.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Nov 01, 2013 at 01:24:14AM +0800, yimao wrote:<br>
> Hi,all.<br>
> I use Fedora 19 try to write some selinux policy based on MDP.<br>
> There's something wrong when the system starts , and I found this error<br>
> message<br>
> "systemd:Failed to open private bus connection:Failed to connect to socket /var<br>
> /run/dbus/system_bus_socket:No such file or directory"<br>
><br>
> I want to know who and when create this socket file to find what's wrong with<br>
> my policy. I had some tries but nothing found.<br>
> can someone give me some advice.<br>
<br>
If I remember correctly, systemd it will first try to open private bus<br>
connect to dbus, however at that point dbus isn't start. Giving that<br>
dbus is also a systemd unit, so it will be started by systemd. systemd<br>
then registered a hook which will be invoked if dbus unit started. And<br>
in the hook systemd will open private bus connect again. And also<br>
register a service "org.freedesktop.systemd1", so systemctl command can<br>
interact with it.<br>
<br>
--<br>
Thanks,<br>
Chengwei<br>
<br>
><br>
> ps:the dbus version is 1.6.8.<br>
><br>
> Thanks.<br>
> yimao<br>
><br>
> •<br>
><br>
<br>
> _______________________________________________<br>
> dbus mailing list<br>
> <a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
<br>
</blockquote></div><br></div></div></div></div>