Merge ~paelzer/ubuntu/+source/network-manager:fix-lp-1894619-changed-dnsmasq-behavior into ubuntu/+source/network-manager:ubuntu/impish-devel

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: 7896e0e2a4c1aafce6bdad53479a4bae7a06cf5d
Merge reported by: Christian Ehrhardt 
Merged at revision: 7896e0e2a4c1aafce6bdad53479a4bae7a06cf5d
Proposed branch: ~paelzer/ubuntu/+source/network-manager:fix-lp-1894619-changed-dnsmasq-behavior
Merge into: ubuntu/+source/network-manager:ubuntu/impish-devel
Diff against target: 27 lines (+7/-1)
2 files modified
debian/changelog (+6/-0)
debian/tests/nm.py (+1/-1)
Reviewer Review Type Date Requested Status
Iain Lane (community) Approve
Desktop Packages Pending
Canonical Server Pending
Canonical Server packageset reviewers Pending
git-ubuntu developers Pending
Review via email: mp+405081@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Iain Lane (laney) wrote :

Thanks Christian. Assuming you've tested this it looks fine to merge, but two things

  - I'm not sure we shouldn't drop 'dynamic' if that's not expected any more (and bump the required version of dnsmasq then). I could go either way on this - what do you think?
  - Please do the change in https://code.launchpad.net/~network-manager/network-manager/+git/ubuntu/+ref/ubuntu/master

Feel free to make the change, or not, merge and upload - thanks!

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
I thought about dropping dynamic - but not ALL test cases switch to forever.
There were a few that still returned dynamic (something with a wireless connection for example).
I decided against a massive matrix of testcase->output and went for the simple yet reasonable change.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I wasn't aware of that tree - thanks for the hint, I cloned rebased and pushed the change there as well.

To ssh://git.launchpad.net/ubuntu/+source/network-manager
 * [new tag] upload/1.30.0-1ubuntu4 -> upload/1.30.0-1ubuntu4

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading network-manager_1.30.0-1ubuntu4.dsc: done.
  Uploading network-manager_1.30.0-1ubuntu4.debian.tar.xz: done.
  Uploading network-manager_1.30.0-1ubuntu4_source.buildinfo: done.
  Uploading network-manager_1.30.0-1ubuntu4_source.changes: done.
Successfully uploaded packages.

And to also cover this extra repo:
To git+ssh://git.launchpad.net/network-manager
   87d561d6..9996e637 ubuntu/master -> ubuntu/master

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This is in proposed and working fine there.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index ec1fe7b..31ddee8 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,9 @@
6+network-manager (1.30.0-1ubuntu4) impish; urgency=medium
7+
8+ * d/t/nm.py: adapt to changes dnsmasq behavior (LP: #1894619)
9+
10+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 02 Jul 2021 11:13:46 +0200
11+
12 network-manager (1.30.0-1ubuntu3) hirsute; urgency=medium
13
14 * SECURITY UPDATE: crash via setting match.path
15diff --git a/debian/tests/nm.py b/debian/tests/nm.py
16index f4fe46d..529f4cb 100755
17--- a/debian/tests/nm.py
18+++ b/debian/tests/nm.py
19@@ -357,7 +357,7 @@ class NetworkManagerTest(network_test_base.NetworkTestBase):
20 expected_ip_a.append('inet6 2600::[0-9a-f]+/')
21 else:
22 # has address with our prefix and MAC
23- expected_ip_a.append('inet6 2600::[0-9a-f:]+/64 scope global (?:tentative )?(?:mngtmpaddr )?(?:noprefixroute )?dynamic')
24+ expected_ip_a.append('inet6 2600::[0-9a-f:]+/64 scope global (?:tentative )?(?:mngtmpaddr )?(?:noprefixroute )?(dynamic|\n\s*valid_lft forever preferred_lft forever)')
25 # has address with our prefix and random IP (Privacy
26 # Extension), if requested
27 priv_re = 'inet6 2600:[0-9a-f:]+/64 scope global temporary (?:tentative )?(?:mngtmpaddr )?dynamic'

Subscribers

People subscribed via source and target branches