Activity log for bug #1997553

Date Who What changed Old value New value Message
2022-11-23 11:05:18 Sami Niemimäki bug added bug
2022-11-23 11:07:29 butcherbirdie bug added subscriber butcherbirdie
2022-11-23 11:07:33 Launchpad Janitor network-manager (Ubuntu): status New Confirmed
2022-11-23 11:24:04 Sami Niemimäki description We rely on network-manager dispatcher scripts on our desktop and laptop computers. The dispatcher scripts are used to update DNS records with nsupdate when the dhcp lease is renewed. With jammy this is not working anymore. It seems that dispatcher scripts are run only when the interface comes up (with action 'up') and with the initial dhcp lease (with action 'dhcp4-change'), but when the lease is renewed, the dispatcher scripts are not run with any action. The only action the dispatcher scripts are run regularly with is 'connectivity-change', which seems to occur twice in a row every few hours. I have made a simple script to log how the dispatcher scripts are run: /etc/NetworkManager/dispatcher.d/99-test: #!/bin/bash PATH='/bin:/sbin:/usr/bin:/usr/sbin' echo $(date) 0: $0 IFACE: $1 ACTION: $2 >> /tmp/nm.log This script proves that action 'dhcp4-change' only occurs when I manually restart NetworkManager.service or unplug and replug the ethernet cable. We rely on network-manager dispatcher scripts on our desktop and laptop computers. The dispatcher scripts are used to update DNS records with nsupdate when the dhcp lease is renewed. With jammy this is not working anymore. It seems that dispatcher scripts are run only when the interface comes up (with action 'up') and with the initial dhcp lease (with action 'dhcp4-change'), but when the lease is renewed, the dispatcher scripts are not run with any action. The only action the dispatcher scripts are run regularly with is 'connectivity-change', which seems to occur twice in a row every few hours. I have made a simple script to log how the dispatcher scripts are run: /etc/NetworkManager/dispatcher.d/99-test: #!/bin/bash PATH='/bin:/sbin:/usr/bin:/usr/sbin' echo $(date) 0: $0 IFACE: $1 ACTION: $2 >> /tmp/nm.log This script proves that action 'dhcp4-change' only occurs when I manually restart NetworkManager.service or unplug and replug the ethernet cable. network-manager version: 1.36.6-0ubuntu2
2022-11-28 12:12:18 Sebastien Bacher bug watch added https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1147
2022-11-28 12:12:18 Sebastien Bacher network-manager (Ubuntu): importance Undecided Low
2022-11-28 12:12:18 Sebastien Bacher network-manager (Ubuntu): status Confirmed Triaged
2022-11-28 12:12:24 Sebastien Bacher bug task added network-manager
2022-11-29 13:49:42 Bug Watch Updater network-manager: status Unknown New
2024-03-26 06:04:24 Bug Watch Updater network-manager: status New Fix Released