[kernel-bugs] [Bug 1173402] Kernel delays boot by 12s if ip= option given
https://bugzilla.suse.com/show_bug.cgi?id=1173402 https://bugzilla.suse.com/show_bug.cgi?id=1173402#c19 --- Comment #19 from Thomas Blume <thomas.blume@suse.com> --- (In reply to Fabian Vogt from comment #18)
No, that "$?" is wrong because there is an if preceding it. Example: if false; then false; fi echo $? # 0
So using $? after an if is not working as expected here, it will only indicate the exit code of "do_dhcp -4" or "do_dhcp", but never of "do_dhcp -6".
Argh, you are right, took me some time to see it, thanks! [...]
Yay, spaghetti...
fully agreed
Please note I appreciate your comments and will try to addess them as best as possible, but without breaking anything working. Unfortunately code changes here are very delicate since it has a big impact on netboot.
Yep, this is the reverse-engineering part of cleanup ;-)
I don't see any downside to merging the "# No ip lines default to dhcp" block with the "# no ip option directed at our interface?" one down below, it would make the various options and flows much more obvious.
Ok, working on an update. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com