Description of problem: ifcfg config file created for a CTC (channel-to-channel) network device contains VLAN options: # Generated by dracut initrd NAME="slccw0.0.d000" SUBCHANNELS="0.0.d000,0.0.d001" NETTYPE="ctc" OPTIONS="protocol=0" DEVICE="slccw0.0.d000" ONBOOT=yes NETBOOT=yes UUID="4b28b6f4-f6de-4778-b8b3-ac0f136da891" BOOTPROTO=none IPADDR="192.168.1.2" PREFIX="32" GATEWAY="192.168.1.1" TYPE=Vlan # these options NAME="slccw0.0.d000" # shouldn't be VLAN=yes # written to the PHYSDEV="" # config file DNS1="10.16.36.29" DNS2="10.11.5.19" Version-Release number of selected component (if applicable): dracut-041-10.fc22.s390x.rpm How reproducible: always Steps to Reproduce: 1. install F22/s390x via CTC network device Actual results: VLAN options in ifcfg file Expected results: VLAN options not written to ifcfg file
Created attachment 1014755 [details] journalctl from installation with rd.debug
This patch works for me: diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh index 3dcf304..f5de788 100755 --- a/modules.d/45ifcfg/write-ifcfg.sh +++ b/modules.d/45ifcfg/write-ifcfg.sh @@ -137,6 +137,7 @@ for netup in /tmp/net.*.did-setup ; do unset macaddr unset slave unset ethname + unset vlan [ -e /tmp/bond.${netif}.info ] && . /tmp/bond.${netif}.info uuid=$(cat /proc/sys/kernel/random/uuid)
http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=23446ef1e0a6eda79049a655cb1645691b129645
dracut-041-10.fc22.1 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dracut-041-10.fc22.1
Package dracut-041-10.fc22.1: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dracut-041-10.fc22.1' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-6659/dracut-041-10.fc22.1 then log in and leave karma (feedback).
dracut-041-10.fc22.1 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.