Merge ~mkukri/ubuntu/+source/ifupdown:merge into ubuntu/+source/ifupdown:debian/sid

Proposed by Mate Kukri
Status: Merged
Merge reported by: Mate Kukri
Merged at revision: eab972a81000775a641dbe02a198192770379778
Proposed branch: ~mkukri/ubuntu/+source/ifupdown:merge
Merge into: ubuntu/+source/ifupdown:debian/sid
Diff against target: 1933 lines (+1546/-14)
9 files modified
debian/changelog (+1517/-0)
debian/control (+2/-1)
debian/if-up.d/resolved (+3/-3)
debian/ifup@.service (+2/-1)
debian/ifupdown-hotplug (+3/-0)
debian/rules (+5/-0)
inet.defn (+3/-3)
inet6.defn (+6/-6)
interfaces.5.pre (+5/-0)
Reviewer Review Type Date Requested Status
Simon Chopin (community) Approve
Review via email: mp+460576@code.launchpad.net

This proposal supersedes a proposal from 2024-02-14.

To post a comment you must log in.
Revision history for this message
Simon Chopin (schopin) :
review: Approve
Revision history for this message
Simon Chopin (schopin) wrote :

Uploaded, thanks for the merge!

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 95dc00a..13e1a51 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,19 @@
6+ifupdown (0.8.41ubuntu1) noble; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
10+ won't time out.
11+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
12+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
13+ to deal with "auto" devices appearing after the "networking" init script
14+ already ran.
15+ - Fix if-up.d/resolved hook to properly work with nameservers and search
16+ domains (LP: 1981103)
17+ * Changes now included in Debian:
18+ - Ship resolved integration scripts.
19+
20+ -- Mate Kukri <mate.kukri@canonical.com> Wed, 14 Feb 2024 14:14:08 +0000
21+
22 ifupdown (0.8.41) unstable; urgency=high
23
24 * networking.service: Improve how to handle hotplug devices. Thanks to kibi,
25@@ -74,6 +90,46 @@ ifupdown (0.8.37) unstable; urgency=low
26
27 -- Santiago Ruano Rincón <santiago@debian.org> Wed, 19 Jan 2022 20:55:17 +0100
28
29+ifupdown (0.8.36+nmu1ubuntu5) mantic; urgency=medium
30+
31+ [ Uwe Kleine-König ]
32+ * Fix if-up.d/resolved hook to properly work with nameservers and search
33+ domains (LP: #1981103)
34+
35+ -- Heitor Alves de Siqueira <halves@canonical.com> Wed, 06 Sep 2023 13:23:34 +0000
36+
37+ifupdown (0.8.36+nmu1ubuntu4) kinetic; urgency=medium
38+
39+ * Remove invalid lines from resolved integration scripts (LP: #1907878)
40+
41+ -- Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Sun, 15 May 2022 15:35:51 +0200
42+
43+ifupdown (0.8.36+nmu1ubuntu3) jammy; urgency=medium
44+
45+ * debian/if-up.d/resolved: also chown $statedir to
46+ systemd-resolve:systemd-resolve (LP: #1896772)
47+
48+ -- Jamie Strandboge <jdstrand@ubuntu.com> Sun, 17 Apr 2022 21:21:49 +0000
49+
50+ifupdown (0.8.36+nmu1ubuntu2) jammy; urgency=medium
51+
52+ * No-change rebuild to update maintainer scripts, see LP: 1959054
53+
54+ -- Dave Jones <dave.jones@canonical.com> Wed, 16 Feb 2022 17:01:51 +0000
55+
56+ifupdown (0.8.36+nmu1ubuntu1) jammy; urgency=low
57+
58+ * Merge from Debian unstable. Remaining changes:
59+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
60+ won't time out.
61+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
62+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
63+ to deal with "auto" devices appearing after the "networking" init script
64+ already ran.
65+ - Ship resolved integration scripts.
66+
67+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 18 Oct 2021 14:59:15 -0700
68+
69 ifupdown (0.8.36+nmu1) unstable; urgency=medium
70
71 * Non-maintainer upload.
72@@ -81,6 +137,19 @@ ifupdown (0.8.36+nmu1) unstable; urgency=medium
73
74 -- Christian Marillat <marillat@debian.org> Thu, 19 Aug 2021 01:33:37 +0200
75
76+ifupdown (0.8.36ubuntu1) impish; urgency=low
77+
78+ * Merge from Debian unstable. Remaining changes:
79+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
80+ won't time out.
81+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
82+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
83+ to deal with "auto" devices appearing after the "networking" init script
84+ already ran.
85+ - Ship resolved integration scripts.
86+
87+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 17 May 2021 14:45:03 -0700
88+
89 ifupdown (0.8.36) unstable; urgency=low
90
91 [ Janos Lenart ]
92@@ -115,6 +184,24 @@ ifupdown (0.8.36) unstable; urgency=low
93
94 -- Santiago Ruano Rincón <santiago@debian.org> Wed, 04 Nov 2020 07:37:13 +0100
95
96+ifupdown (0.8.35ubuntu2) groovy; urgency=medium
97+
98+ * Ship resolved integration scripts.
99+
100+ -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 28 Jul 2020 10:55:18 +0100
101+
102+ifupdown (0.8.35ubuntu1) eoan; urgency=low
103+
104+ * Merge from Debian unstable. Remaining changes:
105+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
106+ won't time out.
107+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
108+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
109+ to deal with "auto" devices appearing after the "networking" init script
110+ already ran.
111+
112+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 02 May 2019 22:38:32 -0700
113+
114 ifupdown (0.8.35) unstable; urgency=medium
115
116 [ Ondřej Nový ]
117@@ -129,6 +216,24 @@ ifupdown (0.8.35) unstable; urgency=medium
118
119 -- Guus Sliepen <guus@debian.org> Mon, 28 Jan 2019 21:37:33 +0100
120
121+ifupdown (0.8.34ubuntu2) cosmic; urgency=medium
122+
123+ * Re-add chmod +x on ifupdown-hotplug.
124+
125+ -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 28 Aug 2018 12:51:15 +0100
126+
127+ifupdown (0.8.34ubuntu1) cosmic; urgency=low
128+
129+ * Merge from Debian unstable. Remaining changes:
130+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
131+ won't time out.
132+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
133+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
134+ to deal with "auto" devices appearing after the "networking" init script
135+ already ran.
136+
137+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 01 Jun 2018 13:35:16 -0700
138+
139 ifupdown (0.8.34) unstable; urgency=medium
140
141 [ Guus Sliepen ]
142@@ -141,6 +246,18 @@ ifupdown (0.8.34) unstable; urgency=medium
143
144 -- Guus Sliepen <guus@debian.org> Fri, 25 May 2018 22:34:33 +0200
145
146+ifupdown (0.8.33ubuntu1) cosmic; urgency=low
147+
148+ * Merge from Debian unstable. Remaining changes:
149+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
150+ won't time out.
151+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
152+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
153+ to deal with "auto" devices appearing after the "networking" init script
154+ already ran.
155+
156+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 24 May 2018 15:59:45 -0700
157+
158 ifupdown (0.8.33) unstable; urgency=medium
159
160 [ Guus Sliepen ]
161@@ -152,6 +269,20 @@ ifupdown (0.8.33) unstable; urgency=medium
162
163 -- Guus Sliepen <guus@debian.org> Thu, 24 May 2018 16:33:17 +0200
164
165+ifupdown (0.8.32ubuntu1) cosmic; urgency=low
166+
167+ * Merge from Debian unstable. Remaining changes:
168+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
169+ won't time out.
170+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
171+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
172+ to deal with "auto" devices appearing after the "networking" init script
173+ already ran.
174+ * Dropped changes, included in Debian:
175+ - Drop obsolete upstart integration.
176+
177+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 14 May 2018 21:17:23 -0700
178+
179 ifupdown (0.8.32) unstable; urgency=medium
180
181 [ Guus Sliepen ]
182@@ -292,6 +423,31 @@ ifupdown (0.8.18) unstable; urgency=medium
183
184 -- Guus Sliepen <guus@debian.org> Wed, 11 Jan 2017 20:43:06 +0100
185
186+ifupdown (0.8.17ubuntu1) bionic; urgency=medium
187+
188+ * Merge from Debian unstable.
189+ - Resolve conflicts with newer bridge-utils. LP: #1756846.
190+ * Remaining changes:
191+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
192+ won't time out.
193+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
194+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
195+ to deal with "auto" devices appearing after the "networking" init script
196+ already ran. (LP: #1374521)
197+ - Drop obsolete upstart integration.
198+ * Dropped changes, included in Debian:
199+ - networking.service: exclude loopback device lo in ExecStop.
200+ - Export $CLASS to scripts.
201+ - Add a few missing voids for functions that do not take any parameters.
202+ - Add a bug-script to automatically add /etc/network/interfaces etc. to
203+ reportbug output.
204+ - debian/ifup@.service: Start after device is up
205+ * Dropped changes, superseded in Debian:
206+ - disabled upping of bridges: this is now handled exclusively through
207+ ifupdown, bridge-utils hook no longer handles this at all.
208+
209+ -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 21 Mar 2018 14:53:25 -0700
210+
211 ifupdown (0.8.17) unstable; urgency=medium
212
213 [ Scott Moser ]
214@@ -315,6 +471,40 @@ ifupdown (0.8.17) unstable; urgency=medium
215
216 -- Guus Sliepen <guus@debian.org> Tue, 10 Jan 2017 17:25:18 +0100
217
218+ifupdown (0.8.16ubuntu2) artful; urgency=medium
219+
220+ * Drop obsolete upstart integration.
221+
222+ -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 14 Aug 2017 18:39:14 +0100
223+
224+ifupdown (0.8.16ubuntu1) zesty; urgency=medium
225+
226+ * Merge with Debian unstable. Remaining Ubuntu changes:
227+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
228+ won't time out.
229+ - link.defn, tests/testbuild-linux: Disable upping of bridges as it's not
230+ covering all the cases supported by the vlan and bridge hooks and so
231+ causes more harm than good at this point. (LP: #1295304)
232+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
233+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
234+ to deal with "auto" devices appearing after the "networking" init script
235+ already ran. (LP: #1374521)
236+
237+ Changes from Debian packaging git:
238+
239+ [ Guus Sliepen ]
240+ * Add a bug-script to automatically add /etc/network/interfaces etc. to reportbug output.
241+ * Export $CLASS to scripts.
242+ * Add a few missing voids for functions that do not take any parameters.
243+
244+ [ Scott Moser ]
245+ * networking.service: exclude loopback device lo in ExecStop.
246+
247+ [ Martin Pitt ]
248+ * debian/ifup@.service: Start after device is up
249+
250+ -- Guus Sliepen <guus@debian.org> Mon, 28 Nov 2016 14:40:17 +0100
251+
252 ifupdown (0.8.16) unstable; urgency=medium
253
254 * Fix FTBFS due to testcases using the host's state information.
255@@ -347,6 +537,44 @@ ifupdown (0.8.14) unstable; urgency=medium
256
257 -- Guus Sliepen <guus@debian.org> Sat, 17 Sep 2016 11:40:39 +0200
258
259+ifupdown (0.8.13ubuntu4) zesty; urgency=medium
260+
261+ * no-change rebuild for upload to zesty.
262+
263+ -- Scott Moser <smoser@ubuntu.com> Thu, 20 Oct 2016 12:40:08 -0400
264+
265+ifupdown (0.8.13ubuntu3) yakkety-proposed; urgency=medium
266+
267+ * networking.service: exclude loopback device lo in ExecStop (LP: #1629972)
268+
269+ -- Scott Moser <smoser@ubuntu.com> Fri, 14 Oct 2016 13:53:32 -0400
270+
271+ifupdown (0.8.13ubuntu2) yakkety; urgency=medium
272+
273+ * Fix a crash when multiple interfaces are specified for no-scripts
274+ (LP: #1618726)
275+
276+ -- Richard Laager <rlaager@wiktel.com> Wed, 31 Aug 2016 02:26:31 -0500
277+
278+ifupdown (0.8.13ubuntu1) yakkety; urgency=medium
279+
280+ * Merge with Debian unstable. Remaining Ubuntu changes:
281+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
282+ won't time out.
283+ - link.defn, tests/testbuild-linux: Disable upping of
284+ bridges as it's not covering all the cases supported by the vlan and
285+ bridge hooks and so causes more harm than good at this point.
286+ (LP: #1295304)
287+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
288+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
289+ to deal with "auto" devices appearing after the "networking" init script
290+ already ran. (LP: #1374521)
291+ - debian/postinst: Bring back missing /etc/rcS.d/networking symlink, to
292+ clean up after old broken upgrades. (LP: #1439109) Needs to be kept
293+ until after 16.04 LTS.
294+
295+ -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 08 Jun 2016 12:25:04 +0200
296+
297 ifupdown (0.8.13) unstable; urgency=medium
298
299 * Fix test suite on kFreeBSD. Closes: #826062
300@@ -383,6 +611,25 @@ ifupdown (0.8.11) unstable; urgency=medium
301
302 -- Guus Sliepen <guus@debian.org> Thu, 21 Apr 2016 18:22:20 +0200
303
304+ifupdown (0.8.10ubuntu1) xenial; urgency=medium
305+
306+ * Merge with Debian unstable. Remaining Ubuntu changes:
307+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
308+ won't time out.
309+ - link.defn, tests/testbuild-linux: Disable upping of
310+ bridges as it's not covering all the cases supported by the vlan and
311+ bridge hooks and so causes more harm than good at this point.
312+ (LP: #1295304)
313+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
314+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
315+ to deal with "auto" devices appearing after the "networking" init script
316+ already ran. (LP: #1374521)
317+ - debian/postinst: Bring back missing /etc/rcS.d/networking symlink, to
318+ clean up after old broken upgrades. (LP: #1439109) Needs to be kept
319+ until after 16.04 LTS.
320+
321+ -- Martin Pitt <martin.pitt@ubuntu.com> Sun, 24 Jan 2016 19:48:43 +0100
322+
323 ifupdown (0.8.10) unstable; urgency=medium
324
325 * Allow "hwaddress random" to generate a random MAC address.
326@@ -400,6 +647,37 @@ ifupdown (0.8.9) unstable; urgency=medium
327
328 -- Guus Sliepen <guus@debian.org> Thu, 21 Jan 2016 22:02:11 +0100
329
330+ifupdown (0.8.8ubuntu2) xenial; urgency=medium
331+
332+ * inet{,6}.defn: Don't down an interface when stopping. This breaks use
333+ cases like LTSP which create a "manual" interfaces stanza to prevent
334+ NetworkManager or other management software from touching the
335+ interface of the remote root file system. In the past we had the
336+ check_network_file_systems() check in /etc/init.d/networking that papered
337+ over this misbehaviour, but that is not being done any more in
338+ networking.service. (Closes: #809166, LP: #1492546)
339+
340+ -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 13 Jan 2016 16:00:49 +0100
341+
342+ifupdown (0.8.8ubuntu1) xenial; urgency=medium
343+
344+ * Merge with Debian unstable. Remaining Ubuntu changes:
345+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
346+ won't time out.
347+ - link.defn, tests/testbuild-linux: Disable upping of
348+ bridges as it's not covering all the cases supported by the vlan and
349+ bridge hooks and so causes more harm than good at this point.
350+ (LP: #1295304)
351+ - debian/postinst: Bring back missing /etc/rcS.d/networking symlink, to
352+ clean up after old broken upgrades. (LP: #1439109) Needs to be kept
353+ until after 16.04 LTS.
354+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
355+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
356+ to deal with "auto" devices appearing after the "networking" init script
357+ already ran. (LP: #1374521)
358+
359+ -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 13 Jan 2016 07:00:46 +0100
360+
361 ifupdown (0.8.8) unstable; urgency=medium
362
363 [ Martin Pitt ]
364@@ -431,6 +709,32 @@ ifupdown (0.8.7) unstable; urgency=medium
365
366 -- Guus Sliepen <guus@debian.org> Mon, 11 Jan 2016 22:58:44 +0100
367
368+ifupdown (0.8.6ubuntu2) xenial; urgency=medium
369+
370+ * Fix ifquery crash if interface state file does not exist yet.
371+ (Closes: #810779, LP: #1532722)
372+
373+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 12 Jan 2016 08:13:08 +0100
374+
375+ifupdown (0.8.6ubuntu1) xenial; urgency=medium
376+
377+ * Merge with Debian unstable. Remaining Ubuntu changes:
378+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
379+ won't time out.
380+ - link.defn, tests/testbuild-linux: Disable upping of bridges as it's not
381+ covering all the cases supported by the vlan and bridge hooks and so
382+ causes more harm than good at this point. (LP: #1295304)
383+ - debian/postinst: Bring back missing /etc/rcS.d/networking symlink, to
384+ clean up after old broken upgrades. (LP: #1439109) Needs to be kept
385+ until after 16.04 LTS.
386+ - ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
387+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
388+ to deal with "auto" devices appearing after the "networking" init script
389+ already ran. (LP: #1374521)
390+ * Removed Breaks: on udev fixes upgrade failure. (LP: #1531685)
391+
392+ -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 07 Jan 2016 11:45:47 +0100
393+
394 ifupdown (0.8.6) unstable; urgency=medium
395
396 * Remove the Breaks: udev (<< 228-3~) to work around a bug in udev's prerm
397@@ -440,6 +744,30 @@ ifupdown (0.8.6) unstable; urgency=medium
398
399 -- Guus Sliepen <guus@debian.org> Tue, 05 Jan 2016 15:57:45 +0100
400
401+ifupdown (0.8.5ubuntu1) xenial; urgency=medium
402+
403+ * Merge with Debian unstable. Remaining Ubuntu changes:
404+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
405+ won't time out.
406+ - Allow setting the MTU and HWADDR on manual interfaces. (LP: #1294807)
407+ - inet.defn: Bring up "manual" interfaces automatically, as that's what
408+ many users expect.
409+ - link.defn, tests/testbuild-linux: Disable upping of bridges as it's not
410+ covering all the cases supported by the vlan and bridge hooks and so
411+ causes more harm than good at this point. (LP: #1295304)
412+ - debian/postinst: Bring back missing /etc/rcS.d/networking symlink, to
413+ clean up after old broken upgrades. (LP: #1439109) Needs to be kept
414+ until after 16.04 LTS.
415+ * Drop ifup-wait-all-auto.service. This has been implemented more elegantly
416+ by making network-online.target Wants=networking.service directly.
417+ * ifup@.service, ifupdown-hotplug: Additionally run for "auto" class. We
418+ don't really support "allow-hotplug" in Ubuntu at the moment, so we need
419+ to deal with "auto" devices appearing after the "networking" init script
420+ already ran. This change previously lived in systemd, but the ifupdown
421+ hotplug handling moved to ifupdown proper now. (LP: #1374521)
422+
423+ -- Martin Pitt <martin.pitt@ubuntu.com> Sun, 03 Jan 2016 11:20:08 +0100
424+
425 ifupdown (0.8.5) unstable; urgency=medium
426
427 [ Stéphane Graber ]
428@@ -533,6 +861,33 @@ ifupdown (0.8) unstable; urgency=medium
429
430 -- Guus Sliepen <guus@debian.org> Tue, 01 Dec 2015 23:09:54 +0100
431
432+ifupdown (0.7.54ubuntu2) xenial; urgency=medium
433+
434+ * Per-interface hierarchical locking. Backported from Debian git head.
435+ (LP: #1337873, Closes: #753755)
436+
437+ -- Dariusz Gadomski <dariusz.gadomski@canonical.com> Thu, 10 Nov 2015 11:30:14 +0200
438+
439+ifupdown (0.7.54ubuntu1) wily; urgency=medium
440+
441+ * Merge with Debian unstable. Remaining Ubuntu changes:
442+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
443+ won't time out.
444+ - Allow setting the MTU and HWADDR on manual interfaces. (LP: #1294807)
445+ - The above change also means that manual interfaces will now be
446+ brought up and down (as many users expected until now).
447+ - Disable link.defn as it's not covering all the cases supported by
448+ the vlan and bridge hooks and so causes more harm than good at this
449+ point. (LP: #1295304)
450+ - Add ifup-wait-all-auto.service which makes network-online.target wait
451+ for all "auto" /etc/network/interfaces for up to two minutes.
452+ - debian/postinst: Bring back missing /etc/rcS.d/networking symlink, to
453+ clean up after old broken upgrades. (LP: #1439109) Needs to be kept
454+ until after 16.04 LTS.
455+ * Drop debian/ifupdown.udev. We don't support the "netdev" group.
456+
457+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 10 Jul 2015 06:44:18 +0200
458+
459 ifupdown (0.7.54) unstable; urgency=medium
460
461 [ Guus Sliepen ]
462@@ -614,6 +969,116 @@ ifupdown (0.7.49) unstable; urgency=medium
463
464 -- Andrew Shadura <andrewsh@debian.org> Tue, 23 Sep 2014 17:39:51 +0200
465
466+ifupdown (0.7.48.1ubuntu10) vivid; urgency=medium
467+
468+ * ifup-wait-all-auto.service: Relax dependencies to allow early boot
469+ services like open-iscsi to wait for network-online.target.
470+ (LP: #1444555)
471+
472+ -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 15 Apr 2015 17:20:09 -0500
473+
474+ifupdown (0.7.48.1ubuntu9) vivid; urgency=medium
475+
476+ * debian/ifupdown.ifup-wait-all-auto.service: Wait until ifup's are actually
477+ done (their pid files go away), not just until ifstate claims that they
478+ are up (which happens at the beginning of ifup, not at the end). Fixes
479+ network-online.target to wait until "auto" interfaces are really up.
480+ (LP: #1442828)
481+
482+ -- Martin Pitt <martin.pitt@ubuntu.com> Sun, 12 Apr 2015 06:49:10 -0500
483+
484+ifupdown (0.7.48.1ubuntu8) vivid; urgency=medium
485+
486+ * debian/postinst: Bring back missing /etc/rcS.d/networking symlink, to
487+ clean up after old broken upgrades. (LP: #1439109)
488+
489+ -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 08 Apr 2015 12:02:39 +0200
490+
491+ifupdown (0.7.48.1ubuntu7) vivid; urgency=medium
492+
493+ * Fix symlink target of ifup-wait-all-auto.service so that it works as
494+ intended. LP: #1425376.
495+
496+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 03 Apr 2015 17:42:13 -0700
497+
498+ifupdown (0.7.48.1ubuntu6) vivid; urgency=medium
499+
500+ * Add ifup-wait-all-auto.service which makes network-online.target wait for
501+ all "auto" /etc/network/interfaces for up to two minutes. This provides
502+ the counterpart of upstart's static-network-up signal under systemd, so
503+ that network-online.target behaves as intended with statically configured
504+ interfaces.
505+
506+ -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 19 Jan 2015 17:48:38 +0100
507+
508+ifupdown (0.7.48.1ubuntu5) utopic; urgency=medium
509+
510+ * Fix broken loopback handling due to incorrect patching of the Debian
511+ source. (LP: #1375821)
512+
513+ -- Stéphane Graber <stgraber@ubuntu.com> Wed, 01 Oct 2014 11:43:43 -0400
514+
515+ifupdown (0.7.48.1ubuntu4) utopic; urgency=high
516+
517+ * No change rebuild against new dh_installinit, to call update-rc.d at
518+ postinst.
519+
520+ -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 28 May 2014 10:41:23 +0100
521+
522+ifupdown (0.7.48.1ubuntu3) utopic; urgency=medium
523+
524+ * Use exec ifup/ifdown again for network-interface upstart job.
525+
526+ -- Benjamin Drung <bdrung@ubuntu.com> Thu, 08 May 2014 19:30:03 +0200
527+
528+ifupdown (0.7.48.1ubuntu2) utopic; urgency=medium
529+
530+ * Do not call ifup/ifdown twice in network-interface upstart job
531+ if auto and auto-hotplug are specified. (LP: #1315756)
532+
533+ -- Benjamin Drung <benjamin.drung@profitbricks.com> Thu, 08 May 2014 16:07:26 +0200
534+
535+ifupdown (0.7.48.1ubuntu1) utopic; urgency=medium
536+
537+ [ Stéphane Graber ]
538+ * Merge from Debian. Remaining changes:
539+ - Add transition code for moving /etc/init.d/networking from netbase
540+ to ifupdown.
541+ - On upgrade from 0.7.5ubuntu4, handle the fact that our unmodified
542+ conffile may have a mismatch in the dpkg database and manually
543+ shuffle the file around on upgrade. LP: #1217263.
544+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
545+ won't time out.
546+ - Allow setting the MTU and HWADDR on manual interfaces. (LP: #1294807)
547+ - The above change also means that manual interfaces will now be
548+ brought up and down (as many users expected until now).
549+ - Disable link.defn as it's not covering all the cases supported by
550+ the vlan and bridge hooks and so causes more harm than good at this
551+ point. (LP: #1295304)
552+ - Also enable network-interface-container for OpenVZ. (LP: #1294155)
553+ - Update networking.init to exit 1 on reload when on an upstart system.
554+ - Pass --force to ifdown in network-interface to silence errors on
555+ non-existing interfaces. (LP: #1295620)
556+ - Prevent the ability to stop or restart networking service
557+ interactively. As that is not supported. Networking job is only stopped
558+ during shutdown sequence. (LP: #1072518)
559+ * Dropped NetworkManager.conf support, the NetworkManager
560+ ifupdown:managed mode was never really supported and this causes quite a
561+ massive delta on ifupdown's side.
562+ If you do use that option at the moment, you will need to decide
563+ between managing the interface with NetworkManager (removing it from
564+ interfaces) or managing it with ifupdown (removing ifupdown:managed=true
565+ and the interface from NM).
566+ * Stopped removing /etc/default/networking. The file still won't be
567+ used as the upstart jobs don't parse it but there wasn't a good reason
568+ to carry this as a delta.
569+
570+ [ Benjamin Drung ]
571+ * Fix network-interface upstart job to bring up allow-hotplug devices.
572+ (LP: #1307429)
573+
574+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 01 May 2014 19:01:35 -0400
575+
576 ifupdown (0.7.48.1) unstable; urgency=low
577
578 * Add --ignore-errors option.
579@@ -638,6 +1103,64 @@ ifupdown (0.7.48) unstable; urgency=low
580
581 -- Andrew Shadura <andrewsh@debian.org> Sun, 23 Mar 2014 15:03:09 +0100
582
583+ifupdown (0.7.47.2ubuntu4) trusty; urgency=medium
584+
585+ * Update the previous fix to actually apply to the upgrade path we
586+ care about, saucy to trusty. (LP: #1283274)
587+
588+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 03 Apr 2014 22:15:20 -0400
589+
590+ifupdown (0.7.47.2ubuntu3) trusty; urgency=medium
591+
592+ * Fix the preinst to match the current networking.init. (LP: #1283274)
593+
594+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 03 Apr 2014 17:34:53 -0400
595+
596+ifupdown (0.7.47.2ubuntu2) trusty; urgency=medium
597+
598+ [ Stéphane Graber ]
599+ * Allow setting the MTU and HWADDR on manual interfaces. (LP: #1294807)
600+ * The above change also means that manual interfaces will now be
601+ brought up and down (as many users expected until now).
602+ * Disable link.defn as it's not covering all the cases supported by
603+ the vlan and bridge hooks and so causes more harm than good at this
604+ point. (LP: #1295304)
605+ * Also enable network-interface-container for OpenVZ. (LP: #1294155)
606+ * Update networking.init to exit 1 on reload when on an upstart system.
607+ * Pass --force to ifdown in network-interface to silence errors on
608+ non-existing interfaces. (LP: #1295620)
609+
610+ [ Dimitri John Ledkov ]
611+ * Prevent the ability to stop or restart networking service
612+ interactively. As that is not supported. Networking job is only stopped
613+ during shutdown sequence. (LP: #1072518)
614+
615+ -- Stéphane Graber <stgraber@ubuntu.com> Wed, 19 Mar 2014 18:04:49 -0400
616+
617+ifupdown (0.7.47.2ubuntu1) trusty; urgency=low
618+
619+ * Merge from Debian. Remaining changes:
620+ - If the /etc/NetworkManager/NetworkManager.conf file is present
621+ but doesn't have the "ifupdown:managed" the previous upload instructed
622+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
623+ it to return 0, as we shouldn't prevent ifupdown from managing the
624+ interfaces in that case, as NM won't either. (LP: #281984)
625+ - Remove /etc/default/networking as the upstart job doesn't use it and
626+ can't really use it without some significant changes (support exclusion
627+ lists in all the upstart jobs).
628+ - Add transition code for moving /etc/init.d/networking from netbase
629+ to ifupdown.
630+ - Make /etc/init.d/networking exit 1 immediately on Upstart system
631+ with an error message telling the user to use 'service'.
632+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
633+ won't time out.
634+ - On upgrade from 0.7.5ubuntu4, handle the fact that our unmodified
635+ conffile may have a mismatch in the dpkg database and manually
636+ shuffle the file around on upgrade. LP: #1217263.
637+ - Fix testbuild.linux (missing settle-dad.sh)
638+
639+ -- Stéphane Graber <stgraber@ubuntu.com> Wed, 08 Jan 2014 16:48:32 -0500
640+
641 ifupdown (0.7.47.2) unstable; urgency=low
642
643 * Rebuild to avoid useless dependencies on sysv-rc and file-rc.
644@@ -645,6 +1168,30 @@ ifupdown (0.7.47.2) unstable; urgency=low
645
646 -- Andrew Shadura <andrewsh@debian.org> Mon, 06 Jan 2014 21:23:03 +0100
647
648+ifupdown (0.7.47.1ubuntu1) trusty; urgency=low
649+
650+ * Merge from Debian. Remaining changes:
651+ - If the /etc/NetworkManager/NetworkManager.conf file is present
652+ but doesn't have the "ifupdown:managed" the previous upload instructed
653+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
654+ it to return 0, as we shouldn't prevent ifupdown from managing the
655+ interfaces in that case, as NM won't either. (LP: #281984)
656+ - Remove /etc/default/networking as the upstart job doesn't use it and
657+ can't really use it without some significant changes (support exclusion
658+ lists in all the upstart jobs).
659+ - Add transition code for moving /etc/init.d/networking from netbase
660+ to ifupdown.
661+ - Make /etc/init.d/networking exit 1 immediately on Upstart system
662+ with an error message telling the user to use 'service'.
663+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
664+ won't time out.
665+ - On upgrade from 0.7.5ubuntu4, handle the fact that our unmodified
666+ conffile may have a mismatch in the dpkg database and manually
667+ shuffle the file around on upgrade. LP: #1217263.
668+ - Fix testbuild.linux (missing settle-dad.sh)
669+
670+ -- Stéphane Graber <stgraber@ubuntu.com> Mon, 02 Dec 2013 18:00:44 -0500
671+
672 ifupdown (0.7.47.1) unstable; urgency=low
673
674 * Depend on adduser (Closes: #730598).
675@@ -659,6 +1206,30 @@ ifupdown (0.7.47) unstable; urgency=low
676
677 -- Andrew Shadura <andrewsh@debian.org> Tue, 26 Nov 2013 08:27:29 +0100
678
679+ifupdown (0.7.46.1ubuntu1) trusty; urgency=low
680+
681+ * Merge from Debian. Remaining changes:
682+ - If the /etc/NetworkManager/NetworkManager.conf file is present
683+ but doesn't have the "ifupdown:managed" the previous upload instructed
684+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
685+ it to return 0, as we shouldn't prevent ifupdown from managing the
686+ interfaces in that case, as NM won't either. (LP: #281984)
687+ - Remove /etc/default/networking as the upstart job doesn't use it and
688+ can't really use it without some significant changes (support exclusion
689+ lists in all the upstart jobs).
690+ - Add transition code for moving /etc/init.d/networking from netbase
691+ to ifupdown.
692+ - Make /etc/init.d/networking exit 1 immediately on Upstart system
693+ with an error message telling the user to use 'service'.
694+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
695+ won't time out.
696+ - On upgrade from 0.7.5ubuntu4, handle the fact that our unmodified
697+ conffile may have a mismatch in the dpkg database and manually
698+ shuffle the file around on upgrade. LP: #1217263.
699+ * Fix testbuild.linux (missing settle-dad.sh)
700+
701+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 14 Nov 2013 16:21:04 -0500
702+
703 ifupdown (0.7.46.1) unstable; urgency=low
704
705 * Disable DHCP test on Hurd to make the package buildable again.
706@@ -675,6 +1246,29 @@ ifupdown (0.7.46) unstable; urgency=low
707
708 -- Andrew Shadura <andrewsh@debian.org> Wed, 13 Nov 2013 13:46:58 +0100
709
710+ifupdown (0.7.45ubuntu1) trusty; urgency=low
711+
712+ * Merge from Debian. Remaining changes:
713+ - If the /etc/NetworkManager/NetworkManager.conf file is present
714+ but doesn't have the "ifupdown:managed" the previous upload instructed
715+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
716+ it to return 0, as we shouldn't prevent ifupdown from managing the
717+ interfaces in that case, as NM won't either. (LP: #281984)
718+ - Remove /etc/default/networking as the upstart job doesn't use it and
719+ can't really use it without some significant changes (support exclusion
720+ lists in all the upstart jobs).
721+ - Add transition code for moving /etc/init.d/networking from netbase
722+ to ifupdown.
723+ - Make /etc/init.d/networking exit 1 immediately on Upstart system
724+ with an error message telling the user to use 'service'.
725+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
726+ won't time out.
727+ - On upgrade from 0.7.5ubuntu4, handle the fact that our unmodified
728+ conffile may have a mismatch in the dpkg database and manually
729+ shuffle the file around on upgrade. LP: #1217263.
730+
731+ -- Stéphane Graber <stgraber@ubuntu.com> Mon, 21 Oct 2013 13:28:07 -0400
732+
733 ifupdown (0.7.45) unstable; urgency=low
734
735 * Fix files enumeration in source-directory.
736@@ -692,6 +1286,47 @@ ifupdown (0.7.45) unstable; urgency=low
737
738 -- Andrew Shadura <andrewsh@debian.org> Sat, 19 Oct 2013 20:25:51 +0200
739
740+ifupdown (0.7.44ubuntu3) saucy; urgency=low
741+
742+ * Backport a fix from upstream mercurial
743+ (http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/fb3055c2c4f0)
744+ for a regression introduced by a93db3ecb8f0. LP: #1226067
745+
746+ -- Chris J Arges <chris.j.arges@canonical.com> Mon, 16 Sep 2013 11:10:08 -0500
747+
748+ifupdown (0.7.44ubuntu2) saucy; urgency=low
749+
750+ * On upgrade from 0.7.5ubuntu4, handle the fact that our unmodified conffile
751+ may have a mismatch in the dpkg database and manually shuffle the file
752+ around on upgrade. LP: #1217263.
753+
754+ [ Chris Arges ]
755+ * Backport a fix from upstream mercurial
756+ (http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/a93db3ecb8f0)
757+ for a race condition when updating the state file. LP: #1160490
758+
759+ -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 01 Sep 2013 06:43:53 +0000
760+
761+ifupdown (0.7.44ubuntu1) saucy; urgency=low
762+
763+ * Merge from Debian. Remaining changes:
764+ - If the /etc/NetworkManager/NetworkManager.conf file is present
765+ but doesn't have the "ifupdown:managed" the previous upload instructed
766+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
767+ it to return 0, as we shouldn't prevent ifupdown from managing the
768+ interfaces in that case, as NM won't either. (LP: #281984)
769+ - Remove /etc/default/networking as the upstart job doesn't use it and
770+ can't really use it without some significant changes (support exclusion
771+ lists in all the upstart jobs).
772+ - Add transition code for moving /etc/init.d/networking from netbase
773+ to ifupdown.
774+ - Make /etc/init.d/networking exit 1 immediately on Upstart system
775+ with an error message telling the user to use 'service'.
776+ - Always call dhclient with -1, Ubuntu carries a patch so that renewal
777+ won't time out.
778+
779+ -- Stéphane Graber <stgraber@ubuntu.com> Mon, 26 Aug 2013 16:56:45 -0400
780+
781 ifupdown (0.7.44) unstable; urgency=low
782
783 * Convert from noweb to plain C (Closes: #707209).
784@@ -805,6 +1440,63 @@ ifupdown (0.7.6) unstable; urgency=low
785
786 -- Andrew Shadura <bugzilla@tut.by> Sun, 03 Mar 2013 12:08:16 +0100
787
788+ifupdown (0.7.5ubuntu4) saucy; urgency=low
789+
790+ * Due to the checkered history of /etc/init.d/networking, only remove the
791+ upstart-job symlink in the preinst if the dpkg status is 'newconffile',
792+ to avoid bogus conffile prompts on upgrade, and manually manipulate the
793+ new conffile into place in the postinst. LP: #1181856.
794+
795+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 20 May 2013 19:05:31 +0000
796+
797+ifupdown (0.7.5ubuntu3) saucy; urgency=low
798+
799+ * Restore lsb-base and init_is_upstart now that the new lsb-base is in
800+ Ubuntu.
801+ * Explicitly invoke update-rc.d for networking in the postinst (and
802+ postrm): we will need this in the sequence in order to be able to use
803+ insserv later.
804+ * Drop redundant debian/conffiles.
805+
806+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 18 May 2013 23:31:07 +0000
807+
808+ifupdown (0.7.5ubuntu2) raring; urgency=low
809+
810+ * Update network-interface-security job to stop when the parent job is
811+ stopped itself. This avoids leftover instances. (LP: #1065684)
812+ * Set mtu of tunnel devices. (LP: #1074048)
813+ * Actually set the new calculated value for duplicate entries. (LP: #1086517)
814+
815+ -- Stéphane Graber <stgraber@ubuntu.com> Tue, 11 Dec 2012 19:53:56 -0500
816+
817+ifupdown (0.7.5ubuntu1) raring; urgency=low
818+
819+ * Merge ifupdown 0.7.5 from Debian. Remaining changes:
820+ - debian/ifupdown.neworking.upstart (forwarded to Debian):
821+ + Don't bring 'lo' down (add it to --exclude)
822+ + Emit deconfiguring-networking (LP: #1061639)
823+ - Remove /etc/default/networking as the upstart job doesn't use it and
824+ can't really use it without some significant changes (support exclusion
825+ lists in all the upstart jobs).
826+ - Add resolvconf (8) to SEE ALSO section of the interfaces manpage.
827+ (LP: #1043335)
828+ - If the /etc/NetworkManager/NetworkManager.conf file is present
829+ but doesn't have the "ifupdown:managed" the previous upload instructed
830+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
831+ it to return 0, as we shouldn't prevent ifupdown from managing the
832+ interfaces in that case, as NM won't either. (LP: #281984)
833+ - debian/postinst: If the loopback interface is missing from the config
834+ in /etc/network/interfaces, add it on upgrade.
835+ - Decrease version dependency against initscripts as the new version isn't
836+ in Ubuntu yet and the relevant change was added to the older version.
837+ * Remove versioned dependency against lsb-base and matching init_is_upstart
838+ calls in the various scripts as the new version isn't in Ubuntu yet.
839+ * debian/rules revert changes to dh_installinit calls to force all init
840+ scripts to be only upstart scripts. This can probably be reverted once we
841+ have the new lsb-base.
842+
843+ -- Stéphane Graber <stgraber@ubuntu.com> Mon, 05 Nov 2012 11:06:10 -0500
844+
845 ifupdown (0.7.5) unstable; urgency=low
846
847 * Fix upstart hooks (Closes: #692110).
848@@ -829,6 +1521,33 @@ ifupdown (0.7.3) unstable; urgency=low
849
850 -- Andrew O. Shadura <bugzilla@tut.by> Tue, 16 Oct 2012 10:39:24 +0200
851
852+ifupdown (0.7.2ubuntu2) quantal; urgency=low
853+
854+ * Fix regression with the removal of the sysvinit networking job:
855+ - Don't bring 'lo' down (add it to --exclude)
856+ - Emit deconfiguring-networking (LP: #1061639)
857+
858+ -- Stéphane Graber <stgraber@ubuntu.com> Tue, 09 Oct 2012 11:13:27 -0400
859+
860+ifupdown (0.7.2ubuntu1) quantal; urgency=low
861+
862+ * Merge ifupdown 0.7.2 from Debian. Remaining changes:
863+ - If the /etc/NetworkManager/NetworkManager.conf file is present
864+ but doesn't have the "ifupdown:managed" the previous upload instructed
865+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
866+ it to return 0, as we shouldn't prevent ifupdown from managing the
867+ interfaces in that case, as NM won't either. (LP: #281984)
868+ - debian/postinst: If the loopback interface is missing from the config
869+ in /etc/network/interfaces, add it on upgrade.
870+ - Add jobs and hooks for upstart.
871+ * Remove /etc/default/networking as the upstart job doesn't use it and
872+ can't really use it without some significant changes (support exclusion
873+ lists in all the upstart jobs).
874+ * Add resolvconf (8) to SEE ALSO section of the interfaces manpage.
875+ (LP: #1043335)
876+
877+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 13 Sep 2012 11:18:07 -0400
878+
879 ifupdown (0.7.2) unstable; urgency=low
880
881 * Don't install /etc/default/networking as executable (Closes: #679623).
882@@ -843,6 +1562,56 @@ ifupdown (0.7.2) unstable; urgency=low
883
884 -- Andrew O. Shadura <bugzilla@tut.by> Thu, 16 Aug 2012 23:22:32 +0200
885
886+ifupdown (0.7.1ubuntu3) quantal; urgency=low
887+
888+ * Add a 'stop on' rule for the networking service, so that we tear the
889+ network down at the correct point in the shutdown sequence (after remote
890+ filesystems have been unmounted). This is mostly needed when using
891+ insserv upstart integration (not yet in Ubuntu) to ensure the shutdown
892+ doesn't hang waiting for an unsatisfiable init script dependency, but it
893+ also addresses the need for shutting down networking on runlevel changes
894+ - provided that umountnfs.sh itself is called for runlevel 1, which it
895+ currently is not.
896+ * Also start the job on runlevel [2345]. This is a no-op during a normal
897+ boot since the network will be started *before* runlevel is emitted, but
898+ is needed to restart the network after a change from runlevel 1.
899+ LP: #752481.
900+
901+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 06 Sep 2012 15:05:32 -0400
902+
903+ifupdown (0.7.1ubuntu2) quantal; urgency=low
904+
905+ * Make /etc/init.d/networking a conffile even if it's a symlink.
906+ This should help dpkg do the right thing when moving the file from netbase
907+ over to ifupdown. This is a workaround for (LP: #1023437)
908+
909+ -- Stéphane Graber <stgraber@ubuntu.com> Wed, 11 Jul 2012 11:51:57 -0400
910+
911+ifupdown (0.7.1ubuntu1) quantal; urgency=low
912+
913+ * Resynchronise with Debian experimental. Remaining changes:
914+ - If the /etc/NetworkManager/NetworkManager.conf file is present
915+ but doesn't have the "ifupdown:managed" the previous upload instructed
916+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
917+ it to return 0, as we shouldn't prevent ifupdown from managing the
918+ interfaces in that case, as NM won't either. (LP: #281984)
919+ - debian/postinst: If the loopback interface is missing from the config
920+ in /etc/network/interfaces, add it on upgrade.
921+ - Add jobs and hooks for upstart.
922+ - Cherry-pick commit a1f8efc4d93f from upstream, add --no-scripts as a
923+ parameter to ifup/ifdown, allowing the user to bypass the the scripts
924+ in /etc/network/if-*.d/ (LP: #258782)
925+ * Don't include new /etc/default/networking as it's incompatible with event
926+ based networking configuration.
927+ * Don't bump dependency on initscripts as the dependency isn't required with
928+ the upstart jobs and the new version isn't in Ubuntu yet.
929+ * Drop our code hardcoding the metric at 100 for the default gateway,
930+ this was used to avoid conflicts between ifupdown and Network Manager.
931+ Nowadays Network Manager won't manage an interface defined in ifupdown
932+ and the rest of the metric changes are now in ifupdown.
933+
934+ -- Stéphane Graber <stgraber@ubuntu.com> Tue, 03 Jul 2012 13:49:30 -0400
935+
936 ifupdown (0.7.1) unstable; urgency=low
937
938 * Supply metric setting to dhclient (Closes: #279741, #364581, #676323).
939@@ -867,6 +1636,32 @@ ifupdown (0.7.1) unstable; urgency=low
940
941 -- Andrew O. Shadura <bugzilla@tut.by> Thu, 21 Jun 2012 18:59:10 +0200
942
943+ifupdown (0.7ubuntu1) quantal-proposed; urgency=low
944+
945+ * Resynchronise with Debian experimental. Remaining changes:
946+ (LP: #298488, LP: #663352)
947+ - ifupdown.nw: Use 100 as default route metric unless an explicit metric
948+ parameter is set in /etc/network/interface.
949+ - If the /etc/NetworkManager/NetworkManager.conf file is present
950+ but doesn't have the "ifupdown:managed" the previous upload instructed
951+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
952+ it to return 0, as we shouldn't prevent ifupdown from managing the
953+ interfaces in that case, as NM won't either. (LP: #281984)
954+ - debian/postinst: If the loopback interface is missing from the config
955+ in /etc/network/interfaces, add it on upgrade.
956+ - Add jobs and hooks for upstart.
957+ * Cherry-pick commit 011d5904c09d from upstream, fixing cases where the
958+ error messages wouldn't be triggered (caused test failure).
959+ * Cherry-pick commit 7c1a226cc995 from upstream, adds support for two
960+ options on dhcpv6 (accept_ra and autoconf) (LP: #1013597)
961+ * Cherry-pick commit 5af7e814faee from upstream, fixing a failure in the
962+ example script generate-interfaces.pl (LP: #286808)
963+ * Cherry-pick commit a1f8efc4d93f from upstream, add --no-scripts as a
964+ parameter to ifup/ifdown, allowing the user to bypass the the scripts
965+ in /etc/network/if-*.d/ (LP: #258782)
966+
967+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 28 Jun 2012 17:21:45 -0400
968+
969 ifupdown (0.7) unstable; urgency=low
970
971 * Accept duplicate options in /etc/network/interfaces, join them using
972@@ -917,6 +1712,31 @@ ifupdown (0.7~rc3) unstable; urgency=low
973
974 -- Andrew O. Shadura <bugzilla@tut.by> Mon, 14 May 2012 11:42:08 +0200
975
976+ifupdown (0.7~rc2+experimentalubuntu2) quantal; urgency=low
977+
978+ * Fix upstart hook to ignore ADDRFAM=meta (ifup -a).
979+ * Cherry-pick commit 6c67e908b934 from upstream, making ifquery only
980+ list interfaces with a matching iface entry.
981+
982+ -- Stéphane Graber <stgraber@ubuntu.com> Mon, 14 May 2012 10:14:34 -0400
983+
984+ifupdown (0.7~rc2+experimentalubuntu1) quantal; urgency=low
985+
986+ * Resynchronise with Debian experimental. Remaining changes:
987+ - ifupdown.nw: Use 100 as default route metric unless an explicit metric
988+ parameter is set in /etc/network/interface.
989+ - If the /etc/NetworkManager/NetworkManager.conf file is present
990+ but doesn't have the "ifupdown:managed" the previous upload instructed
991+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
992+ it to return 0, as we shouldn't prevent ifupdown from managing the
993+ interfaces in that case, as NM won't either. (LP: #281984)
994+ - debian/postinst: If the loopback interface is missing from the config
995+ in /etc/network/interfaces, add it on upgrade.
996+ - Add jobs and hooks for upstart, don't install ifupdown's
997+ /etc/init.d/networking (using net-base's for now)
998+
999+ -- Stéphane Graber <stgraber@ubuntu.com> Wed, 02 May 2012 22:55:36 -0400
1000+
1001 ifupdown (0.7~rc2+experimental) experimental; urgency=low
1002
1003 * Try to bring hotplug interfaces up on initscript restart
1004@@ -979,6 +1799,138 @@ ifupdown (0.7~rc1+experimental) experimental; urgency=low
1005
1006 -- Andrew O. Shadura <bugzilla@tut.by> Tue, 17 Apr 2012 01:05:42 +0200
1007
1008+ifupdown (0.7~beta2ubuntu8) precise; urgency=low
1009+
1010+ * Start networking upstart job on 'or container', to let us optimize the
1011+ udevtrigger job.
1012+
1013+ -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 04 Apr 2012 17:27:03 -0700
1014+
1015+ifupdown (0.7~beta2ubuntu7) precise; urgency=low
1016+
1017+ [ Wookey ]
1018+ * Use cross-compiler when cross-compiling (LP: #967227)
1019+ Also merged upstream as:
1020+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/b21bc14d9109
1021+
1022+ [ Stéphane Graber ]
1023+ * Cherry pick commits from upstream to fix the broadcast address (LP: #924880)
1024+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/d31ffdb89dbb
1025+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/b996bb5866f5
1026+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/fbe3c242d6f8
1027+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/bdfd32ad6287
1028+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/d144dfdd7940
1029+
1030+ * Detect bogus dns-nameservers line in /etc/network/interfaces and
1031+ automatically comment them (LP: #932275)
1032+
1033+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 29 Mar 2012 17:39:32 -0400
1034+
1035+ifupdown (0.7~beta2ubuntu6) precise; urgency=low
1036+
1037+ * Fix previous upload.
1038+ * Forgot to update the test suite in previous upload...
1039+ Update debian/testbuild-linux to drop --exit-on-error.
1040+
1041+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 16 Feb 2012 10:50:53 -0500
1042+
1043+ifupdown (0.7~beta2ubuntu5) precise; urgency=low
1044+
1045+ * Revert upstream commit setting --exit-on-error to the run-parts call.
1046+ Scripts still shouldn't exit non-zero unless they plan to stop the
1047+ network configuration, but considering the amount of broken scripts
1048+ out there, it was considered safer to ignore their return value for
1049+ 12.04.
1050+ This change will be reverted in 12.10 when Debian also has the new
1051+ ifupdown.
1052+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/2625e15a5fc2
1053+
1054+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 16 Feb 2012 10:17:56 -0500
1055+
1056+ifupdown (0.7~beta2ubuntu4) precise; urgency=low
1057+
1058+ * Add a new network-interface-container upstart job that will emit
1059+ a fake net-device-added for the loopback interface on LXC
1060+ and LXC-libvirt.
1061+ This is needed as we don't get a udev event for the loopback interface
1062+ and net-device-up won't be emitted for the loopback interface in the
1063+ if-up.d hook (as it's supposed to be done in network-interface).
1064+
1065+ -- Stéphane Graber <stgraber@ubuntu.com> Sun, 12 Feb 2012 16:14:53 -0500
1066+
1067+ifupdown (0.7~beta2ubuntu3) precise; urgency=low
1068+
1069+ * More label fixes from upstream, don't bring down the parent
1070+ when bringing down a label.
1071+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/f9cef973859e
1072+ http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/80a68bbbd45d
1073+ * /etc/init/network-interface-security.conf was made a conffile in
1074+ maverick. Update the check in postinst to fix upgrade from Oneiric.
1075+ (LP: #918323)
1076+ * Fix NetworkManager managed mode detection to look at
1077+ /etc/NetworkManager/NetworkManager.conf instead of
1078+ /etc/NetworkManager/nm-system-settings.conf (LP: #918354)
1079+
1080+ -- Stéphane Graber <stgraber@ubuntu.com> Wed, 18 Jan 2012 14:19:03 -0500
1081+
1082+ifupdown (0.7~beta2ubuntu2) precise; urgency=low
1083+
1084+ * Make sure we always call dhclient(3) with /var/lib/dhcp instead of
1085+ /var/lib/dhcp3 (needed as dhclient3 is now a symlink to dhclient).
1086+ (LP: #900234)
1087+ * Fix typo in previous changelog entry (LP: #916263)
1088+ * Automatically convert network-interface-security.conf to a conffile
1089+ (LP: #917185)
1090+
1091+ -- Stéphane Graber <stgraber@ubuntu.com> Mon, 16 Jan 2012 17:54:26 -0500
1092+
1093+ifupdown (0.7~beta2ubuntu1) precise; urgency=low
1094+
1095+ * Resynchronise with Debian experimental. Remaining changes
1096+ (LP: #905660, LP: #850566, LP: #611877, LP: #678425):
1097+ - ifupdown.nw: Use 100 as default route metric unless an explicit metric
1098+ parameter is set in /etc/network/interface.
1099+ - Add iniparser3.0b sources (dictionary.c, dictionary.h, iniparser.c,
1100+ iniparser.h), to let ifupdown avoid auto-up/down of interfaces if
1101+ network-manager's ifupdown plugin is in managed=true mode.
1102+ - Add a new query interface, 'ifquery', that can be used by upstart
1103+ hooks to ask for the list of possible interfaces that they might need
1104+ to bring up.
1105+ - debian/ifupdown.network-interface.upstart: Replace the init scripts
1106+ with a per-interface Upstart job.
1107+ - debian/ifupdown.networking.upstart: Add a "networking" job that
1108+ partially replaces the networking init script from netbase.
1109+ - debian/control: Bump build-dependency on debhelper for Upstart-aware
1110+ dh_installinit.
1111+ - debian/rules: Due to debhelper always adding /etc/init.d symlinks, we
1112+ must manually remove /etc/init.d/networking for as long as netbase
1113+ still provides it.
1114+ - Add if-up and if-down scripts to emit Upstart events when interfaces
1115+ come up and go down.
1116+ - debian/ifupdown.network-interface-security.upstart: Ensure apport is
1117+ started before interfaces are brought up by either ifupdown or
1118+ network-manager.
1119+ - debian/postinst: If the loopback interface is missing from the config
1120+ in /etc/network/interfaces, add it on upgrade.
1121+ - debian/ifupdown.preinst: Since files in /etc were not conffiles in
1122+ lucid, and /etc/network/if-up.d/upstart and
1123+ /etc/init/network-interface.conf changed between lucid final and
1124+ maverick, add extra handling to avoid spurious conffile prompts.
1125+ - invoke dhclient3 with '-1', meaning it should exit failure if it does
1126+ not receive a response in 60 seconds. (LP: #838968)
1127+ - contrib/ifstate-check: Use /run/network/ifstate instead of
1128+ /etc/network/run/ifstate
1129+ - ifup.8: Update man page to indicate that Ubuntu uses /run
1130+ and that it's always writable as it's a temporary filesystem
1131+ * ifupdown.nw: When calling dhclient3, also use /var/lib/dhcp as
1132+ dhclient3 is now a symlink to dhclient and /var/lib/dhcp3 no longer
1133+ exists. (LP: #900234)
1134+ * Mark ifupdown as Multi-Arch foreign
1135+ * Replace remaining references to /var/run/network by /run/network
1136+ (LP: #885506)
1137+
1138+ -- Stéphane Graber <stgraber@ubuntu.com> Thu, 12 Jan 2012 10:25:30 +0100
1139+
1140 ifupdown (0.7~beta2) experimental; urgency=low
1141
1142 * Put interfaces down in the reverse order than they were
1143@@ -1019,6 +1971,90 @@ ifupdown (0.7~beta1) experimental; urgency=low
1144
1145 -- Andrew O. Shadura <bugzilla@tut.by> Tue, 23 Aug 2011 11:49:19 +0300
1146
1147+ifupdown (0.7~alpha5.1ubuntu6) precise; urgency=low
1148+
1149+ * debian/ifupdown.preinst: further conffile upgrade handling is needed
1150+ for three files to get smooth upgrades from lucid (two of these were
1151+ modified in a lucid SRU, one was modified in oneiric that previously
1152+ didn't need special handling because the old and new checksums always
1153+ matched). LP: #903131.
1154+
1155+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 16 Dec 2011 23:16:47 -0800
1156+
1157+ifupdown (0.7~alpha5.1ubuntu5) oneiric; urgency=low
1158+
1159+ * use 'ifquery' in if-up.d/upstart rather than parsing interfaces
1160+ manually. This fixes issue where devices with 'auto' but without a
1161+ config stanza would be blocked on (LP: #850226).
1162+
1163+ -- Scott Moser <smoser@ubuntu.com> Wed, 14 Sep 2011 14:30:57 -0400
1164+
1165+ifupdown (0.7~alpha5.1ubuntu4) oneiric; urgency=low
1166+
1167+ * invoke dhclient3 with '-1', meaning it should exit failure if it does
1168+ not receive a response in 60 seconds. (LP: #838968)
1169+ * fix the broken static-network-up-emitted event. This now keeps
1170+ state of which interfaces have been brought up by marker files
1171+ in /run/network named ifup.IFACE and a directory named
1172+ static-network-up-emitted indicating static-network-up has been
1173+ emitted.
1174+
1175+ -- Scott Moser <smoser@ubuntu.com> Fri, 02 Sep 2011 15:50:47 -0400
1176+
1177+ifupdown (0.7~alpha5.1ubuntu3) oneiric; urgency=low
1178+
1179+ * Document what events are emitted properly. (LP: #819928)
1180+
1181+ -- Clint Byrum <clint@ubuntu.com> Mon, 22 Aug 2011 11:28:32 +0100
1182+
1183+ifupdown (0.7~alpha5.1ubuntu2) oneiric; urgency=low
1184+
1185+ * Rename Vcs-* to XS-Debian-Vcs-*.
1186+ * Close mkdir's stderr when creating
1187+ /var/run/network/static-network-up-emitted to silence (expected) error on
1188+ second run.
1189+
1190+ -- Loïc Minier <loic.minier@ubuntu.com> Wed, 10 Aug 2011 17:01:24 +0200
1191+
1192+ifupdown (0.7~alpha5.1ubuntu1) oneiric; urgency=low
1193+
1194+ * Resynchronise with Debian experimental. Remaining changes:
1195+ - ifupdown.nw: Use 100 as default route metric unless an explicit metric
1196+ parameter is set in /etc/network/interface.
1197+ - ifupdown.nw: Add 'ipv4ll' method which uses avahi-autoipd to bring up
1198+ an interface with an IPv4 link-layer address from 169.254.0.0/16 (aka
1199+ 'Zeroconf').
1200+ - Add iniparser3.0b sources (dictionary.c, dictionary.h, iniparser.c,
1201+ iniparser.h), to let ifupdown avoid auto-up/down of interfaces if
1202+ network-manager's ifupdown plugin is in managed=true mode.
1203+ - Add a new query interface, 'ifquery', that can be used by upstart
1204+ hooks to ask for the list of possible interfaces that they might need
1205+ to bring up.
1206+ - debian/ifupdown.network-interface.upstart: Replace the init scripts
1207+ with a per-interface Upstart job.
1208+ - debian/ifupdown.networking.upstart: Add a "networking" job that
1209+ partially replaces the networking init script from netbase.
1210+ - debian/control: Bump build-dependency on debhelper for Upstart-aware
1211+ dh_installinit.
1212+ - debian/rules: Due to debhelper always adding /etc/init.d symlinks, we
1213+ must manually remove /etc/init.d/networking for as long as netbase
1214+ still provides it.
1215+ - Add if-up and if-down scripts to emit Upstart events when interfaces
1216+ come up and go down.
1217+ - debian/ifupdown.network-interface-security.upstart: Ensure apport is
1218+ started before interfaces are brought up by either ifupdown or
1219+ network-manager.
1220+ - debian/postinst: If the loopback interface is missing from the config
1221+ in /etc/network/interfaces, add it on upgrade.
1222+ - debian/ifupdown.preinst: Since files in /etc were not conffiles in
1223+ lucid, and /etc/network/if-up.d/upstart and
1224+ /etc/init/network-interface.conf changed between lucid final and
1225+ maverick, add extra handling to avoid spurious conffile prompts.
1226+ * Backport from upstream Mercurial repository:
1227+ - Add initial DHCPv6 support (LP: #733547).
1228+
1229+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 09 Aug 2011 14:41:00 +0100
1230+
1231 ifupdown (0.7~alpha5.1) experimental; urgency=low
1232
1233 * Non-maintainer upload.
1234@@ -1160,6 +2196,98 @@ ifupdown (0.7~alpha2) experimental; urgency=low
1235
1236 -- Anthony Towns <aj@azure.humbug.org.au> Mon, 18 Jun 2007 15:47:21 +0100
1237
1238+ifupdown (0.6.10ubuntu5) oneiric; urgency=low
1239+
1240+ [Scott Moser]
1241+ * debian/ifupdown.upstart.if-up: emit static-network-up when all auto
1242+ network interfaces are up. (LP: #810044)
1243+
1244+ [ Clint Byrum ]
1245+ * debian/rules: dh_installinit has changed and exposes that the
1246+ network-interface-security job should also have --noscripts
1247+
1248+ -- Clint Byrum <clint@ubuntu.com> Mon, 01 Aug 2011 12:40:37 -0700
1249+
1250+ifupdown (0.6.10ubuntu4) natty; urgency=low
1251+
1252+ * debian/ifupdown.network-interface{,-security}.upstart: handle race
1253+ condition when loading AppArmor profiles for interfaces (LP: #689892).
1254+
1255+ -- Kees Cook <kees@ubuntu.com> Mon, 13 Dec 2010 13:53:12 -0800
1256+
1257+ifupdown (0.6.10ubuntu3) maverick; urgency=low
1258+
1259+ * debian/ifupdown.preinst: since files in /etc were not conffiles in
1260+ lucid, and /etc/network/if-up.d/upstart and
1261+ /etc/init/network-interface.conf changed between lucid final and
1262+ maverick, add extra handling to avoid spurious conffile prompts.
1263+ LP: #620956.
1264+
1265+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 31 Aug 2010 02:11:35 +0000
1266+
1267+ifupdown (0.6.10ubuntu2) maverick; urgency=low
1268+
1269+ * debian/ifupdown.network-interface.conf: Bring up lo manually, so that it
1270+ comes up even if /etc/network/interfaces is broken (LP: #512253).
1271+ * debian/ifupdown.upstart.if-up: Don't emit a duplicate net-device-up
1272+ event for lo here, as network-interface.conf will have taken care of it.
1273+
1274+ -- Colin Watson <cjwatson@ubuntu.com> Thu, 22 Jul 2010 13:52:49 +0100
1275+
1276+ifupdown (0.6.10ubuntu1) maverick; urgency=low
1277+
1278+ * Merge from Debian unstable, remaining changes:
1279+ - ifupdown.nw: use 100 as default route metric unless an explicit metric
1280+ parameter is set in /etc/network/interface
1281+ - ifupdown.nw: Add 'ipv4ll' method which uses avahi-autoipd to bring up
1282+ an interface with an IPv4 link-layer address from 169.254.0.0/16 (aka
1283+ 'Zeroconf').
1284+ - Add iniparser3.0b sources (dictionary.c, dictionary.h, iniparser.c,
1285+ iniparser.h), to let ifupdown avoid auto-up/down of interfaces if
1286+ network-manager's ifupdown plugin is in managed=true mode
1287+ - move ifstate file to /var/run/network/ifstate
1288+ - Add a new query interface, 'ifquery', that can be used by upstart
1289+ hooks to ask for the list of possible interfaces that they might need
1290+ to bring up.
1291+ - debian/ifupdown.network-interface.upstart: replace the init scripts
1292+ with a per-interface Upstart job.
1293+ - debian/ifupdown.networking.upstart: add a "networking" job that
1294+ partially replaces the networking init script from netbase.
1295+ - debian/control: bump build-dependency on debhelper for Upstart-aware
1296+ dh_installinit.
1297+ - debian/rules: due to debhelper always adding /etc/init.d symlinks, we
1298+ must manually remove /etc/init.d/networking for as long as netbase
1299+ still provides it.
1300+ - Add if-up and if-down scripts to emit Upstart events when interfaces
1301+ come up and go down.
1302+ - debian/ifupdown.network-interface-security.upstart: ensure apport is
1303+ started before interfaces are brought up by either ifupdown or
1304+ network-manager.
1305+ - debian/postinst: if the loopback interface is missing from the config
1306+ in /etc/network/interfaces, add it on upgrade.
1307+ - Fix a wrong path to examples in the interfaces(5) manpage.
1308+ * Changes superseded in Debian:
1309+ - ifupdown.nw: modprobe ipv6 before configuring it.
1310+ - debian/control: Add missing ${misc:Depends}
1311+ * Dropped changes:
1312+ - Drop versioned dependency on netbase - no rationale is given for the
1313+ dependency to exist at all.
1314+ - No need to version the dep on lsb-base, every release since dapper and
1315+ earlier satisfies this constraint.
1316+ - Drop Breaks on old, pre-jaunty versions of udev.
1317+ - Drop migration of "mapping hotplug" to "auto", this migration was done
1318+ in hardy and upstream has dropped the debconf support so let's not
1319+ readd it.
1320+ - Drop edits to ifupdown-clean, no longer used in Ubuntu.
1321+ - Drop the udev rules, which are now completely superseded by upstart
1322+ jobs.
1323+ - Drop preinst, postinst cleanup of the obsolete, Ubuntu-specific
1324+ loopback script.
1325+ * update all generated files to match their source versions (*.defn,
1326+ main.c).
1327+
1328+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 03 Jun 2010 17:18:43 +0000
1329+
1330 ifupdown (0.6.10) unstable; urgency=low
1331
1332 * Try to load the ipv6 module when doing up on inet6 stansas except
1333@@ -1220,6 +2348,283 @@ ifupdown (0.6.8+nmu1) unstable; urgency=low
1334
1335 -- Christian Perrier <bubulle@debian.org> Sat, 12 Apr 2008 13:32:24 +0200
1336
1337+ifupdown (0.6.8ubuntu29) lucid; urgency=low
1338+
1339+ * debian/postinst: if the loopback interface is missing from the config in
1340+ /etc/network/interfaces, add it on upgrade; there is no valid use case
1341+ for a system without localhost, and not bringing this up will cause
1342+ upstart runlevel handling to fail. LP: #497299.
1343+
1344+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 19 Feb 2010 20:29:32 -0800
1345+
1346+ifupdown (0.6.8ubuntu28) lucid; urgency=low
1347+
1348+ * debian/ifupdown.upstart.if-up, debian/ifupdown.upstart.if-down:
1349+ - Do not wait for the Upstart event to complete; while this seems like
1350+ a good idea, it can cause "ifup -a" to hang forever if anybody creates
1351+ a job that waits for two interfaces to come up.
1352+
1353+ I still want this to be the default behaviour for "emit", and I do
1354+ want this to block, but I need to fix Upstart first so that it doesn't
1355+ keep happening accidentally.
1356+
1357+ -- Scott James Remnant <scott@ubuntu.com> Wed, 17 Feb 2010 11:03:18 +0000
1358+
1359+ifupdown (0.6.8ubuntu27) lucid; urgency=low
1360+
1361+ * Add a new query interface, 'ifquery', that can be used by upstart hooks
1362+ to ask for the list of possible interfaces that they might need to bring
1363+ up.
1364+
1365+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 04 Feb 2010 16:28:53 -0800
1366+
1367+ifupdown (0.6.8ubuntu26) lucid; urgency=low
1368+
1369+ * debian/ifupdown.network-interface-security.upstart: do not load on liveCD.
1370+
1371+ -- Kees Cook <kees@ubuntu.com> Fri, 08 Jan 2010 08:24:52 -0800
1372+
1373+ifupdown (0.6.8ubuntu25) lucid; urgency=low
1374+
1375+ * debian/ifupdown.network-interface-security.upstart:
1376+ - trigger on network-manager too.
1377+ - load from a directory rather than hard-coded list of profiles.
1378+
1379+ -- Kees Cook <kees@ubuntu.com> Tue, 15 Dec 2009 10:33:15 -0800
1380+
1381+ifupdown (0.6.8ubuntu24) lucid; urgency=low
1382+
1383+ * debian/ifupdown.network-interface-security.upstart:
1384+ - Assume that virtual-filesystems are mounted; we can get away with
1385+ this because of the start conditions of networking and network-interface
1386+ if we don't every other network interface will wait for virtual
1387+ filesystems to get mounted again.
1388+
1389+ I *really* need to fix this Upstart bug!
1390+
1391+ -- Scott James Remnant <scott@ubuntu.com> Tue, 15 Dec 2009 18:05:41 +0000
1392+
1393+ifupdown (0.6.8ubuntu23) lucid; urgency=low
1394+
1395+ * debian/ifupdown.network-interface.upstart:
1396+ * debian/ifupdown.networking.upstart:
1397+ - Revert Kees's change; this flat out doesn't work.
1398+ * debian/ifupdown.network-interface-security.upstart:
1399+ - Instead use "starting" so that the network-interface-security job
1400+ is started before the first network-interface, and blocks it from
1401+ finishing.
1402+
1403+ (The above fixes the second ifup never completing due to waiting for
1404+ network-interface-security to be restarted - which will never happen.)
1405+
1406+ * debian/ifupdown.networking.upstart:
1407+ - Make /var/run/network as we do in the network-interface job; this
1408+ might end up running first. LP: #446031.
1409+
1410+ -- Scott James Remnant <scott@ubuntu.com> Tue, 15 Dec 2009 14:34:56 +0000
1411+
1412+ifupdown (0.6.8ubuntu22) lucid; urgency=low
1413+
1414+ * Add AppArmor boot-time bits to upstart jobs.
1415+ * Due to debhelper always adding /etc/init.d symlinks, we must
1416+ manually remove /etc/init.d/networking for as long as netbase
1417+ still provides it.
1418+
1419+ -- Kees Cook <kees@ubuntu.com> Fri, 04 Dec 2009 10:11:38 -0800
1420+
1421+ifupdown (0.6.8ubuntu21) karmic; urgency=low
1422+
1423+ * --no-scripts is not --noscripts. LP: #430878.
1424+
1425+ -- Scott James Remnant <scott@ubuntu.com> Tue, 22 Sep 2009 15:30:28 -0700
1426+
1427+ifupdown (0.6.8ubuntu20) karmic; urgency=low
1428+
1429+ FFE LP: #427356.
1430+
1431+ * Replace the udev rule with a per-interface Upstart job.
1432+ * Add a "networking" job that partially replaces the networking init
1433+ script from netbase.
1434+ * debian/control:
1435+ - Bump build-dependency on debhelper for Upstart-aware dh_installinit
1436+ - Add missing ${misc:Depends}
1437+
1438+ * Add if-up and if-down scripts to emit Upstart events when interfaces
1439+ come up and go down.
1440+
1441+ -- Scott James Remnant <scott@ubuntu.com> Tue, 15 Sep 2009 03:30:29 +0100
1442+
1443+ifupdown (0.6.8ubuntu19) jaunty; urgency=low
1444+
1445+ * debian/ifupdown.udev: In fact, there's no reason not to call the ifup
1446+ unconditionally either; if it doesn't have a driver, but is listed in
1447+ /etc/network/interfaces with "auto" we can still have a crack at
1448+ bringing it up. We may as well make the /var/run/network directory
1449+ in this rule too.
1450+ * debian/loopback.init: Then this init script can go away.
1451+
1452+ -- Scott James Remnant <scott@ubuntu.com> Thu, 05 Mar 2009 14:13:53 +0000
1453+
1454+ifupdown (0.6.8ubuntu18) jaunty; urgency=low
1455+
1456+ * debian/ifupdown.udev: Unconditionally call ifdown when the network
1457+ interface is removed, instead of checking DRIVERS which is likely gone
1458+ anyway. LP: #130437.
1459+ * Clean up the mess of the rules file while I was in there ;)
1460+
1461+ -- Scott James Remnant <scott@ubuntu.com> Thu, 05 Mar 2009 14:11:42 +0000
1462+
1463+ifupdown (0.6.8ubuntu17) jaunty; urgency=low
1464+
1465+ * Restore _darcs directory caused by using intrepid's dpkg; makes the
1466+ Debian->Ubuntu diff somewhat more readable.
1467+
1468+ -- Scott James Remnant <scott@ubuntu.com> Thu, 05 Mar 2009 14:01:18 +0000
1469+
1470+ifupdown (0.6.8ubuntu16) jaunty; urgency=low
1471+
1472+ * modprobe failures for ipv6 are benign as the module is likely built-in.
1473+ (LP: #107432)
1474+ * modprobe -Q is now deprecated and going away, move to using -q.
1475+ * modprobe for ipv6 should honour the blacklists.
1476+ * update all generated files to match their source versions (*.defn,
1477+ main.c).
1478+
1479+ -- Andy Whitcroft <apw@canonical.com> Thu, 05 Mar 2009 13:47:48 +0000
1480+
1481+ifupdown (0.6.8ubuntu15) jaunty; urgency=low
1482+
1483+ * Add Breaks to ensure the right version of udev is used.
1484+
1485+ -- Scott James Remnant <scott@ubuntu.com> Fri, 09 Jan 2009 11:55:30 +0000
1486+
1487+ifupdown (0.6.8ubuntu14) jaunty; urgency=low
1488+
1489+ * debian/ifupdown.rules: Rename to debian/ifupdown.udev so debhelper can
1490+ pick it up.
1491+ * debian/rules: Use dh_installudev to install the udev rule.
1492+ * debian/dirs: Drop /etc/udev/rules.d
1493+ * debian/conffiles: Drop old rules location.
1494+ * debian/control: Increase dependency on debhelper.
1495+
1496+ -- Scott James Remnant <scott@ubuntu.com> Wed, 07 Jan 2009 10:22:03 +0000
1497+
1498+ifupdown (0.6.8ubuntu13) jaunty; urgency=low
1499+
1500+ * debian/ifupdown.rules: remove udev rule that ensures that the networking
1501+ init script has been started. We want to configure network interfaces as
1502+ soon as possible ie at discovery time. ifupdown scripts that don't work
1503+ early in the boot process should fail gracefully and leave the interface
1504+ unconfigured until networking is started.
1505+
1506+ -- Mathias Gug <mathiaz@ubuntu.com> Wed, 26 Nov 2008 18:34:03 -0500
1507+
1508+ifupdown (0.6.8ubuntu12) intrepid; urgency=low
1509+
1510+ * resurrect _darcs directory
1511+
1512+ -- Alexander Sack <asac@ubuntu.com> Mon, 13 Oct 2008 00:12:03 +0200
1513+
1514+ifupdown (0.6.8ubuntu11) intrepid; urgency=low
1515+
1516+ * If the /etc/NetworkManager/nm-system-settings.conf file is present
1517+ but doesn't have the "ifupdown:managed" the previous upload instructed
1518+ the iniparser to return -1, which evaluates to TRUE. We instead instruct
1519+ it to return 0, as we shouldn't prevent ifupdown from managing the
1520+ interfaces in that case, as NM won't either. (LP: #281984)
1521+
1522+ -- James Westby <james.westby@canonical.com> Sun, 12 Oct 2008 16:09:15 +0100
1523+
1524+ifupdown (0.6.8ubuntu10) intrepid; urgency=low
1525+
1526+ https://lists.ubuntu.com/archives/ubuntu-devel/2008-October/026656.html:
1527+
1528+ * stop ifupdown to auto-up/down interfaces if network-manager's
1529+ ifupdown plugin is in managed=true mode
1530+ - add iniparser3.0b sources
1531+ + add dictionary.c,dictionary.h,iniparser.c,iniparser.h
1532+ - Makefile: add iniparser objects to build (aka OBJ)
1533+
1534+ -- Alexander Sack <asac@ubuntu.com> Thu, 09 Oct 2008 16:46:47 +0200
1535+
1536+ifupdown (0.6.8ubuntu9) intrepid; urgency=low
1537+
1538+ * debian/ifupdown.rules: (the udev rule) ensure that the init script
1539+ /etc/network/networking has been started to ensure that the udev
1540+ script does not start too early in the boot process. This way we
1541+ ensure that the root file system is already writable and ifupdown has
1542+ a chance to actually work. LP: #44194
1543+ * Add versioned dependency on a version of netbase that actually does
1544+ indicate that it has been configured.
1545+
1546+ -- Reinhard Tartler <siretart@tauware.de> Sat, 21 Jun 2008 23:32:56 +0200
1547+
1548+ifupdown (0.6.8ubuntu8) gutsy; urgency=low
1549+
1550+ * ifupdown.nw: use 100 as default route metric unless an explicit metric
1551+ parameter is set in /etc/network/interface; this applies for static and
1552+ dhcp interfaces and passes the -e IF_METRIC=%metric% option to dhclient{3}
1553+ in order to accomplish this. For details see the launchpad bug
1554+ (LP: #139403).
1555+
1556+ -- Alexander Sack <asac@ubuntu.com> Thu, 20 Sep 2007 00:38:33 +0200
1557+
1558+ifupdown (0.6.8ubuntu7) gutsy; urgency=low
1559+
1560+ * Fix a wrong example location into interfaces(5) manpage (LP: #97509).
1561+
1562+ -- William Lima <wlima.amadeus@gmail.com> Fri, 22 Jun 2007 15:14:23 -0300
1563+
1564+ifupdown (0.6.8ubuntu6) feisty; urgency=low
1565+
1566+ * Change DRIVERS!= to use the start/end trick, since DRIVERS!= doesn't
1567+ work. LP: #102675.
1568+
1569+ -- Scott James Remnant <scott@ubuntu.com> Tue, 10 Apr 2007 12:44:13 +0100
1570+
1571+ifupdown (0.6.8ubuntu5) feisty; urgency=low
1572+
1573+ * Change DRIVER to DRIVERS to suppress a warning, even though I think we
1574+ really wanted the former. LP: #102770.
1575+
1576+ -- Scott James Remnant <scott@ubuntu.com> Wed, 4 Apr 2007 10:27:14 +0100
1577+
1578+ifupdown (0.6.8ubuntu4) feisty; urgency=low
1579+
1580+ * Update udev rules so that devices without a driver don't get ifup
1581+ or ifdown called for them, and are left to the S40networking script.
1582+ LP: #78043.
1583+
1584+ -- Scott James Remnant <scott@ubuntu.com> Tue, 3 Apr 2007 16:11:28 +0100
1585+
1586+ifupdown (0.6.8ubuntu3) feisty; urgency=low
1587+
1588+ * ifupdown.nw: modprobe ipv6 before configuring it.
1589+ (Closes LP: #7091)
1590+
1591+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Fri, 30 Mar 2007 08:54:50 +0200
1592+
1593+ifupdown (0.6.8ubuntu2) feisty; urgency=low
1594+
1595+ * ifupdown.nw: Add 'ipv4ll' method which uses avahi-autoipd to bring up an
1596+ interface with an IPv4 link-layer address from 169.254.0.0/16 (aka
1597+ 'Zeroconf'). See https://wiki.ubuntu.com/ZeroConfNetworking for details.
1598+ (This patch was prepared last November, but for some reason never made it
1599+ to the archive)
1600+ * debian/control: Set Ubuntu maintainer.
1601+
1602+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 20 Feb 2007 11:25:38 +0100
1603+
1604+ifupdown (0.6.8ubuntu1) feisty; urgency=low
1605+
1606+ * Merge from debian unstable, remaining changes:
1607+ - ship udev rules to call ifup
1608+ - init script to bring up loopback seperately
1609+ - ifstate file moved to /var/run/network/ifstate, no need to clean up
1610+ - dhcp3 leases files moved to /var/lib/dhcp3
1611+
1612+ -- Scott James Remnant <scott@ubuntu.com> Mon, 27 Nov 2006 13:16:58 +0000
1613+
1614 ifupdown (0.6.8) unstable; urgency=low
1615
1616 * Add myself as co-maintainer with approval from Anthony Towns.
1617@@ -1244,6 +2649,81 @@ ifupdown (0.6.8) unstable; urgency=low
1618
1619 -- Petter Reinholdtsen <pere@debian.org> Thu, 28 Sep 2006 18:14:47 +0200
1620
1621+ifupdown (0.6.7ubuntu7) dapper; urgency=low
1622+
1623+ * Fix up the interfaces file removing duplicated "auto" lines, and
1624+ don't write them in the first place. Ubuntu #29654.
1625+
1626+ -- Scott James Remnant <scott@ubuntu.com> Mon, 30 Jan 2006 12:45:19 +0000
1627+
1628+ifupdown (0.6.7ubuntu6) dapper; urgency=low
1629+
1630+ * Rewrite the way that ifup and ifdown read and write the state file.
1631+ Instead of storing it in memory and holding a lock on it (preventing
1632+ concurrent processes from actually being concurrent) use atomic read and
1633+ write functions that only hold the lock for very short periods.
1634+
1635+ * Write to the state file when we start bringing up or tearing down the
1636+ interface, so we don't ever try to do the same operation at the same
1637+ time.
1638+ * Update the state file once the operation is complete to ensure we
1639+ record the actual status of it.
1640+
1641+ * Restore the dhcp wait, so "ifup eth0" will hang around until DHCP is
1642+ either successful or times out. Adjust the udev rule again so that
1643+ udevplug doesn't hang around.
1644+
1645+ -- Scott James Remnant <scott@ubuntu.com> Thu, 26 Jan 2006 15:56:54 +0000
1646+
1647+ifupdown (0.6.7ubuntu5) dapper; urgency=low
1648+
1649+ * Don't wait for dhcp to complete ... there's a general ifup problem that
1650+ it doesn't have any state to record "I'm bringing this interface up",
1651+ so no way to avoid multiple dhcp invocations for the same interface which
1652+ end up blocking on each other. This is a short-term hack until I sit
1653+ down and think about this properly (probably next week at the sprint).
1654+
1655+ -- Scott James Remnant <scott@ubuntu.com> Tue, 24 Jan 2006 18:04:53 +0000
1656+
1657+ifupdown (0.6.7ubuntu4) dapper; urgency=low
1658+
1659+ * Install new loopback init script at S:S08 which brings up the loopback
1660+ (127.0.0.1) network device early enough for anything needing DHCP. This
1661+ also deals with creating /var/run/network if necessary.
1662+ * Move /etc/network/run/ifstate to /var/run/network/ifstate
1663+ * Drop the ifupdown and ifupdown-clean init scripts as everything they did
1664+ is obsolete or already taken care of.
1665+
1666+ * Ship a udev rule that brings network devices up or down if the device
1667+ is marked "auto" in the configuration file.
1668+ * Convert existing /etc/network/interfaces file with "mapping hotplug"
1669+ lines to just use "auto" lines.
1670+
1671+ * Adjusted "ifup -a" and "ifdown -a" to not report when interfaces are
1672+ already up or down.
1673+
1674+ -- Scott James Remnant <scott@ubuntu.com> Mon, 23 Jan 2006 18:56:54 +0000
1675+
1676+ifupdown (0.6.7ubuntu3) dapper; urgency=low
1677+
1678+ * Silence init.d/ifupdown-clean
1679+
1680+ -- Matt Zimmerman <mdz@ubuntu.com> Wed, 4 Jan 2006 09:46:09 -0800
1681+
1682+ifupdown (0.6.7ubuntu2) dapper; urgency=low
1683+
1684+ * Change the dhclient3 leases path to /var/lib/dhcp3 so the leases survive
1685+ a reboot. (Ubuntu: #18148)
1686+
1687+ -- Scott James Remnant <scott@ubuntu.com> Wed, 23 Nov 2005 16:11:30 +0000
1688+
1689+ifupdown (0.6.7ubuntu1) breezy; urgency=low
1690+
1691+ * Resynchronise with Debian, resolving merge conflicts.
1692+ * Remove the initscripts dependency, since we now use our own readlink.
1693+
1694+ -- Adam Conrad <adconrad@ubuntu.com> Fri, 27 May 2005 06:43:06 +0000
1695+
1696 ifupdown (0.6.7-0.4) unstable; urgency=low
1697
1698 * Non-maintainer upload.
1699@@ -1401,6 +2881,32 @@ ifupdown (0.6.4-4.11) unstable; urgency=low
1700
1701 -- Thomas Hood <jdthood@yahoo.co.uk> Sun, 12 Sep 2004 14:46:29 +0200
1702
1703+ifupdown (0.6.4-4.10ubuntu4) breezy; urgency=low
1704+
1705+ * Fixed typo in interfaces (5) man page (closes: Ubuntu #9854)
1706+
1707+ -- Charles Majola <charles@ubuntu.com> Thu, 12 May 2005 10:12:36 +0200
1708+
1709+ifupdown (0.6.4-4.10ubuntu3) hoary; urgency=low
1710+
1711+ * Add a dependency on initscripts (>= 2.85-12) to make sure we get
1712+ a working /lib/init/readlink for our scripts (Ubuntu bug #8605)
1713+
1714+ -- Adam Conrad <adconrad@0c3.net> Tue, 5 Apr 2005 10:29:07 +0000
1715+
1716+ifupdown (0.6.4-4.10ubuntu2) hoary; urgency=low
1717+
1718+ * Fancify new ifupdown-clean init script
1719+ * Re-fancify ifupdown init script due to many conflicts
1720+
1721+ -- Matt Zimmerman <mdz@canonical.com> Thu, 28 Oct 2004 21:00:28 -0700
1722+
1723+ifupdown (0.6.4-4.10ubuntu1) hoary; urgency=low
1724+
1725+ * Resynchronise with Debian.
1726+
1727+ -- Scott James Remnant <scott@canonical.com> Wed, 27 Oct 2004 21:41:56 +0100
1728+
1729 ifupdown (0.6.4-4.10) unstable; urgency=low
1730
1731 * Non-maintainer upload. Fix critical bugs.
1732@@ -1471,6 +2977,17 @@ ifupdown (0.6.4-4.9) unstable; urgency=low
1733
1734 -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Wed, 28 Jul 2004 17:04:19 +0200
1735
1736+ifupdown (0.6.4-4.8ubuntu2) warty; urgency=low
1737+
1738+ * Added versioned depend on lsb-base
1739+
1740+ -- Nathaniel McCallum <npmccallum@canonical.com> Fri, 3 Sep 2004 14:55:12 -0400
1741+
1742+ifupdown (0.6.4-4.8ubuntu1) warty; urgency=low
1743+
1744+ * debian/ifupdown.init: pretty initscript
1745+
1746+ -- Nathaniel McCallum <npmccallum@canonical.com> Fri, 3 Sep 2004 11:00:40 -0400
1747
1748 ifupdown (0.6.4-4.8) unstable; urgency=low
1749
1750diff --git a/debian/control b/debian/control
1751index 710721d..d674cd3 100644
1752--- a/debian/control
1753+++ b/debian/control
1754@@ -1,7 +1,8 @@
1755 Source: ifupdown
1756 Section: admin
1757 Priority: important
1758-Maintainer: Josué Ortega <josue@debian.org>
1759+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
1760+XSBC-Original-Maintainer: Josué Ortega <josue@debian.org>
1761 Uploaders: Santiago Ruano Rincón <santiago@debian.org>
1762 Standards-Version: 4.6.1
1763 Build-Depends: debhelper-compat (= 13)
1764diff --git a/debian/if-up.d/resolved b/debian/if-up.d/resolved
1765index cb331ca..e79f997 100755
1766--- a/debian/if-up.d/resolved
1767+++ b/debian/if-up.d/resolved
1768@@ -43,11 +43,11 @@ if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then
1769 fi
1770 if [ -n "$NEW_DNS" ]; then
1771 cat <<EOF >"$mystatedir/ifupdown-${ADDRFAM}-$interface"
1772-"$DNS"="$NEW_DNS"
1773+$DNS="$NEW_DNS"
1774 EOF
1775 if [ -n "$NEW_DOMAINS" ]; then
1776 cat <<EOF >>"$mystatedir/ifupdown-${ADDRFAM}-$interface"
1777-"$DOMAINS"="$NEW_DOMAINS"
1778+$DOMAINS="$NEW_DOMAINS"
1779 EOF
1780 fi
1781 fi
1782@@ -66,7 +66,7 @@ EOF
1783 # ignore errors due to nonexistent file
1784 md5sum "$mystatedir/isc-dhcp-v4-$interface" "$mystatedir/isc-dhcp-v6-$interface" "$mystatedir/ifupdown-inet-$interface" "$mystatedir/ifupdown-inet6-$interface" > "$newstate" 2> /dev/null || true
1785 if ! cmp --silent "$oldstate" "$newstate" 2>/dev/null; then
1786- DNS DNS6 DOMAINS DOMAINS6 DEFAULT_ROUTE
1787+ unset DNS DNS6 DOMAINS DOMAINS6 DEFAULT_ROUTE
1788 # v4 first
1789 if [ -e "$mystatedir/isc-dhcp-v4-$interface" ]; then
1790 . "$mystatedir/isc-dhcp-v4-$interface"
1791diff --git a/debian/ifup@.service b/debian/ifup@.service
1792index b65ec7b..40b4722 100644
1793--- a/debian/ifup@.service
1794+++ b/debian/ifup@.service
1795@@ -11,7 +11,8 @@ IgnoreOnIsolate=yes
1796 [Service]
1797 # avoid stopping on shutdown via stopping system-ifup.slice
1798 Slice=system.slice
1799-ExecStart=/bin/sh -ec 'ifup --allow=hotplug %I; ifquery --state %I'
1800+ExecStart=/bin/sh -ec 'ifup --allow=hotplug %I; ifup --allow=auto %I; \
1801+ if ifquery %I >/dev/null; then ifquery --state %I >/dev/null; fi'
1802 ExecStop=/sbin/ifdown %I
1803 RemainAfterExit=true
1804 TimeoutStartSec=5min
1805diff --git a/debian/ifupdown-hotplug b/debian/ifupdown-hotplug
1806index 6e5f6c5..b56f7aa 100755
1807--- a/debian/ifupdown-hotplug
1808+++ b/debian/ifupdown-hotplug
1809@@ -59,6 +59,9 @@ net_ifup() {
1810 # exit if the interface is not configured as allow-hotplug
1811 TARGET_IFACE=$(ifquery --allow hotplug -l "$INTERFACE" || true)
1812 if [ -z "$TARGET_IFACE" ]; then
1813+ TARGET_IFACE=$(/sbin/ifquery --allow auto -l "$INTERFACE" || true)
1814+ fi
1815+ if [ -z "$TARGET_IFACE" ]; then
1816 exit 0
1817 fi
1818
1819diff --git a/debian/rules b/debian/rules
1820index ee44acf..11acc19 100755
1821--- a/debian/rules
1822+++ b/debian/rules
1823@@ -28,6 +28,11 @@ override_dh_installsystemd:
1824 dh_installsystemd --no-start -r --no-restart-after-upgrade --name=ifupdown-pre
1825 dh_installsystemd --no-enable -r --no-start --no-restart-after-upgrade --name=ifupdown-wait-online
1826
1827+override_dh_install:
1828+ dh_install
1829+ # just in case executable bit is lost in a merge
1830+ [ -x debian/ifupdown/lib/udev/ifupdown-hotplug ]
1831+
1832 override_dh_auto_clean:
1833 $(MAKE) clean
1834
1835diff --git a/inet.defn b/inet.defn
1836index c29f8b7..ab1ccf3 100644
1837--- a/inet.defn
1838+++ b/inet.defn
1839@@ -97,7 +97,7 @@ method dhcp
1840
1841 up
1842 [[ip link set dev %iface% address %hwaddress%]]
1843- CLIENT="-i"; [[[ "%client%" = no ] && CLIENT="";]] dhclient -4 -v $CLIENT -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
1844+ CLIENT="-i"; [[[ "%client%" = no ] && CLIENT="";]] dhclient -1 -4 -v $CLIENT -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
1845 [[-e IF_METRIC=%metric%]] \
1846 if (execable("dhclient"))
1847 udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \
1848@@ -279,7 +279,7 @@ method dhcp
1849
1850 up
1851 [[ifconfig %iface% link %hwaddress%]]
1852- CLIENT="-i"; [[[ "%client%" = no ] && CLIENT="";]] dhclient -4 -v $CLIENT -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
1853+ CLIENT="-i"; [[[ "%client%" = no ] && CLIENT="";]] dhclient -1 -4 -v $CLIENT -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
1854 [[-e IF_METRIC=%metric%]] \
1855 if (execable("dhclient"))
1856 udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \
1857@@ -431,7 +431,7 @@ method dhcp
1858
1859 up
1860 [[Warning: Option hwaddress: %hwaddress% not yet supported]]
1861- CLIENT="-i"; [[[ "%client%" = no ] && CLIENT="";]] dhclient -4 -v $CLIENT -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \
1862+ CLIENT="-i"; [[[ "%client%" = no ] && CLIENT="";]] dhclient -1 -4 -v $CLIENT -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \
1863 if (execable("dhclient"))
1864 udhcpc -n -p /run/udhcpc.%iface///.%.pid -i %iface% [[-H %hostname%]] \
1865 [[-c %client%]] \
1866diff --git a/inet6.defn b/inet6.defn
1867index d62123b..dad4a13 100644
1868--- a/inet6.defn
1869+++ b/inet6.defn
1870@@ -29,7 +29,7 @@ method auto
1871 if (var_set("accept_ra", ifd) && !var_true("accept_ra", ifd))
1872 ip link set dev %iface% up
1873 /lib/ifupdown/wait-for-ll6.sh if (var_true("dhcp", ifd) && execable("/lib/ifupdown/wait-for-ll6.sh"))
1874- dhclient -6 -v -P -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1875+ dhclient -6 -1 -v -P -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1876 if (var_true("dhcp", ifd) && execable("dhclient") && var_true("request_prefix", ifd))
1877 dhclient -6 -1 -v -S -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1878 elsif (var_true("dhcp", ifd) && execable("dhclient"))
1879@@ -158,9 +158,9 @@ method dhcp
1880 if (var_set("accept_ra", ifd) && !var_true("accept_ra", ifd))
1881 ip link set dev %iface% [[address %hwaddress%]] up
1882 /lib/ifupdown/wait-for-ll6.sh if (execable("/lib/ifupdown/wait-for-ll6.sh"))
1883- dhclient -6 -v -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -P -N -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1884+ dhclient -1 -6 -v -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -P -N -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1885 if (execable("dhclient") && var_true("request_prefix", ifd))
1886- dhclient -6 -v -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1887+ dhclient -1 -6 -v -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1888 elsif (execable("dhclient"))
1889 echo 'No DHCPv6 client software found!' >&2; false \
1890 elsif (1)
1891@@ -338,7 +338,7 @@ method auto
1892
1893 up
1894 ifconfig %iface% inet6 accept_rtadv up
1895- dhclient -6 -S -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1896+ dhclient -1 -6 -S -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1897 if (var_true("dhcp", ifd) && execable("dhclient"))
1898 echo 'No DHCPv6 client software found!' >&2; false \
1899 elsif (var_true("dhcp", ifd))
1900@@ -362,7 +362,7 @@ method dhcp
1901
1902 up
1903 ifconfig %iface% [[link %hwaddress%]] up
1904- dhclient -6 -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1905+ dhclient -1 -6 -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/dhclient6.%iface%.leases -I -df /var/lib/dhcp/dhclient.%iface%.leases %iface% \
1906 if (execable("dhclient"))
1907 echo 'No DHCPv6 client software found!' >&2; false \
1908 elsif (1)
1909@@ -434,7 +434,7 @@ method dhcp
1910 up
1911 [[Warning: Option hwaddress: %hwaddress% not yet supported]]
1912 inetutils-ifconfig --interface %iface% --up
1913- dhclient -6 -pf /run/dhclient6.%iface///.%.pid -lf /var/lib/dhcp/dhclient6.%iface///.%.leases -I -df /var/lib/dhcp/dhclient.%iface///.%.leases %iface% \
1914+ dhclient -1 -6 -pf /run/dhclient6.%iface///.%.pid -lf /var/lib/dhcp/dhclient6.%iface///.%.leases -I -df /var/lib/dhcp/dhclient.%iface///.%.leases %iface% \
1915 if (execable("dhclient"))
1916 echo 'No DHCPv6 client software found!' >&2; false \
1917 elsif (1)
1918diff --git a/interfaces.5.pre b/interfaces.5.pre
1919index d1905ee..7c3bdf4 100644
1920--- a/interfaces.5.pre
1921+++ b/interfaces.5.pre
1922@@ -451,6 +451,11 @@ The class of interfaces being processed.
1923 This is a copy of the value given to the \fB-\-allow\fP option when running ifup or ifdown,
1924 otherwise it is set to "auto" when the \fB-\-all\fP option is used.
1925 .TP
1926+.B CLASS
1927+The class of interfaces being processed.
1928+This is a copy of the value given to the \fB-\-allow\fP option when running ifup or ifdown,
1929+otherwise it is set to "auto" when the \fB-\-all\fP option is used.
1930+.TP
1931 .B MODE
1932 .IR start " if run from ifup, " stop " if run from ifdown".
1933 .TP

Subscribers

People subscribed via source and target branches