Log spam when ipv6 is disabled in the kernel
Hi,
I have a system where ipv6 support is disabled in the kernel, NetworkManager is being used for network configuration, only ipv4 connections have been configured.
Every 2 seconds /var/log/messages
is getting spammed by the following warning:
Jun 22 12:14:34 mydevice daemon.warn NetworkManager[513]: <warn> [1655900074.5281] platform-linux: do-add-ip6-address[2: fe80::1634:8ae6:eddc:a1b3]: failure 95 (Operation not supported)
Jun 22 12:14:36 mydevice daemon.warn NetworkManager[513]: <warn> [1655900076.5304] platform-linux: do-add-ip6-address[2: fe80::a6b8:3fbd:1301:7cd3]: failure 95 (Operation not supported)
Jun 22 12:14:38 mydevice daemon.warn NetworkManager[513]: <warn> [1655900078.5328] platform-linux: do-add-ip6-address[2: fe80::4d2c:7f74:9dfe:a6d0]: failure 95 (Operation not supported)
Jun 22 12:14:40 mydevice daemon.warn NetworkManager[513]: <warn> [1655900080.5351] platform-linux: do-add-ip6-address[2: fe80::e582:4973:1309:9de]: failure 95 (Operation not supported)
Jun 22 12:14:42 mydevice daemon.warn NetworkManager[513]: <warn> [1655900082.5373] platform-linux: do-add-ip6-address[2: fe80::7ece:761f:9a5c:e41]: failure 95 (Operation not supported)
I tried disabling ipv6 for all available profiles/connectionis via nmcli one by one, i.e.:
nmcli connection modify "Wired connection" ipv6.method "disabled"
However, this does not seem to help.
I also checkced if there is a compile time option for NM which would disable ipv6 in NM during the build, but could not find any.
Folks in #nm on IRC suggested to open an issue regarding this, which is what I am doing :>
Kind regards, Jin