Bug#1034566: unblock: isc-dhcp/4.4.3-P1-1.1

2023-05-11 Thread Santiago R.R.
El 07/05/23 a las 10:53, Paul Gevers escribió:
> Hi,
> 
> On 18-04-2023 14:11, Santiago R.R. wrote:
> > unblock isc-dhcp/4.4.3-P1-1.1
> 
> done and aged. Thanks.

Thanks to you!

 -- Santiago


signature.asc
Description: PGP signature


Bug#1034566: unblock: isc-dhcp/4.4.3-P1-1.1

2023-04-28 Thread Paul Gevers

Hi,

On 27-04-2023 23:10, Santiago R.R. wrote:

I don't see the need to add the `needs-internet` restriction, but please
let me know if you think otherwise.


I trust your judgement here. You can leave it out.

Paul


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1034566: unblock: isc-dhcp/4.4.3-P1-1.1

2023-04-27 Thread Santiago R.R.
El 27/04/23 a las 07:36, Paul Gevers escribió:
> Control: tags -1 confirmed moreinfo
> Control: retitle -1 unblock: isc-dhcp/4.4.3-P1-2
> 
> On 18-04-2023 14:11, Santiago R.R. wrote:
> > 2. This is the autopkgtest included in this request applied to the
> > current version in testing:
> 
> Minor question: I *think* you are configuring the test to use the internet
> (nameserver 8.8.8.8). If that's true, please add the `needs-internet`
> restriction. (Or maybe it doesn't need to be configured like that.

Not really. The test just tests if the namespace's resolv.conf is
finally (over)written with the nameserver provided by the dhcp server.
No DNS queries are done during the test, even less querying any resolver
on internet.
I don't see the need to add the `needs-internet` restriction, but please
let me know if you think otherwise.

> 
> > unblock isc-dhcp/4.4.3-P1-1.1
> 
> That version is already in testing. I have fixed the title too (which, for
> next time, could have done with the word `pre-approval` or similar).

Thanks. I just let reportbug fill that version. And I always forgot the
unblock semantics.

> 
> Anyways, please go ahead.
> 

Thank you. I'll just wait your opinion about the above mentioned
restriction.

> Paul

Cheers,

 -- S



Bug#1034566: unblock: isc-dhcp/4.4.3-P1-1.1

2023-04-26 Thread Paul Gevers

Control: tags -1 confirmed moreinfo
Control: retitle -1 unblock: isc-dhcp/4.4.3-P1-2

On 18-04-2023 14:11, Santiago R.R. wrote:

2. This is the autopkgtest included in this request applied to the
current version in testing:


Minor question: I *think* you are configuring the test to use the 
internet (nameserver 8.8.8.8). If that's true, please add the 
`needs-internet` restriction. (Or maybe it doesn't need to be configured 
like that.



unblock isc-dhcp/4.4.3-P1-1.1


That version is already in testing. I have fixed the title too (which, 
for next time, could have done with the word `pre-approval` or similar).


Anyways, please go ahead.

Paul


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1034566: unblock: isc-dhcp/4.4.3-P1-1.1

2023-04-18 Thread Santiago R.R.
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: isc-d...@packages.debian.org
Control: affects -1 + src:isc-dhcp

Dear Release Team,

Please unblock package isc-dhcp

[ Reason ]

Two main reasons:
1. Include a NEWS entry to help users to be aware ISC DHCP Server has
been EOL'ed by upstream.

2. Solve https://bugs.debian.org/1034502 so dhclient can  handle
resolv.conf inside network namespaces. The proposed changes include an
autopkgtest to test this.

[ Impact ]

1. Less chances for the users to be aware of the end of upstream support
for a very important software.

2. Users or application using dhclient inside a network namespace would
continue to have issues with the DNS resolution.  See:
https://stackoverflow.com/questions/38102481/how-can-dhclient-be-made-namespace-aware

[ Tests ]
1. Doesn't really need a test. The NEWS entry would be displayed during
upgrading if apt-listchanges is available.

2. This is the autopkgtest included in this request applied to the
current version in testing:
https://salsa.debian.org/santiago/isc-dhcp/-/jobs/4144234#L324
And this is for the proposed version:
https://salsa.debian.org/santiago/isc-dhcp/-/jobs/4144350

[ Risks ]

1. There is no risk.

2. Code is trivial.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]
There is minor (and harmless) change:

  [ Bastian Germann ]
  * d/copyright Format: Add trailing slash

that I include since it was part of the default git branch. I keep it to
make it easier to handle changes in the future.

Also, I've uploaded these changes to experimental.

Thanks!

 -- Santiago

unblock isc-dhcp/4.4.3-P1-1.1
diff -Nru isc-dhcp-4.4.3-P1/debian/changelog isc-dhcp-4.4.3-P1/debian/changelog
--- isc-dhcp-4.4.3-P1/debian/changelog  2023-01-09 10:15:41.0 +0100
+++ isc-dhcp-4.4.3-P1/debian/changelog  2023-04-17 14:20:02.0 +0200
@@ -1,3 +1,17 @@
+isc-dhcp (4.4.3-P1-2) unstable; urgency=medium
+
+  [ Gabriel Potter ]
+  * Support bound /etc/resolv.conf (Closes: #1034502)
+
+  [ Bastian Germann ]
+  * d/copyright Format: Add trailing slash
+
+  [ Santiago Ruano Rincón ]
+  * Add NEWS about isc-dhcp-server EOL'ed and its apparmor profile
+  * Test debian/tests/client-server
+
+ -- Santiago Ruano Rincón   Mon, 17 Apr 2023 14:20:02 
+0200
+
 isc-dhcp (4.4.3-P1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru isc-dhcp-4.4.3-P1/debian/copyright isc-dhcp-4.4.3-P1/debian/copyright
--- isc-dhcp-4.4.3-P1/debian/copyright  2023-01-09 09:25:59.0 +0100
+++ isc-dhcp-4.4.3-P1/debian/copyright  2023-04-17 13:50:46.0 +0200
@@ -1,4 +1,4 @@
-Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Source: https://www.isc.org/downloads/dhcp
 
 Files: *
diff -Nru isc-dhcp-4.4.3-P1/debian/dhclient-script.linux 
isc-dhcp-4.4.3-P1/debian/dhclient-script.linux
--- isc-dhcp-4.4.3-P1/debian/dhclient-script.linux  2023-01-09 
09:27:37.0 +0100
+++ isc-dhcp-4.4.3-P1/debian/dhclient-script.linux  2023-04-17 
13:50:46.0 +0200
@@ -84,7 +84,9 @@
chown --reference=$resolv_conf $new_resolv_conf
chmod --reference=$resolv_conf $new_resolv_conf
fi
-mv -f $new_resolv_conf $resolv_conf
+   # cat then rm to handle binds (e.g. ip netns exec)
+   cat $new_resolv_conf > $resolv_conf
+   rm -f $new_resolv_conf
 # DHCPv6
 elif [ -n "$new_dhcp6_domain_search" ] || [ -n "$new_dhcp6_name_servers" 
]; then
 resolv_conf=$(readlink -f "/etc/resolv.conf" 2>/dev/null) ||
@@ -115,7 +117,8 @@
 chown --reference=$resolv_conf $new_resolv_conf
 chmod --reference=$resolv_conf $new_resolv_conf
fi
-mv -f $new_resolv_conf $resolv_conf
+   cat $new_resolv_conf > $resolv_conf
+   rm -f $new_resolv_conf
 fi
 }
 
diff -Nru isc-dhcp-4.4.3-P1/debian/isc-dhcp-server.NEWS 
isc-dhcp-4.4.3-P1/debian/isc-dhcp-server.NEWS
--- isc-dhcp-4.4.3-P1/debian/isc-dhcp-server.NEWS   2023-01-09 
09:25:59.0 +0100
+++ isc-dhcp-4.4.3-P1/debian/isc-dhcp-server.NEWS   2023-04-17 
13:50:46.0 +0200
@@ -1,3 +1,24 @@
+isc-dhcp-server (4.4.3-P1-2) unstable; urgency=medium
+
+  # ISC DHCP completely EOL
+
+  ISC has stopped maintaining the server component of isc-dhcp since October
+  2022. A similar decision was made for the client and relay parts earlier the
+  same year. ISC DHCP Server users are strongly encouraged to look for an
+  alternative.
+
+  More information can be found in these official announcements:
+  https://lists.isc.org/pipermail/dhcp-users/2022-October/022786.html
+  https://www.isc.org/blogs/isc-dhcp-eol/
+
+  # AppArmor support
+
+  Since 4.4.3-P1-1.1, isc-dhcp-server includes an apparmor profile (thanks
+