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

Kay Sievers kay at vrfy.org
Thu Jan 24 00:51:21 PST 2013


On Thu, Jan 24, 2013 at 9:23 AM, Tomasz Torcz <tomek at pipebreaker.pl> wrote:
> 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.

Udev just does not run inside containers.

Kay


More information about the systemd-devel mailing list