Bug 689081 - Kickstart network command does not respect --mtu
Summary: Kickstart network command does not respect --mtu
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-19 05:55 UTC by Ian Ward Comfort
Modified: 2011-12-06 10:30 UTC (History)
2 users (show)

Fixed In Version: anaconda-13.21.118-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 10:30:51 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1565 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2011-12-06 00:39:12 UTC

Description Ian Ward Comfort 2011-03-19 05:55:09 UTC
Description of problem:
When a network command in a kickstart file includes --mtu, no MTU value is written to the installed system's ifcfg file in /etc/sysconfig/network-scripts.

How reproducible:
100%.

Steps to Reproduce:
1. Create a kickstart file with a line like "network --device=eth1 --mtu=8192".
2. Install a new system using this kickstart file.
3. Examine /etc/sysconfig/network-scripts/ifcfg-eth1 on new system.
  
Actual results:
There is no MTU= line in the file ifcfg-eth1.

Expected results:
The file should contain the line "MTU=8192".

Additional info:
The problem appears to be in kickstart.NetworkData's execute method; the logic there transfers various other settings from the kickstart data object to the Anaconda network device object, but not MTU. I have a patch which I've deployed via an updates.img in my environment (though I'm not certain which branch I should port this patch to for upstream inclusion).

Comment 1 Ian Ward Comfort 2011-03-19 06:11:17 UTC
See also: https://github.com/icomfort/anaconda/tree/rhel6-fix-mtu

Comment 3 RHEL Program Management 2011-05-31 20:49:52 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 6 Alexander Todorov 2011-08-09 10:36:23 UTC
With anaconda-13.21.126 MTU is set to specified value.

Comment 7 errata-xmlrpc 2011-12-06 10:30:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1565.html


Note You need to log in before you can comment on or make changes to this bug.