Debian Bug report logs - #809169
[PATCH] Allow setting the MTU and HWADDR on manual interfaces

version graph

Package: ifupdown; Maintainer for ifupdown is Josué Ortega <josue@debian.org>; Source for ifupdown is src:ifupdown (PTS, buildd, popcon).

Reported by: Martin Pitt <martin.pitt@ubuntu.com>

Date: Sun, 27 Dec 2015 19:36:02 UTC

Severity: wishlist

Tags: patch

Found in version ifupdown/0.8.4

Fixed in version ifupdown/0.8.5

Done: Guus Sliepen <guus@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Guus Sliepen <guus@debian.org>:
Bug#809169; Package ifupdown. (Sun, 27 Dec 2015 19:36:06 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Pitt <martin.pitt@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Guus Sliepen <guus@debian.org>. (Sun, 27 Dec 2015 19:36:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <martin.pitt@ubuntu.com>
To: Debian BTS Submit <submit@bugs.debian.org>
Cc: Stéphane Graber <stgraber@ubuntu.com>
Subject: [PATCH] Allow setting the MTU and HWADDR on manual interfaces
Date: Sun, 27 Dec 2015 20:33:14 +0100
[Message part 1 (text/plain, inline)]
Package: ifupdown
Severity: wishlist
Version: 0.8.4
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch xenial

Hello,

