[lxc-devel] [PATCH] fix systemd lxc-net vs lxc ordering

Martin Pitt martin.pitt at ubuntu.com
Tue Jun 30 14:13:11 UTC 2015


Hey Serge,

Serge Hallyn [2015-06-30 13:45 +0000]:
> Ah!.  I thought After= was an alternative to Wants=.  I see that's not
> the case.

Right: Wants/Requires is soft/hard dependency, After/Before is
ordering. It's split that way as it sometimes makes sense to have one
without the other. man systemd.unit(5) has all the gory details.

> Indeed - I tested this by adding a 20s sleep to lxc-net and some echos
> to the starts of the scripts, and this does do exactly what we want.
> 
> I'll send a new patch - thanks.

Yay!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the lxc-devel mailing list