[systemd-devel] Device units and LXC

Richard Weinberger richard at nod.at
Sat May 24 06:19:39 PDT 2014


Hi!

As of my understanding of systemd, device units depend hard udev.
Units like network at .service contain lines like "BindsTo=sys-subsystem-net-devices-%i.device"
Within a Linux container this is a problem because there is no udev.
There systemd never receives an event for this device and the device unit never shows up.

I'm wondering what we can do to improve the situation.
At least for Ethernet devices systemd could just use sysfs to find out
whether the device is present or not.

What do you think?

Thanks,
//richard


More information about the systemd-devel mailing list