Description of problem: systemd-networkd not matching interface inside podman container Version-Release number of selected component (if applicable): 1. systemd 253 (253-6.fc39) 2. systemd 251 (251.11-2.fc37) How reproducible: 100% reproduce on my two host computer: 1. Fedora 37 / podman 4.4.1 2. Ubuntu 22.04.1 / docker ce 20.10.21 Steps to Reproduce: 1. podman build . -t test-fedora 2. podman run -it --rm --privileged=true --name test1 test-fedora 3. open another terminal, run: podman exec -it test1 bash 4. run: networkctl status -a 5. run: systemctl status systemd-networkd Actual results: Link File: n/a Network File: n/a Expected results: Link File: /usr/lib/systemd/network/99-default.link Network File: /etc/systemd/network/51-test-1.network this Expected result come from archlinux container (systemd 253-1), same host. Additional info: Attachment is my docker file, change rawhide to latest is exact same result. `systemctl status systemd-networkd` show the config file is ok.
This is the archlinux container file: (no issue) # syntax=docker/dockerfile:1 FROM archlinux RUN --mount=type=cache,target=/var/cache/pacman \ --mount=type=cache,target=/var/lib/pacman/sync echo \ && env \ && echo -e "\n[options]\nXferCommand = /usr/bin/curl -L -k -C - -f -o %o %u" >> /etc/pacman.conf \ && pacman -Sy --noconfirm \ && pacman -S systemd --noconfirm \ && systemctl enable systemd-networkd \ && systemctl disable systemd-networkd-wait-online RUN echo \ && echo -e "[Match]\nName=*\n[Link]\nRequiredForOnline=no" >/etc/systemd/network/98-all.link \ && echo -e "[Match]\nName=*\n[Network]\nAddress=10.100.200.1" >/etc/systemd/network/51-test-1.network \ && echo -e "[Match]\nMACAddress=3e:f4:f3:ce:1d:81\n[Network]\nAddress=10.100.200.2" >/etc/systemd/network/52-test-2.network \ && echo -e "[Match]\nType=ether\n[Network]\nAddress=10.100.200.3" >/etc/systemd/network/53-test-3.network \ && echo -e "[Match]\nType=loopback\n[Network]\nAddress=10.100.200.4" >/etc/systemd/network/54-test-lo.network \ && echo -e "[Match]\nName=*\n[Network]\ninvalid=option" >/etc/systemd/network/55-test-read.network CMD [ "/lib/systemd/systemd", "--system", "--log-target=console", "--show-status=yes", "--log-color=no", "systemd.journald.forward_to_console=yes" ]
Attachment seems not upload successfull, this is the fedora container: (has issue) # syntax=docker/dockerfile:1 FROM fedora:rawhide RUN --mount=type=cache,id=fedora-rawhide-dnf,target=/var/cache/dnf \ --mount=type=cache,id=fedora-rawhide-dnf-repos,target=/var/lib/dnf/repos echo \ && dnf -y install systemd-networkd \ && systemctl enable systemd-networkd \ && systemctl disable systemd-networkd-wait-online RUN echo \ && echo -e "[Match]\nName=*\n[Link]\nRequiredForOnline=no" >/etc/systemd/network/98-all.link \ && echo -e "[Match]\nName=*\n[Network]\nAddress=10.100.200.1" >/etc/systemd/network/51-test-1.network \ && echo -e "[Match]\nMACAddress=3e:f4:f3:ce:1d:80\n[Network]\nAddress=10.100.200.2" >/etc/systemd/network/52-test-2.network \ && echo -e "[Match]\nType=ether\n[Network]\nAddress=10.100.200.3" >/etc/systemd/network/53-test-3.network \ && echo -e "[Match]\nType=loopback\n[Network]\nAddress=10.100.200.4" >/etc/systemd/network/54-test-lo.network \ && echo -e "[Match]\nName=*\n[Network]\ninvalid=option" >/etc/systemd/network/55-test-read.network CMD [ "/lib/systemd/systemd", "--system", "--log-target=console", "--show-status=yes", "--log-color=no", "systemd.journald.forward_to_console=yes" ]
> 5. run: systemctl status systemd-networkd First of all, do you confirm that the service is really enabled and running? (I hope so, but you did not provide any results about the command.) If so, please enable to generate debugging logs by networkd, by creating the following drop-in config: ``` # /etc/systemd/system/systemd-networkd.service.d/override.conf [Service] Environment=SYSTEMD_LOG_LEVEL=debug ``` Then, please provide the generated logs by e.g. something like the following command: ``` journalctl --no-hostname -b -u systemd-networkd.service ``` Please provide both successful and failure cases (that is, Arch and Fedora). Also, please provide the result of `ip link` and `networkctl status -a` in the container. (You have already provided part of `networkctl status -a`, but please provide the full result.) If necessary, please mask the MAC address or any global addresses, but do not cut any lines. Thank you.
BTW, there is no `Name=` setting in `[Match]` section in .link file. I guess that should be `OrignalName=`, instead.
Hmm? Also, `RequiredForOnline=` is not supported in .link file. That should be in .network file. Please re-check your configs.
The systemd-networkd service is running, because `networkctl` can give some outputs. `journalctl --no-hostname -b -u systemd-networkd.service`: --------------------------------------------------------------------- Apr 08 12:24:38 systemd-networkd[28]: SELinux enabled state cached to: disabled Apr 08 12:24:38 systemd-networkd[28]: Bus bus-api-network: changing state UNSET → OPENING Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Added inotify watch for /run on bus bus-api-network: 2 Apr 08 12:24:38 systemd-networkd[28]: Added inotify watch for /run/dbus on bus bus-api-network: -1 Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Bus bus-api-network: changing state OPENING → WATCH_BIND Apr 08 12:24:38 systemd-networkd[28]: Registering bus object implementation for path=/org/freedesktop/network1 iface=org.freedesktop.network1.Manager Apr 08 12:24:38 systemd-networkd[28]: Registering bus object implementation for path=/org/freedesktop/network1/link iface=org.freedesktop.network1.DHCPServer Apr 08 12:24:38 systemd-networkd[28]: Registering bus object implementation for path=/org/freedesktop/network1/link iface=org.freedesktop.network1.Link Apr 08 12:24:38 systemd-networkd[28]: Registering bus object implementation for path=/org/freedesktop/network1/network iface=org.freedesktop.network1.Network Apr 08 12:24:38 systemd-networkd[28]: Registering bus object implementation for path=/org/freedesktop/LogControl1 iface=org.freedesktop.LogControl1 Apr 08 12:24:38 systemd-networkd[28]: sd-device-monitor(n/a): The udev service seems not to be active, disabling the monitor. Apr 08 12:24:38 systemd-networkd[28]: sd-device-monitor(n/a): Failed to stat PID1's netns, ignoring: No such file or directory Apr 08 12:24:38 systemd-networkd[28]: /etc/systemd/network/51-test-1.network:4: An address '10.100.200.1' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Apr 08 12:24:38 systemd-networkd[28]: /etc/systemd/network/52-test-2.network:4: An address '10.100.200.2' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Apr 08 12:24:38 systemd-networkd[28]: /etc/systemd/network/53-test-3.network:4: An address '10.100.200.3' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Apr 08 12:24:38 systemd-networkd[28]: /etc/systemd/network/54-test-lo.network:4: An address '10.100.200.4' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Apr 08 12:24:38 systemd-networkd[28]: /etc/systemd/network/55-test-read.network:4: Unknown key name 'invalid' in section 'Network', ignoring. Apr 08 12:24:38 systemd-networkd[28]: lo: Saved new link: ifindex=1, iftype=LOOPBACK(772), kind=n/a Apr 08 12:24:38 systemd-networkd[28]: lo: Saved original MTU 65536 (min: 0, max: 4294967295) Apr 08 12:24:38 systemd-networkd[28]: lo: Saved hardware address: 00:00:00:00:00:00 Apr 08 12:24:38 systemd-networkd[28]: lo: Saved IPv6 link-local address generation mode: eui64 Apr 08 12:24:38 systemd-networkd[28]: lo: Flags change: +LOOPBACK +UP +LOWER_UP +RUNNING Apr 08 12:24:38 systemd-networkd[28]: lo: Link UP Apr 08 12:24:38 systemd-networkd[28]: lo: Gained carrier Apr 08 12:24:38 systemd-networkd[28]: lo: link pending udev initialization... Apr 08 12:24:38 systemd-networkd[28]: eth0: Saved new link: ifindex=2, iftype=ETHER(1), kind=veth Apr 08 12:24:38 systemd-networkd[28]: eth0: Saved original MTU 1500 (min: 68, max: 65535) Apr 08 12:24:38 systemd-networkd[28]: eth0: Saved hardware address: 72:7a:4a:7a:69:8c Apr 08 12:24:38 systemd-networkd[28]: eth0: Saved IPv6 link-local address generation mode: eui64 Apr 08 12:24:38 systemd-networkd[28]: eth0: Flags change: +UP +LOWER_UP +RUNNING +MULTICAST +BROADCAST Apr 08 12:24:38 systemd-networkd[28]: eth0: Link UP Apr 08 12:24:38 systemd-networkd[28]: eth0: Gained carrier Apr 08 12:24:38 systemd-networkd[28]: eth0: link pending udev initialization... Apr 08 12:24:38 systemd-networkd[28]: lo: Received new foreign QDisc (configured): handle=0:0, parent=ffff:ffff, kind=noqueue Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign QDisc (configured): handle=0:0, parent=ffff:ffff, kind=noqueue Apr 08 12:24:38 systemd-networkd[28]: lo: Received new foreign address (configured): 127.0.0.1/8 (valid forever, preferred forever), flags: permanent, scope: host Apr 08 12:24:38 systemd-networkd[28]: lo: link_check_ready(): link is in pending state. Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign address (configured): 10.88.0.12/16 (valid forever, preferred forever), flags: permanent, scope: global Apr 08 12:24:38 systemd-networkd[28]: eth0: link_check_ready(): link is in pending state. Apr 08 12:24:38 systemd-networkd[28]: lo: Received new foreign address (configured): ::1/128 (valid forever, preferred forever), flags: permanent, scope: host Apr 08 12:24:38 systemd-networkd[28]: lo: link_check_ready(): link is in pending state. Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign address (configured): fe80::707a:4aff:fe7a:698c/64 (valid forever, preferred forever), flags: tentative,permanent, scope: link Apr 08 12:24:38 systemd-networkd[28]: eth0: link_check_ready(): link is in pending state. Apr 08 12:24:38 systemd-networkd[28]: rtnl: received non-static neighbor, ignoring. Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: n/a, src: n/a, gw: 10.88.0.1, prefsrc: n/a, scope: global, table: main(254), proto: static, type: unicast, nexthop: 0, priority: 100, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: 10.88.0.0/16, src: n/a, gw: n/a, prefsrc: 10.88.0.12, scope: link, table: main(254), proto: kernel, type: unicast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: 10.88.0.12/32, src: n/a, gw: n/a, prefsrc: 10.88.0.12, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: 10.88.255.255/32, src: n/a, gw: n/a, prefsrc: 10.88.0.12, scope: link, table: local(255), proto: kernel, type: broadcast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: lo: Received new foreign route (configured): dst: 127.0.0.0/8, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: lo: Received new foreign route (configured): dst: 127.0.0.1/32, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: lo: Received new foreign route (configured): dst: 127.255.255.255/32, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: link, table: local(255), proto: kernel, type: broadcast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: fe80::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main(254), proto: kernel, type: unicast, nexthop: 0, priority: 256, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: lo: Received new foreign route (configured): dst: ::1/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: ff00::/8, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: multicast, nexthop: 0, priority: 256, flags: n/a Apr 08 12:24:38 systemd-networkd[28]: Remembering foreign routing policy rule (configured): priority: 0, 0.0.0.0/0 -> 0.0.0.0/0, iif: n/a, oif: n/a, table: local(255) Apr 08 12:24:38 systemd-networkd[28]: Remembering foreign routing policy rule (configured): priority: 32766, 0.0.0.0/0 -> 0.0.0.0/0, iif: n/a, oif: n/a, table: main(254) Apr 08 12:24:38 systemd-networkd[28]: Remembering foreign routing policy rule (configured): priority: 32767, 0.0.0.0/0 -> 0.0.0.0/0, iif: n/a, oif: n/a, table: default(253) Apr 08 12:24:38 systemd-networkd[28]: rtnl: received rule message with invalid family 128, ignoring. Apr 08 12:24:38 systemd-networkd[28]: rtnl: received rule message with invalid family 129, ignoring. Apr 08 12:24:38 systemd-networkd[28]: Remembering foreign routing policy rule (configured): priority: 0, ::/0 -> ::/0, iif: n/a, oif: n/a, table: local(255) Apr 08 12:24:38 systemd-networkd[28]: Remembering foreign routing policy rule (configured): priority: 32766, ::/0 -> ::/0, iif: n/a, oif: n/a, table: main(254) Apr 08 12:24:38 systemd-networkd[28]: Enumeration completed Apr 08 12:24:38 systemd-networkd[28]: Got inotify event on bus bus-api-network. Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Added inotify watch for /run on bus bus-api-network: 2 Apr 08 12:24:38 systemd-networkd[28]: Added inotify watch for /run/dbus on bus bus-api-network: -1 Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Got inotify event on bus bus-api-network. Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Added inotify watch for /run on bus bus-api-network: 2 Apr 08 12:24:38 systemd-networkd[28]: Added inotify watch for /run/dbus on bus bus-api-network: -1 Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Got inotify event on bus bus-api-network. Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Added inotify watch for /run on bus bus-api-network: 2 Apr 08 12:24:38 systemd-networkd[28]: Added inotify watch for /run/dbus on bus bus-api-network: -1 Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Got inotify event on bus bus-api-network. Apr 08 12:24:38 systemd-networkd[28]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:24:38 systemd-networkd[28]: Bus bus-api-network: changing state WATCH_BIND → AUTHENTICATING Apr 08 12:24:39 systemd-networkd[28]: Bus bus-api-network: changing state AUTHENTICATING → HELLO Apr 08 12:24:39 systemd-networkd[28]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RequestName cookie=2 reply_cookie=0 signature=su error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.2 path=n/a interface=n/a member=n/a cookie=4294967295 reply_cookie=1 signature=s error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Bus bus-api-network: changing state HELLO → RUNNING Apr 08 12:24:39 systemd-networkd[28]: Got message type=signal sender=org.freedesktop.DBus.Local destination=n/a path=/org/freedesktop/DBus/Local interface=org.freedesktop.DBus.Local member=Connected cookie=4294967295 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Got message type=signal sender=org.freedesktop.DBus destination=:1.2 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=4294967295 reply_cookie=0 signature=s error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Got message type=signal sender=org.freedesktop.DBus destination=:1.2 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=4294967295 reply_cookie=0 signature=s error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.2 path=n/a interface=n/a member=n/a cookie=4294967295 reply_cookie=2 signature=u error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Successfully acquired requested service name. Apr 08 12:24:39 systemd-networkd[28]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.2 path=n/a interface=n/a member=n/a cookie=4294967295 reply_cookie=3 signature= error-name=n/a error-message=n/a Apr 08 12:24:39 systemd-networkd[28]: Match type='signal',sender='org.freedesktop.login1',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep' successfully installed. Apr 08 12:24:40 systemd-networkd[28]: eth0: Received updated foreign address (configured): fe80::707a:4aff:fe7a:698c/64 (valid forever, preferred forever), flags: permanent, scope: link Apr 08 12:24:40 systemd-networkd[28]: eth0: Gained IPv6LL Apr 08 12:24:40 systemd-networkd[28]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_32 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=4 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Apr 08 12:24:40 systemd-networkd[28]: eth0: link_check_ready(): link is in pending state. Apr 08 12:24:40 systemd-networkd[28]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Apr 08 12:24:40 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: fe80::707a:4aff:fe7a:698c/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:25:01 systemd-networkd[28]: Got message type=method_call sender=:1.6 destination=org.freedesktop.network1 path=/org/freedesktop/network1 interface=org.freedesktop.DBus.Properties member=Get cookie=2 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:25:01 systemd-networkd[28]: Sent message type=method_return sender=n/a destination=:1.6 path=n/a interface=n/a member=n/a cookie=6 reply_cookie=2 signature=v error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Got message type=method_call sender=:1.7 destination=org.freedesktop.network1 path=/org/freedesktop/network1 interface=org.freedesktop.DBus.Properties member=Get cookie=2 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Sent message type=method_return sender=n/a destination=:1.7 path=n/a interface=n/a member=n/a cookie=7 reply_cookie=2 signature=v error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Got message type=method_call sender=:1.7 destination=org.freedesktop.network1 path=/org/freedesktop/network1/link/_31 interface=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Sent message type=method_return sender=n/a destination=:1.7 path=n/a interface=n/a member=n/a cookie=8 reply_cookie=3 signature=v error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Got message type=method_call sender=:1.7 destination=org.freedesktop.network1 path=/org/freedesktop/network1/link/_32 interface=org.freedesktop.DBus.Properties member=Get cookie=4 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Sent message type=method_return sender=n/a destination=:1.7 path=n/a interface=n/a member=n/a cookie=9 reply_cookie=4 signature=v error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Got message type=method_call sender=:1.7 destination=org.freedesktop.network1 path=/org/freedesktop/network1/link/_31 interface=org.freedesktop.DBus.Properties member=Get cookie=5 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Sent message type=error sender=n/a destination=:1.7 path=n/a interface=n/a member=n/a cookie=10 reply_cookie=5 signature=s error-name=org.freedesktop.DBus.Error.UnknownProperty error-message=Unknown interface org.freedesktop.network1.DHCPServer or property Leases. Apr 08 12:25:05 systemd-networkd[28]: Got message type=method_call sender=:1.7 destination=org.freedesktop.network1 path=/org/freedesktop/network1/link/_32 interface=org.freedesktop.DBus.Properties member=Get cookie=6 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:25:05 systemd-networkd[28]: Sent message type=error sender=n/a destination=:1.7 path=n/a interface=n/a member=n/a cookie=11 reply_cookie=6 signature=s error-name=org.freedesktop.DBus.Error.UnknownProperty error-message=Unknown interface org.freedesktop.network1.DHCPServer or property Leases. --------------------------------------------------------------------- `ip link`: --------------------------------------------------------------------- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0@if23: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 72:7a:4a:7a:69:8c brd ff:ff:ff:ff:ff:ff link-netnsid 0 --------------------------------------------------------------------- `networkctl status -a`: --------------------------------------------------------------------- ● 1: lo Link File: n/a Network File: n/a State: carrier (pending) Online state: unknown Type: loopback Hardware Address: 00:00:00:00:00:00 MTU: 65536 QDisc: noqueue IPv6 Address Generation Mode: eui64 Number of Queues (Tx/Rx): 1/1 Address: 127.0.0.1 ::1 Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: link pending udev initialization... Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: Received new foreign QDisc (configured): handle=0:0, parent=ffff:ffff, kind=noqueue Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: Received new foreign address (configured): 127.0.0.1/8 (valid forever, preferred forever), flags: permanent, scope: host Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: link_check_ready(): link is in pending state. Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: Received new foreign address (configured): ::1/128 (valid forever, preferred forever), flags: permanent, scope: host Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: link_check_ready(): link is in pending state. Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: Received new foreign route (configured): dst: 127.0.0.0/8, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: Received new foreign route (configured): dst: 127.0.0.1/32, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: Received new foreign route (configured): dst: 127.255.255.255/32, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: link, table: local(255), proto: kernel, type: broadcast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: lo: Received new foreign route (configured): dst: ::1/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a ● 2: eth0 Link File: n/a Network File: n/a State: routable (pending) Online state: unknown Type: ether Kind: veth Hardware Address: 72:7a:4a:7a:69:8c MTU: 1500 (min: 68, max: 65535) QDisc: noqueue IPv6 Address Generation Mode: eui64 Number of Queues (Tx/Rx): 16/16 Auto negotiation: no Speed: 10Gbps Duplex: full Port: tp Address: 10.88.0.12 fe80::707a:4aff:fe7a:698c Gateway: 10.88.0.1 Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: n/a, src: n/a, gw: 10.88.0.1, prefsrc: n/a, scope: global, table: main(254), proto: static, type: unicast, nexthop: 0, priority: 100, flags: n/a Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: 10.88.0.0/16, src: n/a, gw: n/a, prefsrc: 10.88.0.12, scope: link, table: main(254), proto: kernel, type: unicast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: 10.88.0.12/32, src: n/a, gw: n/a, prefsrc: 10.88.0.12, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: 10.88.255.255/32, src: n/a, gw: n/a, prefsrc: 10.88.0.12, scope: link, table: local(255), proto: kernel, type: broadcast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: fe80::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main(254), proto: kernel, type: unicast, nexthop: 0, priority: 256, flags: n/a Apr 08 12:24:38 5ce8fe3a1a16 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: ff00::/8, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: multicast, nexthop: 0, priority: 256, flags: n/a Apr 08 12:24:40 5ce8fe3a1a16 systemd-networkd[28]: eth0: Received updated foreign address (configured): fe80::707a:4aff:fe7a:698c/64 (valid forever, preferred forever), flags: permanent, scope: link Apr 08 12:24:40 5ce8fe3a1a16 systemd-networkd[28]: eth0: Gained IPv6LL Apr 08 12:24:40 5ce8fe3a1a16 systemd-networkd[28]: eth0: link_check_ready(): link is in pending state. Apr 08 12:24:40 5ce8fe3a1a16 systemd-networkd[28]: eth0: Received new foreign route (configured): dst: fe80::707a:4aff:fe7a:698c/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a ---------------------------------------------------------------------
Last comment is outputs from "fedora" container. This is from "arch" container: `journalctl --no-hostname -b -u systemd-networkd.service`: --------------------------------------------------------------------- Apr 08 12:23:27 systemd-networkd[61]: Bus bus-api-network: changing state UNSET → OPENING Apr 08 12:23:27 systemd-networkd[61]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:23:27 systemd-networkd[61]: Added inotify watch for /run on bus bus-api-network: 2 Apr 08 12:23:27 systemd-networkd[61]: Added inotify watch for /run/dbus on bus bus-api-network: 3 Apr 08 12:23:27 systemd-networkd[61]: Added inotify watch for /run/dbus/system_bus_socket on bus bus-api-network: -1 Apr 08 12:23:27 systemd-networkd[61]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:23:27 systemd-networkd[61]: Bus bus-api-network: changing state OPENING → WATCH_BIND Apr 08 12:23:27 systemd-networkd[61]: Registering bus object implementation for path=/org/freedesktop/network1 iface=org.freedesktop.network1.Manager Apr 08 12:23:27 systemd-networkd[61]: Registering bus object implementation for path=/org/freedesktop/network1/link iface=org.freedesktop.network1.DHCPServer Apr 08 12:23:27 systemd-networkd[61]: Registering bus object implementation for path=/org/freedesktop/network1/link iface=org.freedesktop.network1.Link Apr 08 12:23:27 systemd-networkd[61]: Registering bus object implementation for path=/org/freedesktop/network1/network iface=org.freedesktop.network1.Network Apr 08 12:23:27 systemd-networkd[61]: Registering bus object implementation for path=/org/freedesktop/LogControl1 iface=org.freedesktop.LogControl1 Apr 08 12:23:27 systemd-networkd[61]: sd-device-monitor(n/a): Failed to stat PID1's netns, ignoring: No such file or directory Apr 08 12:23:27 systemd-networkd[61]: /etc/systemd/network/51-test-1.network:4: An address '10.100.200.1' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Apr 08 12:23:27 systemd-networkd[61]: /etc/systemd/network/52-test-2.network:4: An address '10.100.200.2' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Apr 08 12:23:27 systemd-networkd[61]: /etc/systemd/network/53-test-3.network:4: An address '10.100.200.3' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Apr 08 12:23:27 systemd-networkd[61]: /etc/systemd/network/54-test-lo.network:4: An address '10.100.200.4' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Apr 08 12:23:27 systemd-networkd[61]: /etc/systemd/network/55-test-read.network:4: Unknown key name 'invalid' in section 'Network', ignoring. Apr 08 12:23:27 systemd-networkd[61]: lo: Saved new link: ifindex=1, iftype=LOOPBACK(772), kind=n/a Apr 08 12:23:27 systemd-networkd[61]: lo: Saved original MTU 65536 (min: 0, max: 4294967295) Apr 08 12:23:27 systemd-networkd[61]: lo: Saved hardware address: 00:00:00:00:00:00 Apr 08 12:23:27 systemd-networkd[61]: lo: Saved IPv6 link-local address generation mode: eui64 Apr 08 12:23:27 systemd-networkd[61]: lo: Flags change: +LOOPBACK +UP +LOWER_UP +RUNNING Apr 08 12:23:27 systemd-networkd[61]: lo: Link UP Apr 08 12:23:27 systemd-networkd[61]: lo: Gained carrier Apr 08 12:23:27 systemd-networkd[61]: lo: udev initialized link Apr 08 12:23:27 systemd-networkd[61]: eth0: Saved new link: ifindex=2, iftype=ETHER(1), kind=veth Apr 08 12:23:27 systemd-networkd[61]: eth0: Saved original MTU 1500 (min: 68, max: 65535) Apr 08 12:23:27 systemd-networkd[61]: eth0: Saved hardware address: ce:76:77:bf:06:0f Apr 08 12:23:27 systemd-networkd[61]: eth0: Saved IPv6 link-local address generation mode: eui64 Apr 08 12:23:27 systemd-networkd[61]: eth0: Flags change: +UP +LOWER_UP +RUNNING +MULTICAST +BROADCAST Apr 08 12:23:27 systemd-networkd[61]: eth0: Link UP Apr 08 12:23:27 systemd-networkd[61]: eth0: Gained carrier Apr 08 12:23:27 systemd-networkd[61]: eth0: udev initialized link Apr 08 12:23:27 systemd-networkd[61]: lo: Received new foreign QDisc (configured): handle=0:0, parent=ffff:ffff, kind=noqueue Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign QDisc (configured): handle=0:0, parent=ffff:ffff, kind=noqueue Apr 08 12:23:27 systemd-networkd[61]: lo: Received new foreign address (configured): 127.0.0.1/8 (valid forever, preferred forever), flags: permanent, scope: host Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link is in pending state. Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign address (configured): 10.88.0.9/16 (valid forever, preferred forever), flags: permanent, scope: global Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is in pending state. Apr 08 12:23:27 systemd-networkd[61]: lo: Received new foreign address (configured): ::1/128 (valid forever, preferred forever), flags: permanent, scope: host Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link is in pending state. Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign address (configured): fe80::40b2:89ff:fe68:3cfe/64 (valid forever, preferred forever), flags: permanent, scope: link Apr 08 12:23:27 systemd-networkd[61]: eth0: Gained IPv6LL Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is in pending state. Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign route (configured): dst: n/a, src: n/a, gw: 10.88.0.1, prefsrc: n/a, scope: global, table: main(254), proto: static, type: unicast, nexthop: 0, priority: 100, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign route (configured): dst: 10.88.0.0/16, src: n/a, gw: n/a, prefsrc: 10.88.0.9, scope: link, table: main(254), proto: kernel, type: unicast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign route (configured): dst: 10.88.0.9/32, src: n/a, gw: n/a, prefsrc: 10.88.0.9, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign route (configured): dst: 10.88.255.255/32, src: n/a, gw: n/a, prefsrc: 10.88.0.9, scope: link, table: local(255), proto: kernel, type: broadcast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: lo: Received new foreign route (configured): dst: 127.0.0.0/8, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: lo: Received new foreign route (configured): dst: 127.0.0.1/32, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: lo: Received new foreign route (configured): dst: 127.255.255.255/32, src: n/a, gw: n/a, prefsrc: 127.0.0.1, scope: link, table: local(255), proto: kernel, type: broadcast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign route (configured): dst: fe80::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main(254), proto: kernel, type: unicast, nexthop: 0, priority: 256, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: lo: Received new foreign route (configured): dst: ::1/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign route (configured): dst: fe80::40b2:89ff:fe68:3cfe/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign route (configured): dst: ff00::/8, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: multicast, nexthop: 0, priority: 256, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: Remembering foreign routing policy rule (configured): priority: 0, 0.0.0.0/0 -> 0.0.0.0/0, iif: n/a, oif: n/a, table: local(255) Apr 08 12:23:27 systemd-networkd[61]: Remembering foreign routing policy rule (configured): priority: 32766, 0.0.0.0/0 -> 0.0.0.0/0, iif: n/a, oif: n/a, table: main(254) Apr 08 12:23:27 systemd-networkd[61]: Remembering foreign routing policy rule (configured): priority: 32767, 0.0.0.0/0 -> 0.0.0.0/0, iif: n/a, oif: n/a, table: default(253) Apr 08 12:23:27 systemd-networkd[61]: rtnl: received rule message with invalid family 128, ignoring. Apr 08 12:23:27 systemd-networkd[61]: rtnl: received rule message with invalid family 129, ignoring. Apr 08 12:23:27 systemd-networkd[61]: Remembering foreign routing policy rule (configured): priority: 0, ::/0 -> ::/0, iif: n/a, oif: n/a, table: local(255) Apr 08 12:23:27 systemd-networkd[61]: Remembering foreign routing policy rule (configured): priority: 32766, ::/0 -> ::/0, iif: n/a, oif: n/a, table: main(254) Apr 08 12:23:27 systemd-networkd[61]: Enumeration completed Apr 08 12:23:27 systemd-networkd[61]: eth0: Received updated foreign address (configured): fe80::40b2:89ff:fe68:3cfe/64 (valid forever, preferred forever), flags: permanent, scope: link Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is in pending state. Apr 08 12:23:27 systemd-networkd[61]: eth0: Received remembered foreign route (configured): dst: fe80::40b2:89ff:fe68:3cfe/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Found driver: veth Apr 08 12:23:27 systemd-networkd[61]: eth0: Saved permanent hardware address: 00:00:00:00:00:00 Apr 08 12:23:27 systemd-networkd[61]: lo: Failed to get driver, continuing without: Operation not supported Apr 08 12:23:27 systemd-networkd[61]: lo: Saved permanent hardware address: 00:00:00:00:00:00 Apr 08 12:23:27 systemd-networkd[61]: lo: Link state is up-to-date Apr 08 12:23:27 systemd-networkd[61]: lo: State changed: pending -> initialized Apr 08 12:23:27 systemd-networkd[61]: lo: found matching network '/etc/systemd/network/51-test-1.network'. Apr 08 12:23:27 systemd-networkd[61]: lo: Configuring with /etc/systemd/network/51-test-1.network. Apr 08 12:23:27 systemd-networkd[61]: lo: State changed: initialized -> configuring Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: Setting '/proc/sys/net/ipv4/conf/lo/promote_secondaries' to '1' Apr 08 12:23:27 systemd-networkd[61]: No change in value '1', suppressing write Apr 08 12:23:27 systemd-networkd[61]: lo: Requested to set IPv6LL address generation mode Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: Requested to activate link Apr 08 12:23:27 systemd-networkd[61]: lo: Requesting static address (n/a): 10.100.200.1/32 (valid forever, preferred forever), flags: tentative, scope: global Apr 08 12:23:27 systemd-networkd[61]: lo: Setting addresses Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link layer is configuring. Apr 08 12:23:27 systemd-networkd[61]: lo: Setting IPv6LL address generation mode Apr 08 12:23:27 systemd-networkd[61]: eth0: Link state is up-to-date Apr 08 12:23:27 systemd-networkd[61]: eth0: State changed: pending -> initialized Apr 08 12:23:27 systemd-networkd[61]: eth0: found matching network '/etc/systemd/network/51-test-1.network'. Apr 08 12:23:27 systemd-networkd[61]: eth0: Configuring with /etc/systemd/network/51-test-1.network. Apr 08 12:23:27 systemd-networkd[61]: eth0: State changed: initialized -> configuring Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: Setting '/proc/sys/net/ipv6/conf/eth0/disable_ipv6' to '0' Apr 08 12:23:27 systemd-networkd[61]: No change in value '0', suppressing write Apr 08 12:23:27 systemd-networkd[61]: Setting '/proc/sys/net/ipv6/conf/eth0/use_tempaddr' to '0' Apr 08 12:23:27 systemd-networkd[61]: No change in value '0', suppressing write Apr 08 12:23:27 systemd-networkd[61]: Setting '/proc/sys/net/ipv6/conf/eth0/accept_ra' to '0' Apr 08 12:23:27 systemd-networkd[61]: Setting '/proc/sys/net/ipv6/conf/eth0/proxy_ndp' to '0' Apr 08 12:23:27 systemd-networkd[61]: No change in value '0', suppressing write Apr 08 12:23:27 systemd-networkd[61]: Setting '/proc/sys/net/ipv4/conf/eth0/promote_secondaries' to '1' Apr 08 12:23:27 systemd-networkd[61]: No change in value '1', suppressing write Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: Requested to activate link Apr 08 12:23:27 systemd-networkd[61]: eth0: Requested configuring of the DHCPv6 client. Apr 08 12:23:27 systemd-networkd[61]: eth0: Requested configuring of the IPv6 Router Discovery. Apr 08 12:23:27 systemd-networkd[61]: eth0: Removing foreign route (configured,marked): dst: n/a, src: n/a, gw: 10.88.0.1, prefsrc: n/a, scope: global, table: main(254), proto: static, type: unicast, nexthop: 0, priority: 100, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Removing foreign address (configured,marked): 10.88.0.9/16 (valid forever, preferred forever), flags: permanent, scope: global Apr 08 12:23:27 systemd-networkd[61]: eth0: Requesting static address (n/a): 10.100.200.1/32 (valid forever, preferred forever), flags: tentative, scope: global Apr 08 12:23:27 systemd-networkd[61]: eth0: Setting addresses Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: LLDP Rx: Started LLDP client Apr 08 12:23:27 systemd-networkd[61]: eth0: Bringing link up Apr 08 12:23:27 systemd-networkd[61]: rfkill0: Failed to get Wiphy object: No such device Apr 08 12:23:27 systemd-networkd[61]: lo: IPv6 link-local address generation mode is changed: eui64 -> none Apr 08 12:23:27 systemd-networkd[61]: lo: IPv6LL address generation mode set. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: lo: Bringing link up Apr 08 12:23:27 systemd-networkd[61]: eth0: Forgetting foreign route (n/a): dst: n/a, src: n/a, gw: 10.88.0.1, prefsrc: n/a, scope: global, table: main(254), proto: static, type: unicast, nexthop: 0, priority: 100, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Forgetting foreign address (n/a): 10.88.0.9/16 (valid forever, preferred forever), flags: permanent, scope: global Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): link is not activated. Apr 08 12:23:27 systemd-networkd[61]: eth0: Forgetting foreign route (n/a): dst: 10.88.0.0/16, src: n/a, gw: n/a, prefsrc: 10.88.0.9, scope: link, table: main(254), proto: kernel, type: unicast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Forgetting foreign route (n/a): dst: 10.88.255.255/32, src: n/a, gw: n/a, prefsrc: 10.88.0.9, scope: link, table: local(255), proto: kernel, type: broadcast, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Forgetting foreign route (n/a): dst: 10.88.0.9/32, src: n/a, gw: n/a, prefsrc: 10.88.0.9, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): static addresses are not configured. Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): static addresses are not configured. Apr 08 12:23:27 systemd-networkd[61]: eth0: DHCPv6 client is configured. Apr 08 12:23:27 systemd-networkd[61]: eth0: Discovering IPv6 routers Apr 08 12:23:27 systemd-networkd[61]: eth0: NDISC: Started IPv6 Router Solicitation client Apr 08 12:23:27 systemd-networkd[61]: eth0: IPv6 Router Discovery is configured and started. Apr 08 12:23:27 systemd-networkd[61]: eth0: Configuring static address (requesting): 10.100.200.1/32 (valid forever, preferred forever), flags: tentative, scope: global Apr 08 12:23:27 systemd-networkd[61]: lo: Configuring static address (requesting): 10.100.200.1/32 (valid forever, preferred forever), flags: tentative, scope: global Apr 08 12:23:27 systemd-networkd[61]: eth0: Received updated static address (configured): 10.100.200.1/32 (valid forever, preferred forever), flags: permanent, scope: global Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): static addresses are not configured. Apr 08 12:23:27 systemd-networkd[61]: eth0: Received new foreign route (configured): dst: 10.100.200.1/32, src: n/a, gw: n/a, prefsrc: 10.100.200.1, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: eth0: Addresses set Apr 08 12:23:27 systemd-networkd[61]: eth0: link_check_ready(): dynamic addresses or routes are not configured. Apr 08 12:23:27 systemd-networkd[61]: lo: Received updated static address (configured): 10.100.200.1/32 (valid forever, preferred forever), flags: permanent, scope: global Apr 08 12:23:27 systemd-networkd[61]: lo: link_check_ready(): static addresses are not configured. Apr 08 12:23:27 systemd-networkd[61]: lo: Received new foreign route (configured): dst: 10.100.200.1/32, src: n/a, gw: n/a, prefsrc: 10.100.200.1, scope: host, table: local(255), proto: kernel, type: local, nexthop: 0, priority: 0, flags: n/a Apr 08 12:23:27 systemd-networkd[61]: lo: Addresses set Apr 08 12:23:27 systemd-networkd[61]: lo: State changed: configuring -> configured Apr 08 12:23:27 systemd-networkd[61]: Got inotify event on bus bus-api-network. Apr 08 12:23:27 systemd-networkd[61]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket... Apr 08 12:23:27 systemd-networkd[61]: Bus bus-api-network: changing state WATCH_BIND → AUTHENTICATING Apr 08 12:23:27 systemd-networkd[61]: Bus bus-api-network: changing state AUTHENTICATING → HELLO Apr 08 12:23:27 systemd-networkd[61]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RequestName cookie=2 reply_cookie=0 signature=su error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.1 path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=s error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Bus bus-api-network: changing state HELLO → RUNNING Apr 08 12:23:27 systemd-networkd[61]: Got message type=signal sender=org.freedesktop.DBus.Local destination=n/a path=/org/freedesktop/DBus/Local interface=org.freedesktop.DBus.Local member=Connected cookie=4294967295 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Got message type=signal sender=org.freedesktop.DBus destination=:1.1 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=2 reply_cookie=0 signature=s error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Got message type=signal sender=org.freedesktop.DBus destination=:1.1 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.1 path=n/a interface=n/a member=n/a cookie=4 reply_cookie=2 signature=u error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Successfully acquired requested service name. Apr 08 12:23:27 systemd-networkd[61]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.1 path=n/a interface=n/a member=n/a cookie=5 reply_cookie=3 signature=n/a error-name=n/a error-message=n/a Apr 08 12:23:27 systemd-networkd[61]: Match type='signal',sender='org.freedesktop.login1',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep' successfully installed. Apr 08 12:23:28 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 3s Apr 08 12:23:32 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 7s Apr 08 12:23:34 systemd-networkd[61]: Got message type=method_call sender=:1.5 destination=org.freedesktop.network1 path=/org/freedesktop/network1 interface=org.freedesktop.DBus.Properties member=Get cookie=2 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:23:34 systemd-networkd[61]: Sent message type=method_return sender=n/a destination=:1.5 path=n/a interface=n/a member=n/a cookie=4 reply_cookie=2 signature=v error-name=n/a error-message=n/a Apr 08 12:23:34 systemd-networkd[61]: Got message type=method_call sender=:1.5 destination=org.freedesktop.network1 path=/org/freedesktop/network1/link/_31 interface=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:23:34 systemd-networkd[61]: Sent message type=method_return sender=n/a destination=:1.5 path=n/a interface=n/a member=n/a cookie=5 reply_cookie=3 signature=v error-name=n/a error-message=n/a Apr 08 12:23:34 systemd-networkd[61]: Got message type=method_call sender=:1.5 destination=org.freedesktop.network1 path=/org/freedesktop/network1/link/_32 interface=org.freedesktop.DBus.Properties member=Get cookie=4 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:23:34 systemd-networkd[61]: Sent message type=method_return sender=n/a destination=:1.5 path=n/a interface=n/a member=n/a cookie=6 reply_cookie=4 signature=v error-name=n/a error-message=n/a Apr 08 12:23:34 systemd-networkd[61]: Got message type=method_call sender=:1.5 destination=org.freedesktop.network1 path=/org/freedesktop/network1/link/_31 interface=org.freedesktop.DBus.Properties member=Get cookie=5 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:23:34 systemd-networkd[61]: Sent message type=error sender=n/a destination=:1.5 path=n/a interface=n/a member=n/a cookie=7 reply_cookie=5 signature=s error-name=org.freedesktop.DBus.Error.UnknownProperty error-message=Unknown interface org.freedesktop.network1.DHCPServer or property Leases. Apr 08 12:23:34 systemd-networkd[61]: Got message type=method_call sender=:1.5 destination=org.freedesktop.network1 path=/org/freedesktop/network1/link/_32 interface=org.freedesktop.DBus.Properties member=Get cookie=6 reply_cookie=0 signature=ss error-name=n/a error-message=n/a Apr 08 12:23:34 systemd-networkd[61]: Sent message type=error sender=n/a destination=:1.5 path=n/a interface=n/a member=n/a cookie=8 reply_cookie=6 signature=s error-name=org.freedesktop.DBus.Error.UnknownProperty error-message=Unknown interface org.freedesktop.network1.DHCPServer or property Leases. Apr 08 12:23:39 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 14s Apr 08 12:23:39 systemd-networkd[61]: eth0: NDISC: No RA received before link confirmation timeout Apr 08 12:23:39 systemd-networkd[61]: eth0: NDISC: Invoking callback for 'timeout' event. Apr 08 12:23:39 systemd-networkd[61]: eth0: NDisc handler get timeout event Apr 08 12:23:39 systemd-networkd[61]: eth0: link_check_ready(): IPv4LL:no DHCPv4:no DHCPv6:no DHCP-PD:no NDisc:yes Apr 08 12:23:39 systemd-networkd[61]: eth0: State changed: configuring -> configured Apr 08 12:23:39 systemd-networkd[61]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_32 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=9 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Apr 08 12:23:53 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 28s Apr 08 12:24:22 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 59s Apr 08 12:25:22 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 1min 53s --------------------------------------------------------------------- `ip link`: --------------------------------------------------------------------- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0@if20: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether ce:76:77:bf:06:0f brd ff:ff:ff:ff:ff:ff link-netnsid 0 --------------------------------------------------------------------- `networkctl status -a`: --------------------------------------------------------------------- ● 1: lo Link File: n/a Network File: /etc/systemd/network/51-test-1.network State: routable (configured) Online state: online Type: loopback Hardware Address: 00:00:00:00:00:00 MTU: 65536 QDisc: noqueue IPv6 Address Generation Mode: none Number of Queues (Tx/Rx): 1/1 Address: 10.100.200.1 127.0.0.1 ::1 Activation Policy: up Required For Online: yes Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: IPv6LL address generation mode set. Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: link_check_ready(): link is not activated. Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: Bringing link up Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: link_check_ready(): static addresses are not configured. Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: Configuring static address (requesting): 10.100.200.1/32 (valid forever, preferred forever), flags: > Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: Received updated static address (configured): 10.100.200.1/32 (valid forever, preferred forever), fl> Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: link_check_ready(): static addresses are not configured. Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: Received new foreign route (configured): dst: 10.100.200.1/32, src: n/a, gw: n/a, prefsrc: 10.100.20> Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: Addresses set Apr 08 12:23:27 5d394011c4d7 systemd-networkd[61]: lo: State changed: configuring -> configured ● 2: eth0 Link File: /usr/lib/systemd/network/99-default.link Network File: /etc/systemd/network/51-test-1.network State: routable (configured) Online state: online Type: ether Kind: veth Driver: veth Hardware Address: ce:76:77:bf:06:0f MTU: 1500 (min: 68, max: 65535) QDisc: noqueue IPv6 Address Generation Mode: eui64 Number of Queues (Tx/Rx): 16/16 Auto negotiation: no Speed: 10Gbps Duplex: full Port: tp Address: 10.100.200.1 fe80::40b2:89ff:fe68:3cfe Activation Policy: up Required For Online: yes DHCP6 Client DUID: DUID-EN/Vendor:0000ab111c5c178f1ab5b2540000 Apr 08 12:23:39 5d394011c4d7 systemd-networkd[61]: eth0: NDISC: No RA received before link confirmation timeout Apr 08 12:23:39 5d394011c4d7 systemd-networkd[61]: eth0: NDISC: Invoking callback for 'timeout' event. Apr 08 12:23:39 5d394011c4d7 systemd-networkd[61]: eth0: NDisc handler get timeout event Apr 08 12:23:39 5d394011c4d7 systemd-networkd[61]: eth0: link_check_ready(): IPv4LL:no DHCPv4:no DHCPv6:no DHCP-PD:no NDisc:yes Apr 08 12:23:39 5d394011c4d7 systemd-networkd[61]: eth0: State changed: configuring -> configured Apr 08 12:23:53 5d394011c4d7 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 28s Apr 08 12:24:22 5d394011c4d7 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 59s Apr 08 12:25:22 5d394011c4d7 systemd-networkd[61]: eth0: NDISC: Sent Router Solicitation, next solicitation in 1min 53s ---------------------------------------------------------------------
I suspect that this is some operator error. Maybe you're actually running a different container then the config? Did you verify that the config files actually exist and have the expected contents in the booted container? I tested this with podman, and I get both lo and tap0 devices using /etc/systemd/network/51-test-1.network.
No way because there are lines like: `Apr 08 12:24:38 systemd-networkd[28]: /etc/systemd/network/51-test-1.network:4: An address '10.100.200.1' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly.` It still Network File: n/a [root@9de8e597337a /]# cat /etc/fedora-release Fedora release 39 (Rawhide) [root@9de8e597337a /]# ls /etc/systemd/network 51-test-1.network 52-test-2.network 53-test-3.network 54-test-lo.network 55-test-read.network 98-all.link [root@9de8e597337a /]# journalctl -u systemd-networkd | grep test Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: /etc/systemd/network/51-test-1.network:4: An address '10.100.200.1' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: /etc/systemd/network/52-test-2.network:4: An address '10.100.200.2' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: /etc/systemd/network/53-test-3.network:4: An address '10.100.200.3' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: /etc/systemd/network/54-test-lo.network:4: An address '10.100.200.4' is specified without prefix length. Assuming the prefix length is 32.Please specify the prefix length explicitly. Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: /etc/systemd/network/55-test-read.network:4: Unknown key name 'invalid' in section 'Network', ignoring. [root@9de8e597337a /]# networkctl status -a Failed to query link bit rates: Invalid argument Failed to query link bit rates: Invalid argument Failed to query link DHCP leases: Invalid argument ● 1: lo Link File: n/a Network File: n/a State: carrier (pending) Online state: unknown Type: loopback Hardware Address: 00:00:00:00:00:00 MTU: 65536 QDisc: noqueue IPv6 Address Generation Mode: eui64 Number of Queues (Tx/Rx): 1/1 Address: 127.0.0.1 ::1 Failed to query link DHCP leases: Invalid argument Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: lo: Link UP Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: lo: Gained carrier ● 2: eth0 Link File: n/a Network File: n/a State: routable (pending) Online state: unknown Type: ether Kind: veth Hardware Address: 92:2e:fe:27:72:31 MTU: 1500 (min: 68, max: 65535) QDisc: noqueue IPv6 Address Generation Mode: eui64 Number of Queues (Tx/Rx): 32/32 Auto negotiation: no Speed: 10Gbps Duplex: full Port: tp Address: 10.88.0.8 fe80::902e:feff:fe27:7231 Gateway: 10.88.0.1 Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: eth0: Link UP Jul 22 16:31:04 9de8e597337a systemd-networkd[28]: eth0: Gained carrier Jul 22 16:31:05 9de8e597337a systemd-networkd[28]: eth0: Gained IPv6LL
OK. Please use strace: sudo -b strace -s999 -y -p $(systemctl show -P MainPID systemd-networkd) -o /tmp/log sudo networkctl reload sudo networkctl reconfigure eth0 sudo killall strace and attach /tmp/log here.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.