On Thu, 2005-02-03 at 16:58 +0100, Ralf Ertzinger wrote: > On Thu, Feb 03, 2005 at 10:25:12AM -0500, Colin Walters wrote: > > > was available. ServiceManager would then recheck its list of pending > > activations and start all services that were now runnable with this > > dependency. Likewise, when a dependency goes away, ServiceManager stops > > all services with that dependency. So dependencies can either be other > > services or they can be sub-components of a service, like "Link". > > OK, since postfix was mentioned earlier as aservice which would need this > (binding to interfaces): changing the postfix config from "listen only > on localhost" (similar to what sendmail does in it's default config) > to "listen on an external network interface" would change it's dependency: > in the first case it does not care about external networks (localhost is > always available), in the second case it does. > > How is this supposed to be managed? Longer term, perhaps Postfix could be modified to provide two services, org.postfix.LocalMTA and org.postfix.MTA, and only org.postfix.MTA depends on org.freedesktop.NetworkManager.Link or whatever.