systemd-resolved should be restarted only on actual DHCP/DNS updates
Bug #1770557 reported by
Wladimir Mutel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
High
|
Dimitri John Ledkov |
Bug Description
My ISP gives me a DHCP IP with lease time about 2 minutes
in the script /etc/dhcp/
so, about every 2 minutes, this service is restarted on my system, despite the fact that DNS configuration is not changed.
I would propose an update to the script, which first creates config fragments in temporary files, and then it restarts the service only when config is changed (or created/removed).
now going to attach my patch below
To post a comment you must log in.
The attachment "resolved.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]