network-manager fails to trigger dispatcher scripts with action dhcp4-change when dhcp lease is renewed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager |
Fix Released
|
Unknown
|
|||
network-manager (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug 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-
I have made a simple script to log how the dispatcher scripts are run:
/etc/NetworkMan
#!/bin/bash
PATH='/
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.
network-manager version: 1.36.6-0ubuntu2
description: | updated |
Changed in network-manager: | |
status: | Unknown → New |
Changed in network-manager: | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.