Merge ~cyphermox/ubuntu/+source/isc-dhcp:cyphermox/ubuntu/artful into ~cyphermox/ubuntu/+source/isc-dhcp:ubuntu/artful

Proposed by Mathieu Trudel-Lapierre
Status: Merged
Merge reported by: Mathieu Trudel-Lapierre
Merged at revision: ac51d1d089b9399046dbb606f3934af006c05c08
Proposed branch: ~cyphermox/ubuntu/+source/isc-dhcp:cyphermox/ubuntu/artful
Merge into: ~cyphermox/ubuntu/+source/isc-dhcp:ubuntu/artful
Diff against target: 46 lines (+25/-2)
2 files modified
debian/changelog (+9/-0)
debian/initramfs-tools/lib/etc/dhcp/dhclient-enter-hooks.d/config (+16/-2)
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre Pending
Review via email: mp+329823@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 863c575..16c096a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
1isc-dhcp (4.3.5-3ubuntu2) UNRELEASED; urgency=medium
2
3 * debian/initramfs-tools/lib/etc/dhcp/dhclient-enter-hooks.d/config: fix the
4 logic for handling search domains to also write it to the output file when
5 only the domain name is provided by the DHCP server. Copied code from
6 debian/dhclient-script.linux. (LP: #1713747)
7
8 -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Tue, 29 Aug 2017 11:05:01 -0400
9
1isc-dhcp (4.3.5-3ubuntu1) zesty; urgency=low10isc-dhcp (4.3.5-3ubuntu1) zesty; urgency=low
211
3 * Merge from Debian unstable. Remaining changes:12 * Merge from Debian unstable. Remaining changes:
diff --git a/debian/initramfs-tools/lib/etc/dhcp/dhclient-enter-hooks.d/config b/debian/initramfs-tools/lib/etc/dhcp/dhclient-enter-hooks.d/config
index 0cc4401..aab6611 100755
--- a/debian/initramfs-tools/lib/etc/dhcp/dhclient-enter-hooks.d/config
+++ b/debian/initramfs-tools/lib/etc/dhcp/dhclient-enter-hooks.d/config
@@ -17,8 +17,22 @@ BOUND)
17 if [ -n "$domain_name"]; then17 if [ -n "$domain_name"]; then
18 echo "DNSDOMAIN=$new_domain_name" >> /run/net-$interface.conf18 echo "DNSDOMAIN=$new_domain_name" >> /run/net-$interface.conf
19 fi19 fi
20 if [ -n "$new_domain_search"]; then20 if [ -n "$new_domain_search" ]; then
21 echo "DOMAINSEARCH=$new_domain_search" >> /run/net-$interface.conf21 if [ -n "$new_domain_name" ]; then
22 domain_in_search_list=""
23 for domain in $new_domain_search; do
24 if [ "$domain" = "${new_domain_name}" ] ||
25 [ "$domain" = "${new_domain_name}." ]; then
26 domain_in_search_list="Yes"
27 fi
28 done
29 if [ -z "$domain_in_search_list" ]; then
30 new_domain_search="$new_domain_name $new_domain_search"
31 fi
32 fi
33 echo "DOMAINSEARCH=${new_domain_search}" >> /run/net-$interface.conf
34 elif [ -n "$new_domain_name" ]; then
35 echo "DOMAINSEARCH=${new_domain_name}" >> /run/net-$interface.conf
22 fi36 fi
23 ;;37 ;;
24BOUND6)38BOUND6)

Subscribers

People subscribed via source and target branches

to all changes: