[Sysadmins] После обновления перестал работать systemd-networkd
Maxim Vetsalo
mvetsalo на fcss.org.ru
Вт Фев 25 12:14:05 MSK 2020
Добрый день!
После сегодняшнего обновления системы (p9), живущей внутри LXD контейнера, перестал подниматься статический адрес на сетевом интерфейсе... При этом никаких ошибок systemd-networkd в логах нет - как-будто произошел нормальный старт.
Складывается впечатление, что что-то поломалось в секции [Match] конфигурационного файла, потому что ничего подобного:
eth0: found matching network '/etc/systemd/network/eth0.network'
при старте systemd-networkd теперь не наблюдается. Хотя сам конфигурационный файл находится, но не применяется к интерфейсу.
Куда копать?
С уважением,
М.П. Вецало.
[/etc/systemd/network/eth0.network]
[Match]
Name=eth0
[Network]
Address=10.33.0.8/24
[rpm -qa | grep systemd]
systemd-sysvinit-243.7-alt1.noarch
systemd-utils-243.7-alt1.x86_64
systemd-services-243.7-alt1.x86_64
systemd-networkd-243.7-alt1.x86_64
systemd-analyze-243.7-alt1.x86_64
libsystemd-243.7-alt1.x86_64
pam_systemd-243.7-alt1.x86_64
systemd-243.7-alt1.x86_64
[rpm -qa | grep dbus]
dbus-1.12.16-alt2.x86_64
libdbus-1.12.16-alt2.x86_64
dbus-tools-1.12.16-alt2.x86_64
[journalctl -b -u systemd-networkd]
Feb 25 11:59:48 mirror systemd[1]: Starting Network Service...
Feb 25 11:59:48 mirror systemd-networkd[633]: Bus bus-api-network: changing state UNSET → OPENING
Feb 25 11:59:48 mirror systemd-networkd[633]: Bus bus-api-network: changing state OPENING → AUTHENTICATING
Feb 25 11:59:48 mirror systemd-networkd[633]: timestamp of '/etc/systemd/network' changed
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: New device has no master, continuing without
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: Flags change: +UP +LOWER_UP +RUNNING +MULTICAST +BROADCAST
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: Link 15 added
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: link pending udev initialization...
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: Saved original MTU: 1500
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: New device has no master, continuing without
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Flags change: +LOOPBACK +UP +LOWER_UP +RUNNING
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Link 1 added
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: link pending udev initialization...
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Saved original MTU: 65536
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: Remembering foreign address: fe80::216:3eff:fe6d:3bbe/64 (valid>
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: Gained IPv6LL
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Remembering foreign address: ::1/128 (valid forever)
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Remembering foreign address: 127.0.0.1/8 (valid forever)
Feb 25 11:59:48 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 11:59:48 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 11:59:48 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: Remembering route: dst: ff00::/8, src: n/a, gw: n/a, prefsrc: n>
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: Remembering route: dst: fe80::216:3eff:fe6d:3bbe/128, src: n/a,>
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Remembering route: dst: ::1/128, src: n/a, gw: n/a, prefsrc: n/a,>
Feb 25 11:59:48 mirror systemd-networkd[633]: eth0: Remembering route: dst: fe80::/64, src: n/a, gw: n/a, prefsrc: >
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Remembering route: dst: 127.255.255.255/32, src: n/a, gw: n/a, pr>
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Remembering route: dst: 127.0.0.1/32, src: n/a, gw: n/a, prefsrc:>
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Remembering route: dst: 127.0.0.0/8, src: n/a, gw: n/a, prefsrc: >
Feb 25 11:59:48 mirror systemd-networkd[633]: lo: Remembering route: dst: 127.0.0.0/32, src: n/a, gw: n/a, prefsrc:>
Feb 25 11:59:48 mirror systemd-networkd[633]: rtnl: received rule message with invalid family 129, ignoring.
Feb 25 11:59:48 mirror systemd-networkd[633]: rtnl: received rule message with invalid family 128, ignoring.
Feb 25 11:59:48 mirror systemd-networkd[633]: Enumeration completed
Feb 25 11:59:48 mirror systemd-networkd[633]: Bus bus-api-network: changing state AUTHENTICATING → HELLO
Feb 25 11:59:48 mirror systemd-networkd[633]: Sent message type=method_call sender=n/a destination=org.freedesktop.>
Feb 25 11:59:48 mirror systemd-networkd[633]: Sent message type=method_call sender=n/a destination=org.freedesktop.>
Feb 25 11:59:48 mirror systemd-networkd[633]: Sent message type=method_call sender=n/a destination=org.freedesktop.>
Feb 25 11:59:48 mirror systemd-networkd[633]: Sent message type=signal sender=n/a destination=n/a path=/org/freedes>
Feb 25 11:59:48 mirror systemd-networkd[633]: Sent message type=signal sender=n/a destination=n/a path=/org/freedes>
Feb 25 11:59:48 mirror systemd-networkd[633]: Sent message type=signal sender=n/a destination=n/a path=/org/freedes>
Feb 25 11:59:48 mirror systemd-networkd[633]: Sent message type=signal sender=n/a destination=n/a path=/org/freedes>
Feb 25 11:59:48 mirror systemd-networkd[633]: Got message type=method_return sender=org.freedesktop.DBus destinatio>
Feb 25 11:59:48 mirror systemd-networkd[633]: Bus bus-api-network: changing state HELLO → RUNNING
Feb 25 11:59:48 mirror systemd-networkd[633]: Got message type=signal sender=org.freedesktop.DBus.Local destination>
Feb 25 11:59:48 mirror systemd-networkd[633]: Got message type=signal sender=org.freedesktop.DBus destination=:1.12>
Feb 25 11:59:48 mirror systemd-networkd[633]: Got message type=signal sender=org.freedesktop.DBus destination=:1.12>
Feb 25 11:59:48 mirror systemd-networkd[633]: Got message type=method_return sender=org.freedesktop.DBus destinatio>
Feb 25 11:59:48 mirror systemd-networkd[633]: Successfully acquired requested service name.
Feb 25 11:59:48 mirror systemd-networkd[633]: Got message type=method_return sender=org.freedesktop.DBus destinatio>
Feb 25 11:59:48 mirror systemd-networkd[633]: Match type='signal',sender='org.freedesktop.login1',path='/org/freede>
Feb 25 11:59:48 mirror systemd[1]: Started Network Service.
Feb 25 12:03:21 mirror systemd-networkd[633]: eth0: Remembering foreign address: 10.33.0.8/24 (valid forever)
Feb 25 12:03:21 mirror systemd-networkd[633]: Sent message type=signal sender=n/a destination=n/a path=/org/freedes>
Feb 25 12:03:21 mirror systemd-networkd[633]: Sent message type=signal sender=n/a destination=n/a path=/org/freedes>
Feb 25 12:03:21 mirror systemd-networkd[633]: eth0: Remembering route: dst: 10.33.0.8/32, src: n/a, gw: n/a, prefsr>
Feb 25 12:03:21 mirror systemd-networkd[633]: eth0: Remembering route: dst: 10.33.0.0/24, src: n/a, gw: n/a, prefsr>
Feb 25 12:03:21 mirror systemd-networkd[633]: eth0: Remembering route: dst: 10.33.0.0/32, src: n/a, gw: n/a, prefsr>
Feb 25 12:03:21 mirror systemd-networkd[633]: eth0: Remembering route: dst: 10.33.0.255/32, src: n/a, gw: n/a, pref>
Feb 25 12:03:30 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 12:03:38 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 12:03:47 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 12:03:56 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 12:04:16 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 12:04:16 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 12:04:16 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 12:04:33 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Feb 25 12:04:33 mirror systemd-networkd[633]: rtnl: received non-static neighbor, ignoring.
Подробная информация о списке рассылки Sysadmins