[lxc-devel] [PATCH] Use container specific domain socket name

Serge Hallyn serge.hallyn at ubuntu.com
Wed Apr 10 18:15:15 UTC 2013


Quoting Christian Seiler (christian at iwakd.de):
> Hi there,
> 
> > Let's say I do
> > 
> > 	sudo lxc-monitor -n r1 -n r2
> > 
> > and now do
> > 
> > 	sudo lxc-start -n r1
> > 
> > How do we know to send the 'started' event to the lxc-monitor, since
> > there was not yet a lxc-start daemon running?
> 
> Just to throw my 2¢ in there - why not use DBus for that? It seems to me
> that DBus has already solved all of the problems that occur here. And
> one wouldn't need to care about multi-threading, because one only talks
> to the DBus daemon itself.

Right, so we'd be using dbus's long-running daemon, so that we don't
need our own.  (which I clarify to point out that they didn't "solve
this problem" :)

I'd actually be ok with this, but Stéphane mentioned he doesn't want
dbus to become a dependency.  It seems to me dbus is pretty much
ubiquitous anyway, but I trust he has use cases where it would be an
undue burden.

-serge




More information about the lxc-devel mailing list