(In reply to Fabian Vogt from comment #12) > What should be done IMO: > > - Touch did-setup in the "# No ip lines default to dhcp" case after > successful do_dhcp > - Touch did-setup in the "# no ip option directed at our interface?" case > after successful do_dhcp > > 0b998beebc008f2dda2eed8a36d59f4a258cb27a introduced the code to handle the > latter, but: > - It also runs in cases where the do_dhcp in this block wasn't actually run > (like in this bug report) > - The $? it checks is meaningless at this point due to the ifs > > In the "rd.neednet=1 bootdev=eth0" case it actually runs do_dhcp twice for > the interface, as both > "# No ip ..." blocks apply. Maybe those blocks should be merged? Ok, let me investigate that. The patch from bsc#1172807 also needs more investigation, because on dual stack setups, dracut must not skip the ipv6 setup when the ipv4 setup was successfull. Will let you know as soon as I have something to try.