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

Tomasz Torcz tomek at pipebreaker.pl
Thu Jan 24 00:23:16 PST 2013


On Thu, Jan 24, 2013 at 12:29:41AM -0500, Lars Kellogg-Stedman wrote:
>   BindsTo=sys-subsystem-net-devices-eth0.device
> 
> Systemd (197) does not appear to be aware of this interface, and
> ultimately gives up with the following error:
> 
>   Timed out waiting for device sys-subsystem-net-devices-eth0.device.
> This is what udevadm says about the interface:
> 
>   # udevadm info /sys/class/net/eth0
>   P: /devices/virtual/net/eth0
>   E: DEVPATH=/devices/virtual/net/eth0
>   E: IFINDEX=35
>   E: INTERFACE=eth0
>   E: SUBSYSTEM=net

  What's missing is TAG=systemd, this will make .device in systemd. 
This tag should be applied by 99-systemd.rules in udev rules directory.

-- 
Tomasz Torcz                 "God, root, what's the difference?"
xmpp: zdzichubg at chrome.pl         "God is more forgiving."



More information about the systemd-devel mailing list