<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: re: upstart and D-Bus</title>
	<atom:link href="http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/</link>
	<description>Where the urethane hits the pavement</description>
	<lastBuildDate>Mon, 10 Oct 2011 13:34:18 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Patrys</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18790</link>
		<dc:creator>Patrys</dc:creator>
		<pubDate>Wed, 31 Oct 2007 12:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18790</guid>
		<description>No, adding milk as a dependency to a straw makes no sense. And there is little to no benefit of D-Bus using upstart for service activation. These do not need supervising, they are only supposed to start, connect to the bus and serve the request, then they are free to go away. D-Bus services are not permanent services, they are closer to inetd behavior than to SysVinit.</description>
		<content:encoded><![CDATA[<p>No, adding milk as a dependency to a straw makes no sense. And there is little to no benefit of D-Bus using upstart for service activation. These do not need supervising, they are only supposed to start, connect to the bus and serve the request, then they are free to go away. D-Bus services are not permanent services, they are closer to inetd behavior than to SysVinit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott James Remnant</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18789</link>
		<dc:creator>Scott James Remnant</dc:creator>
		<pubDate>Tue, 30 Oct 2007 17:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18789</guid>
		<description>Patrys: that&#039;s what *dependencies* are for.

You may as well ask how do you connect to org.apache.httpd.foo.bar on BSD or Linux distros who don&#039;t ship D-BUS.</description>
		<content:encoded><![CDATA[<p>Patrys: that&#8217;s what *dependencies* are for.</p>
<p>You may as well ask how do you connect to org.apache.httpd.foo.bar on BSD or Linux distros who don&#8217;t ship D-BUS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrys</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18788</link>
		<dc:creator>Patrys</dc:creator>
		<pubDate>Tue, 30 Oct 2007 12:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18788</guid>
		<description>D-Bus needs service activation for efficient resource usage. Stateless providers are supposed to come and go as needed. You don&#039;t ask D-Bus to &quot;start the apache httpd&quot; - you ask it to &quot;connect you to org.apache.httpd.foo.bar&quot; and whether it involves starting any system services or not is not your business.

Now imagine that connecting to &quot;com.example.foo&quot; involves connecting to &quot;org.freedesktop.ServiceManager&quot; which does not exist (think any BSD or Linux distros who don&#039;t ship upstart) and in turn involves calling &quot;org.freedesktop.ServiceManager&quot; which... is a dead loop.

D-Bus is a straw, it&#039;s your job to get yourself a glass.</description>
		<content:encoded><![CDATA[<p>D-Bus needs service activation for efficient resource usage. Stateless providers are supposed to come and go as needed. You don&#8217;t ask D-Bus to &#8220;start the apache httpd&#8221; &#8211; you ask it to &#8220;connect you to org.apache.httpd.foo.bar&#8221; and whether it involves starting any system services or not is not your business.</p>
<p>Now imagine that connecting to &#8220;com.example.foo&#8221; involves connecting to &#8220;org.freedesktop.ServiceManager&#8221; which does not exist (think any BSD or Linux distros who don&#8217;t ship upstart) and in turn involves calling &#8220;org.freedesktop.ServiceManager&#8221; which&#8230; is a dead loop.</p>
<p>D-Bus is a straw, it&#8217;s your job to get yourself a glass.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott James Remnant</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18787</link>
		<dc:creator>Scott James Remnant</dc:creator>
		<pubDate>Tue, 30 Oct 2007 01:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18787</guid>
		<description>On Windows, the way to correct activate services is by communication with the Windows service manager.

On Linux, the correct way should be to communicate to Upstart -- which is a service manager.

I&#039;m not sure what kind of policy you&#039;re referring to?</description>
		<content:encoded><![CDATA[<p>On Windows, the way to correct activate services is by communication with the Windows service manager.</p>
<p>On Linux, the correct way should be to communicate to Upstart &#8212; which is a service manager.</p>
<p>I&#8217;m not sure what kind of policy you&#8217;re referring to?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J5</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18786</link>
		<dc:creator>J5</dc:creator>
		<pubDate>Tue, 30 Oct 2007 01:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18786</guid>
		<description>You guys are splitting it all down the wrong lines.  D-Bus doesn&#039;t enforce policy.  That would be upstart&#039;s job, but it should provide the facilities to discover and activate services in a consistent manner across platforms.</description>
		<content:encoded><![CDATA[<p>You guys are splitting it all down the wrong lines.  D-Bus doesn&#8217;t enforce policy.  That would be upstart&#8217;s job, but it should provide the facilities to discover and activate services in a consistent manner across platforms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott James Remnant</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18785</link>
		<dc:creator>Scott James Remnant</dc:creator>
		<pubDate>Tue, 30 Oct 2007 00:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18785</guid>
		<description>D-BUS is a very good IPC system.

It should not be trying to be a Service Manager *as well*, for many, many reasons.

Upstart is a Service Manager.  It should not try to be an IPC systme, so it uses D-BUS for its IPC needs.

D-BUS should use a Service Manager (&quot;Upstart&quot;) for its service management needs.  Since Upstart uses D-BUS, this means the dependency is as simple as D-BUS making a D-BUS call for service activation.

[ Something like &quot;org.freedesktop.ServiceManager.start(&#039;servicename&#039;) perhaps, if we go the neutral approach ]

That way D-BUS doesn&#039;t need to worry about the immensely difficult problem of service management (which it already currently gets wrong in several ways); it simply asks another D-BUS service to start and stop them when it needs to.</description>
		<content:encoded><![CDATA[<p>D-BUS is a very good IPC system.</p>
<p>It should not be trying to be a Service Manager *as well*, for many, many reasons.</p>
<p>Upstart is a Service Manager.  It should not try to be an IPC systme, so it uses D-BUS for its IPC needs.</p>
<p>D-BUS should use a Service Manager (&#8221;Upstart&#8221;) for its service management needs.  Since Upstart uses D-BUS, this means the dependency is as simple as D-BUS making a D-BUS call for service activation.</p>
<p>[ Something like "org.freedesktop.ServiceManager.start('servicename') perhaps, if we go the neutral approach ]</p>
<p>That way D-BUS doesn&#8217;t need to worry about the immensely difficult problem of service management (which it already currently gets wrong in several ways); it simply asks another D-BUS service to start and stop them when it needs to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18784</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 30 Oct 2007 00:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18784</guid>
		<description>Imho D-Bus is about IPC and not about service monitoring and management. So using upstart as backend for the D-Bus system activation makes a lot of sense. Why add complexity to D-Bus if upstart can solve this much better (and already does it, remember the special semantics of pid #1). Adding service management capabilities to D-Bus directly only duplicates functionality which already exists in upstart. I can&#039;t think of a good reason not to use upstart as an (optional) backend.</description>
		<content:encoded><![CDATA[<p>Imho D-Bus is about IPC and not about service monitoring and management. So using upstart as backend for the D-Bus system activation makes a lot of sense. Why add complexity to D-Bus if upstart can solve this much better (and already does it, remember the special semantics of pid #1). Adding service management capabilities to D-Bus directly only duplicates functionality which already exists in upstart. I can&#8217;t think of a good reason not to use upstart as an (optional) backend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J5</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18783</link>
		<dc:creator>J5</dc:creator>
		<pubDate>Mon, 29 Oct 2007 20:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18783</guid>
		<description>That discussion went down on the D-Bus list a year ago or so and it is not the way to go.  If there is functionality that Upstart needs it should be added to the D-Bus activation services so that everyone gets it and we are not supporting different code paths.</description>
		<content:encoded><![CDATA[<p>That discussion went down on the D-Bus list a year ago or so and it is not the way to go.  If there is functionality that Upstart needs it should be added to the D-Bus activation services so that everyone gets it and we are not supporting different code paths.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Walters</title>
		<link>http://www.j5live.com/2007/10/29/re-upstart-and-d-bus/comment-page-1/#comment-18782</link>
		<dc:creator>Colin Walters</dc:creator>
		<pubDate>Mon, 29 Oct 2007 20:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=412#comment-18782</guid>
		<description>Upstart already has a D-Bus dependency actually; it&#039;s used now for IPC.  The discussion is about *also* going the other way.

In particular to make a decoupled dependency between the system bus activation and Upstart.  So you could still compile D-Bus without support for talking to Upstart.  In fact it could be runtime; if you aren&#039;t running Upstart, then system activation isn&#039;t supported.</description>
		<content:encoded><![CDATA[<p>Upstart already has a D-Bus dependency actually; it&#8217;s used now for IPC.  The discussion is about *also* going the other way.</p>
<p>In particular to make a decoupled dependency between the system bus activation and Upstart.  So you could still compile D-Bus without support for talking to Upstart.  In fact it could be runtime; if you aren&#8217;t running Upstart, then system activation isn&#8217;t supported.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

