[systemd-devel] Systemd and network devices under LXC?

Lars Kellogg-Stedman lars at oddbit.com
Thu Jan 24 04:58:06 PST 2013


>> It is possible to
>> synthesize these dependencies so that it is not necessary to modify
>> distribution-maintained files?
>
> What do you mean?

So, I have existing distribution scripts that include BindTo
directives as described earlier.  If systemd-udevd is not generating
the correct notifications -- causing these dependencies to fail and
services not to start -- is it possible to either (a) make
systemd-udevd generate the correct information all by itself, or (b)
through simple scripts to generate "fake" information that will make
systemd believe that the subsystem-net-devices-eth0.device dependency
has been met?  I do not want to modify the distribution-maintained
unit files because these changes would probably get tromped on by a
subsequent package update.  I could override the unit files in /etc, I
guess, but I *want* the device dependency there (because what if I
boot an environment where, for example, eth0 is not available)?


More information about the systemd-devel mailing list