-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2023-05-09 at 16:49 +0300, Andrei Borzenkov wrote:
On 09.05.2023 16:01, Carlos E. R. wrote:
El 2023-05-09 a las 15:46 +0300, Andrei Borzenkov escribió:
On 09.05.2023 15:12, Per Jessen wrote:
tshark_capture Pasted as: https://susepaste.org/35e4671eb5dc https://paste.opensuse.org/35e4671eb5dc Link is also in your clipboard. Telcontar:~ #
RA are broadcast every 5 seconds. It is indeed too aggressive but it still is compliant with standard (which sets 3 seconds as minimal interval between unsolicited RA). So router still behaves correctly.
Leasinfo timestamp matches RA. Indeed, wicked stores leasinfo every time it changes and it also calls netconfig every time lease changed. But - netconfig checks whether information was changed and only rewrites resolv.conf if there was any change. Three consecutive RA all have the same content. So it does not explain why resolv.conf is considered to be changed so often.
You posted some log lines in one of the first messages and looking at them the list of DNS servers differs between each two consecutive logs from dnsmasq. To confirm it you may edit /etc/netconfig.d/dns-resolver to store each version of resolv.conf with timestamp and compare them.
But RA frequency alone does not seem to be a root cause here.
Well... it is not hapening now. I edited "/etc/netconfig.d/dns-resolver": function write_resolv_conf() ... TMP_FILE=`netconfig_mktemp "$ROOT$DESTFILE" 0644 0755` || return 3 if ! dump_resolv_conf "$@" >> "$TMP_FILE" ; then rm -f -- "$TMP_FILE" ; return 3 fi if cmp -s -- "$TMP_FILE" "$ROOT$DESTFILE" ; then rm -f -- "$TMP_FILE" # unchanged elif mv -f -- "$TMP_FILE" "$ROOT$DESTFILE" ; then changed=1 #CER MYDATE=`date --rfc-3339=ns` cp "$ROOT$DESTFILE" "$ROOT$DESTFILE$MYDATE" else rm -f -- "$TMP_FILE" ; return 3 fi Then edited /etc/sysconfig/network/config: NETCONFIG_DNS_POLICY='auto' The script did run: cer@Telcontar:~> l /run/netconfig/ total 12 drwxr-xr-x 4 root root 160 May 9 16:12 ./ drwxr-xr-x 57 root root 1660 May 9 16:12 ../ - -rw-r--r-- 1 root root 0 Apr 14 23:42 chrony.servers drwxr-xr-x 2 root root 80 May 9 16:12 eth0/ drwxr-xr-x 2 root root 80 Apr 14 23:42 lo/ - -rw-r--r-- 1 root root 688 May 9 16:08 resolv.conf - -rw-r--r-- 1 root root 688 May 9 16:08 resolv.conf2023-05-09 16:08:09.631366486+02:00 - -rw-r--r-- 1 root root 577 May 8 12:26 yp.conf cer@Telcontar:~> But resolv.conf is not changing now. This one is changing: er@Telcontar:/run/wicked> l --full-time leaseinfo.eth0.auto.ipv6 - -rw-r--r-- 1 root root 262 2023-05-09 16:16:02.904582968 +0200 leaseinfo.eth0.auto.ipv6 cer@Telcontar:/run/wicked> l --full-time leaseinfo.eth0.auto.ipv6 - -rw-r--r-- 1 root root 262 2023-05-09 16:16:07.644583085 +0200 leaseinfo.eth0.auto.ipv6 cer@Telcontar:/run/wicked> l --full-time leaseinfo.eth0.auto.ipv6 - -rw-r--r-- 1 root root 262 2023-05-09 16:16:07.644583085 +0200 leaseinfo.eth0.auto.ipv6 cer@Telcontar:/run/wicked> dnsmasq is being reloaded: <3.4> 2023-05-09T16:08:09.631819+02:00 Telcontar dnsmasq 23788 - - ignoring nameserver 127.0.0.1 - local interface <3.4> 2023-05-09T16:14:31.623939+02:00 Telcontar dnsmasq 23788 - - ignoring nameserver 127.0.0.1 - local interface <3.4> 2023-05-09T16:14:39.430471+02:00 Telcontar dnsmasq 23788 - - ignoring nameserver 127.0.0.1 - local interface <3.4> 2023-05-09T16:15:00.937698+02:00 Telcontar dnsmasq 23788 - - ignoring nameserver 127.0.0.1 - local interface <3.4> 2023-05-09T16:15:09.208161+02:00 Telcontar dnsmasq 23788 - - ignoring nameserver 127.0.0.1 - local interface I'm tired, it is 16:18 and I have not eaten. I can't think. Ok, now it is hapening: cer@Telcontar:/run/wicked> l /run/netconfig/ total 28 drwxr-xr-x 4 root root 240 May 9 16:20 ./ drwxr-xr-x 57 root root 1660 May 9 16:20 ../ - -rw-r--r-- 1 root root 0 Apr 14 23:42 chrony.servers drwxr-xr-x 2 root root 80 May 9 16:20 eth0/ drwxr-xr-x 2 root root 80 Apr 14 23:42 lo/ - -rw-r--r-- 1 root root 688 May 9 16:15 resolv.conf - -rw-r--r-- 1 root root 688 May 9 16:08 resolv.conf2023-05-09 16:08:09.631366486+02:00 - -rw-r--r-- 1 root root 661 May 9 16:14 resolv.conf2023-05-09 16:14:31.623802700+02:00 - -rw-r--r-- 1 root root 688 May 9 16:14 resolv.conf2023-05-09 16:14:39.429802740+02:00 - -rw-r--r-- 1 root root 661 May 9 16:15 resolv.conf2023-05-09 16:15:00.937682868+02:00 - -rw-r--r-- 1 root root 688 May 9 16:15 resolv.conf2023-05-09 16:15:09.207084556+02:00 - -rw-r--r-- 1 root root 577 May 8 12:26 yp.conf cer@Telcontar:/run/wicked> The contents do change: run/netconfig/resolv.conf2023-05-09 16:08:09.631366486+02:00 ... ### Call "netconfig update -f" to force adjusting of /etc/resolv.conf. search valinor nameserver 127.0.0.1 nameserver 192.168.1.16 nameserver 2a02:9000::aaaa /run/netconfig/resolv.conf2023-05-09 16:14:31.623802700+02:00 search valinor nameserver 127.0.0.1 nameserver 192.168.1.16 /run/netconfig/resolv.conf2023-05-09 16:14:39.429802740+02:00 search valinor nameserver 127.0.0.1 nameserver 192.168.1.16 nameserver 2a02:9000::aaaa /run/netconfig/resolv.conf2023-05-09 16:15:00.937682868+02:00 search valinor nameserver 127.0.0.1 nameserver 192.168.1.16 /run/netconfig/resolv.conf2023-05-09 16:15:09.207084556+02:00 search valinor nameserver 127.0.0.1 nameserver 192.168.1.16 nameserver 2a02:9000::aaaa Ok, going back to static, and for my lunch, or my blood presure will rocket up. - -- Cheers, Carlos E. R. (from openSUSE 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZFpa/Bwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVjNsAnR8erKsSDoDgo3rF8ziQ 1yxp4RqWAJ9FcuS73cotnCEust0JUHDfSSRUDQ== =GqnC -----END PGP SIGNATURE-----