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

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


> If udev runs in the container, maybe it should just made working.
>
> What does:
>   udevadm test /sys/class/net/eth0
> say about TAGS=:systemd and such ...

Running this:

  # udevadm test /sys/class/net/eth0 | grep -i systemd

Yields:

  read rules file: /usr/lib/udev/rules.d/99-systemd.rules
  RUN '/usr/lib/systemd/systemd-sysctl
--prefix=/proc/sys/net/ipv4/conf/$name
--prefix=/proc/sys/net/ipv4/neigh/$name
--prefix=/proc/sys/net/ipv6/conf/$name
--prefix=/proc/sys/net/ipv6/neigh/$name'
/usr/lib/udev/rules.d/99-systemd.rules:52
  SYSTEMD_ALIAS=/sys/subsystem/net/devices/eth0
  TAGS=:systemd:
  run: '/usr/lib/systemd/systemd-sysctl
--prefix=/proc/sys/net/ipv4/conf/eth0 --
prefix=/proc/sys/net/ipv4/neigh/eth0
--prefix=/proc/sys/net/ipv6/conf/eth0
--prefix=/proc/sys/net/ipv6/neigh/eth0'


More information about the systemd-devel mailing list