Bug 1249750
Summary: | Two ifcfg files for one interface when installing with net.ifnames=0 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Stodola <jstodola> |
Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | jstodola, rvykydal |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | s390x | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | anaconda-21.48.22.60-1 | Doc Type: | No Doc Update |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-03 23:08:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1186677 |
Description
Jan Stodola
2015-08-03 17:27:29 UTC
Anaconda creates extra connection because it doesn't recognize ifcfg file created in dracut because it has neither HWADDR (because it is s390) nor DEVICE (because we are using kernel names instead of persistent names, net.ifnames=0) binding info. Assuming dracut's ifcfg file is fine, we probably need to look for NAME in this case. Here is updates image for RHEL-7.2-20150803.n.0 with a patch: https://rvykydal.fedorapeople.org/updates.ifcfgdouble.img Does it fix your case? Thanks for testing, this update should do better (I gave it some checking with fake ifcfg in vm). https://rvykydal.fedorapeople.org/updates.ifcfgdoublev2.img v2 works fine. There is just one ifcfg file, as expected. (In reply to Radek Vykydal from comment #10) > Thanks for testing, this update should do better (I gave it some checking > with fake ifcfg in vm). > > https://rvykydal.fedorapeople.org/updates.ifcfgdoublev2.img The patch: https://github.com/rvykydal/anaconda/commit/bb3e999efbab7cbe47317efaf62a8dcb186a0fde Retested with anaconda-21.48.22.79-1.el7, this issue is no longer reproducible, there is just one ifcfg file created (ifcfg-eth0) when installing with the net.ifnames=0 boot option. Thanks, moving to VERIFIED. 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. https://rhn.redhat.com/errata/RHEA-2016-2158.html |