In https://launchpad.net/bugs/1294807 it was reported that the "mtu"
and "hwaddress" options do not work with "manual" interfaces. Stéphane
(CC'ed) fixed this in Ubuntu a while ago. This seems useful for Debian
as well, so I adjusted this to current Debian git head.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
[0001-Allow-setting-the-MTU-and-HWADDR-on-manual-interface.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#809169; Package ifupdown. (Sun, 27 Dec 2015 19:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Guus Sliepen <guus@debian.org>:
Extra info received and forwarded to list. (Sun, 27 Dec 2015 19:57:03 GMT) (full text, mbox, link).


Message #10 received at 809169@bugs.debian.org (full text, mbox, reply):

From: Guus Sliepen <guus@debian.org>
To: Martin Pitt <martin.pitt@ubuntu.com>, 809169@bugs.debian.org
Cc: Stéphane Graber <stgraber@ubuntu.com>
Subject: Re: Bug#809169: [PATCH] Allow setting the MTU and HWADDR on manual interfaces
Date: Sun, 27 Dec 2015 20:54:45 +0100
[Message part 1 (text/plain, inline)]
On Sun, Dec 27, 2015 at 08:33:14PM +0100, Martin Pitt wrote:

> In https://launchpad.net/bugs/1294807 it was reported that the "mtu"
> and "hwaddress" options do not work with "manual" interfaces. Stéphane
> (CC'ed) fixed this in Ubuntu a while ago. This seems useful for Debian
> as well, so I adjusted this to current Debian git head.

Thanks a lot, I applied the patch and pushed it!

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <guus@debian.org>
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Guus Sliepen <guus@debian.org>:
Bug#809169; Package ifupdown. (Mon, 28 Dec 2015 07:06:06 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Guus Sliepen <guus@debian.org>. (Mon, 28 Dec 2015 07:06:06 GMT) (full text, mbox, link).


Message #15 received at 809169@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <mpitt@debian.org>
To: Guus Sliepen <guus@debian.org>, 809169@bugs.debian.org
Subject: Re: Bug#809169: [PATCH] Allow setting the MTU and HWADDR on manual interfaces
Date: Mon, 28 Dec 2015 08:02:38 +0100
[Message part 1 (text/plain, inline)]
Hey Guus,

Guus Sliepen [2015-12-27 20:54 +0100]:
> Thanks a lot, I applied the patch and pushed it!

Cool, thanks! Please note that the patch did not add a changelog
entry, sorry about that. Can you please add that and Closes: #809169?

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#809169; Package ifupdown. (Wed, 30 Dec 2015 20:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Guus Sliepen <guus@debian.org>:
Extra info received and forwarded to list. (Wed, 30 Dec 2015 20:33:04 GMT) (full text, mbox, link).


Message #20 received at 809169@bugs.debian.org (full text, mbox, reply):

From: Guus Sliepen <guus@debian.org>
To: Martin Pitt <mpitt@debian.org>, 809169@bugs.debian.org
Subject: Re: Bug#809169: [PATCH] Allow setting the MTU and HWADDR on manual interfaces
Date: Wed, 30 Dec 2015 21:29:45 +0100
[Message part 1 (text/plain, inline)]
On Mon, Dec 28, 2015 at 08:02:38AM +0100, Martin Pitt wrote:

> > Thanks a lot, I applied the patch and pushed it!
> 
> Cool, thanks! Please note that the patch did not add a changelog
> entry, sorry about that. Can you please add that and Closes: #809169?

Done. However, I changed the inet manual definition a bit to only set
the MTU or hardware address, and not bring the interface up. This is
especially important when the interface stanza's name doesn't match any
network interface known by the kernel.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <guus@debian.org>
[signature.asc (application/pgp-signature, inline)]

Reply sent to Guus Sliepen <guus@debian.org>:
You have taken responsibility. (Fri, 01 Jan 2016 23:51:07 GMT) (full text, mbox, link).


Notification sent to Martin Pitt <martin.pitt@ubuntu.com>:
Bug acknowledged by developer. (Fri, 01 Jan 2016 23:51:07 GMT) (full text, mbox, link).


Message #25 received at 809169-close@bugs.debian.org (full text, mbox, reply):

From: Guus Sliepen <guus@debian.org>
To: 809169-close@bugs.debian.org
Subject: Bug#809169: fixed in ifupdown 0.8.5
Date: Fri, 01 Jan 2016 23:49:24 +0000
Source: ifupdown
Source-Version: 0.8.5

We believe that the bug you reported is fixed in the latest version of
ifupdown, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 809169@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guus Sliepen <guus@debian.org> (supplier of updated ifupdown package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 02 Jan 2016 00:41:49 +0100
Source: ifupdown
Binary: ifupdown
Architecture: source amd64
Version: 0.8.5
Distribution: unstable
Urgency: medium
Maintainer: Guus Sliepen <guus@debian.org>
Changed-By: Guus Sliepen <guus@debian.org>
Description:
 ifupdown   - high level tools to configure network interfaces
Closes: 809169 809171
Changes:
 ifupdown (0.8.5) unstable; urgency=medium
 .
   [ Stéphane Graber ]
   * Allow setting the MTU and HWADDR on manual interfaces. Closes: #809169
 .
   [ Guus Sliepen ]
   * Remove Depends/Replaces/Breaks for ancient packages.
   * Move ifupdown related files from the systemd and udev packages to this
     package. Closes: #809171
Checksums-Sha1:
 db9f9a24e6da682c666d0ab802ae11d9ce9cff52 1536 ifupdown_0.8.5.dsc
 dcac5b7589dbfdf3936830a48ae507df4b40689d 70384 ifupdown_0.8.5.tar.xz
 5ce94acaf034cc2917a133fedd82f8588db89b85 59568 ifupdown-dbgsym_0.8.5_amd64.deb
 81138b3d1ba4fe98ec706084ac0dc320e0dcca00 71884 ifupdown_0.8.5_amd64.deb
Checksums-Sha256:
 fe1dd6dd3c645f14092967ad94f5d8eaf819fa141b0beff28277b350b4ad4d71 1536 ifupdown_0.8.5.dsc
 2968caf0ed56b74a2f4fd031d7238560adf407b27617c443dcf87d92a56f87c6 70384 ifupdown_0.8.5.tar.xz
 52bc8df092739a482f6d4410ac66ede01b10090228fda841c00011460da088bb 59568 ifupdown-dbgsym_0.8.5_amd64.deb
 32364d896abe90acbf44b438c455b81cfaf32e655aef7a09e00c463609cfd32e 71884 ifupdown_0.8.5_amd64.deb
Files:
 bb58fc6859260d56f5da91decabd34db 1536 admin important ifupdown_0.8.5.dsc
 3481ac8e6499c64d2a21038101225313 70384 admin important ifupdown_0.8.5.tar.xz
 2a1ce11462abb8da0843129af5baa4b6 59568 debug extra ifupdown-dbgsym_0.8.5_amd64.deb
 c7e0862a4b12b55df89af7364ad4410d 71884 admin important ifupdown_0.8.5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWhw8EAAoJED9JDeuHHvn69lgP/i3FWSdKEpU1S3mZfu+seUWL
fKcF4uUTBE4zmZshGBBgx4hvlLSaXPNsbzz3vtQHZFZ38rVW3T85vLWsACdY4T2F
4IOytIAmYrE198G1ABG8E5+KQ2Hacw2sP6vac06qFtwwhCZOeQpdk3xWtxReCHdr
HkGd/GMrneUSC/ErqXmUL3PEqjabElcg8LpUR51J9GENrKdKD0vVGwUSSKkTccpO
q4GEgNVDroF08CgcgxY0rIs0TXn6hGxLTZU6juHMjSpxmejH5UTSHSCUB3SSvvem
sTKa3BrWeIX4yqa99FNaQI69KA0GwusHDfemJpu1/UsEkWSvAHufeao57Fn4TzFo
KU5Wt8OtDOLa6tEBf2TfN4H/ZE4+FmDWG5XRpwu9pvd25xYsjBrnFTqdHZGVBH/W
Folao0BmpdH9WcZQujZmCHm41+vTW+5BH4moJdLD0kVGaxD8w307v1iTftS/KOSi
Cz3jtbDtZVSs+/xZ07odvYfoIpt/Pyj9OACrrE59tB3uhqNLGKaRC4q8R3tGglWO
2BiOfbH3Oext44mLkwoGGIp2BDsHyPvhRecxnrZ8K/K7dlJ0LjyeIy9K7+FZo1Bw
80tWN2V/n5HBDe01cpodFprVK7m3C8ku50Z5akIhsPeQNFv388BFd0CVWBZWn0kI
W7XZ5fbNHL/tqFUOfqs5
=mEAS
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Guus Sliepen <guus@debian.org>:
Bug#809169; Package ifupdown. (Sun, 03 Jan 2016 10:03:13 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Guus Sliepen <guus@debian.org>. (Sun, 03 Jan 2016 10:03:14 GMT) (full text, mbox, link).


Message #30 received at 809169@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <mpitt@debian.org>
To: Guus Sliepen <guus@debian.org>, 809169@bugs.debian.org
Subject: Re: Bug#809169: [PATCH] Allow setting the MTU and HWADDR on manual interfaces
Date: Sun, 3 Jan 2016 10:58:36 +0100
[Message part 1 (text/plain, inline)]
Hello Guus,

Guus Sliepen [2015-12-30 21:29 +0100]:
> However, I changed the inet manual definition a bit to only set the
> MTU or hardware address, and not bring the interface up. This is
> especially important when the interface stanza's name doesn't match
> any network interface known by the kernel.

OK. The Ubuntu change documents that as 

  The above change also means that manual interfaces will now be
  brought up and down (as many users expected until now)

which sounds plausible to me. However, I don't really know the
background of that change, so if you think it's inappropriate in
Debian then I'll keep it as an Ubuntu delta.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#809169; Package ifupdown. (Sun, 03 Jan 2016 10:33:06 GMT) (full text, mbox, link).


Acknowledgement sent to Guus Sliepen <guus@debian.org>:
Extra info received and forwarded to list. (Sun, 03 Jan 2016 10:33:06 GMT) (full text, mbox, link).


Message #35 received at 809169@bugs.debian.org (full text, mbox, reply):

From: Guus Sliepen <guus@debian.org>
To: Martin Pitt <mpitt@debian.org>, 809169@bugs.debian.org
Subject: Re: Bug#809169: [PATCH] Allow setting the MTU and HWADDR on manual interfaces
Date: Sun, 3 Jan 2016 11:31:56 +0100
[Message part 1 (text/plain, inline)]
On Sun, Jan 03, 2016 at 10:58:36AM +0100, Martin Pitt wrote:

> OK. The Ubuntu change documents that as 
> 
>   The above change also means that manual interfaces will now be
>   brought up and down (as many users expected until now)
> 
> which sounds plausible to me. However, I don't really know the
> background of that change, so if you think it's inappropriate in
> Debian then I'll keep it as an Ubuntu delta.

I think it is inappropriate regardless of which distribution you use.
The whole point of a manual interface is that you configure it yourself.
It migt not even be a network interface as known to the kernel, so an "ip
link set dev $INTERFACE up" command might fail.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <guus@debian.org>
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 01 Feb 2016 07:38:23 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 13:17:22 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.