Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 689081

Summary: Kickstart network command does not respect --mtu
Product: Red Hat Enterprise Linux 6 Reporter: Ian Ward Comfort <icomfort>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0CC: atodorov, rwilliam
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-13.21.118-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 10:30:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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