What | Removed | Added |
---|---|---|
Status | CONFIRMED | RESOLVED |
Resolution | --- | INVALID |
After digging into this issue, let's start with the conclusion: the purpose of the ifcfg module _is not_ to generate the ifcfg configuration after switching to the real root device: it just writes it within /run/initramfs/ and also modifies /run/initramfs/rwtab (configuration for read-only filesystems). In other words, even adding the missing condition you suggested in comment #0, ifcfg-ens5 will still have "BOOTPROTO=none" on the running system, unless you manually change it there. Therefore, I will close this bug as invalid. But, thanks to this bug report, we realized that the current write-ifcfg.sh script only writes dhclient specific configuration (very different from what wicked writes) that falls into the Red Hat network-scripts directory... In dracut-044, we had our own write-ifcfg-suse.sh script, which is not present in 049 and 055. So, since this missing functionality does not seem very critical to create a MU for 049 (Leap 15.3), we are bringing it back only for the current 055 version (Tumbleweed and Leap 15.4). https://github.com/openSUSE/dracut/pull/131