On Fri, May 30, 2008 at 3:45 PM, Colin Walters &lt;<a href="mailto:walters@verbum.org">walters@verbum.org</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, May 30, 2008 at 3:38 PM, seth vidal &lt;<a href="mailto:skvidal@fedoraproject.org" target="_blank">skvidal@fedoraproject.org</a>&gt; wrote:<br></div><div class="gmail_quote"><div class="Ih2E3d">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div><br>
</div></div>Simo&#39;s point still holds though. What you&#39;ve described above is a better<br>
reason to have not designed nm around dbus not a reason why we should be<br>
okay with our network services going away when we restart dbus.</blockquote></div><div><br>If you want your operating system to be held together with shell script, duct tape, and ad-hoc use of Unix domain sockets that&#39;s cool, I&#39;d rather have a reliable and stable system.</div>
</div></blockquote><div><br>Let me reply with something a little less antagonistic - it&#39;s just frustrating because everyone sees &quot;Oh another daemon, let me reboot it&quot; and blames application developers, when it&#39;s just too hard of a problem to deal with.<br>
<br>DBus actually shares a lot of similarities with SCTP (<a href="http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol">http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol</a>); it&#39;s a realization that message-oriented (as opposed to stream-oriented) is fundamentally more useful to applications.&nbsp;&nbsp; DBus just happens to be implemented in userspace, but that doesn&#39;t mean it&#39;s just another daemon, any more than TCP stacks that live in userspace in some old operating system designs could just be restarted at any time without any obvious side effects on the system.<br>
<br>Speaking of userspace kernel integration, I&#39;d be pretty surprised if you could reliably stop the fuse service too; given all the discussion about nearly unfixable race condititons in rmmod that have (<a href="http://lwn.net/Articles/31474/">http://lwn.net/Articles/31474/</a>).<br>
<br>Auditing every program and making them able to cleanly support restarts of system services like HAL, NetworkManager, and PackageKit would be a huge task, for similar reasons because these services build up state. It might sort of work most of the time, but what you *really* do not want is for the system to sometimes break when the user plugs in a USB key when the background package upgrade happened to restart the bus at just the wrong time.<br>
<br><br></div></div>