"manual" type interfaces should allow the mtu stanza

Bug #1294807 reported by Bryan Quigley
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Fix Released
Medium
Chris J Arges

Bug Description

[Impact]
 * Using mtu options on manual interfaces setup with ifupdown will not work.

[Test Case]
 * Edit /etc/networking/interface and modify a manual interface such as:

auto eth1
iface eth1 inet manual
    mtu 9000

* Bring down the interface and back up.
$ ifdown eth1
$ ifup eth1

* Check mtu:
$ ip link show eth1

It should show mtu 9000

[Regression Potential]
 * This code is already in Trusty.

--

1. Ubuntu 12.04/14.04

3. Expected: That MTU will be set with the mtu option
4. What happens: You need to use pre-up/post-up ifconfig mtu to set the option

Revision history for this message
Stéphane Graber (stgraber) wrote :

Can you try the package I just uploaded to ppa:stgraber/experimental?

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

That appears to have fixed the MTU issue... tested with bonds/vlan setup.

description: updated
Changed in ifupdown (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ifupdown - 0.7.47.2ubuntu2

---------------
ifupdown (0.7.47.2ubuntu2) trusty; urgency=medium

  [ Stéphane Graber ]
  * Allow setting the MTU and HWADDR on manual interfaces. (LP: #1294807)
  * The above change also means that manual interfaces will now be
    brought up and down (ias many users expected until now).
  * Disable link.defn as it's not covering all the cases supported by
    the vlan and bridge hooks and so causes more harm than good at this
    point. (LP: #1295304)
  * Also enable network-interface-container for OpenVZ. (LP: #1294155)
  * Update networking.init to exit 1 on reload when on an upstart system.
  * Pass --force to ifdown in network-interface to silence errors on
    non-existing interfaces. (LP: #1295620)

  [ Dimitri John Ledkov ]
  * Prevent the ability to stop or restart networking service
    interactively. As that is not supported. Networking job is only stopped
    during shutdown sequence. (LP: #1072518)
 -- Stephane Graber <email address hidden> Wed, 19 Mar 2014 18:04:49 -0400

Changed in ifupdown (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote :

This also affects Precise.

Changed in ifupdown (Ubuntu Precise):
importance: Undecided → Medium
assignee: nobody → Chris J Arges (arges)
status: New → In Progress
Revision history for this message
Chris J Arges (arges) wrote :

I've backported and tested this patch on precise and it allows me to set MTU on manual interfaces.

Revision history for this message
Chris J Arges (arges) wrote :

uploaded for precise

Chris J Arges (arges)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Bryan, or anyone else affected,

Accepted ifupdown into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ifupdown/0.7~beta2ubuntu11 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ifupdown (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Confirmed that the new package on precise fixes it.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ifupdown - 0.7~beta2ubuntu11

---------------
ifupdown (0.7~beta2ubuntu11) precise; urgency=low

  [ Stéphane Graber ]
  * Allow setting the MTU and HWADDR on manual interfaces. (LP: #1294807)
 -- Chris J Arges <email address hidden> Thu, 27 Mar 2014 11:34:01 -0500

Changed in ifupdown (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of the Stable Release Update for ifupdown has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.