[systemd-devel] Assertion '!ether_addr_is_null(addr)'

Mirza Krak mirza.krak at gmail.com
Wed Aug 30 13:22:26 UTC 2023


Hi,

Environment:
* systemd: 250.5
* Linux kernel 5.15.113

I am trying to do something really simple (I thought), and I have the
following .network file:

    [Match]
    Name=lo

    [Address]
    Address=169.254.66.6/32

But it fails with the following error:

    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Failed to get
driver, continuing without: Operation not supported
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Saved
permanent hardware address: 00:00:00:00:00:00
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Link state is
up-to-date
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: found
matching network '/lib/systemd/network/99-loopback-alias.network'.
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Ignoring
link-local autoconfiguration for loopback link
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: State
changed: initialized -> configuring
    Aug 30 13:17:05 localhost systemd-networkd[299]: Setting
'/proc/sys/net/ipv4/conf/lo/promote_secondaries' to '1'
    Aug 30 13:17:05 localhost systemd-networkd[299]: No change in
value '1', suppressing write
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Requested to
set interface group
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Requested to
set IPv6LL address generation mode
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Requested to
set master interface
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo:
link_check_ready(): link layer is configuring.
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Requested to
activate link
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Configuring
IPv4ACD for address 169.254.66.6
    Aug 30 13:17:05 localhost systemd-networkd[299]: Assertion
'!ether_addr_is_null(addr)' failed at
src/libsystemd-network/sd-ipv4acd.c:467, function
sd_ipv4acd_set_mac(). Ignoring.
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: Failed
    Aug 30 13:17:05 localhost systemd-networkd[299]: lo: State
changed: configuring -> failed

Not sure what I am doing wrong here. The same config used to work with
systemd 244.5, so either a regression, or I was doing something wrong
to begin with.

/ Mirza


More information about the systemd-devel mailing list