[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#c21 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(fvogt@suse.com) | --- Comment #21 from Fabian Vogt <fvogt@suse.com> --- (In reply to Thomas Blume from comment #20)
I've created testpackages with a proposed patch at:
https://build.opensuse.org/package/show/home:tsaupe:branches:openSUSE: Factory:dracut-bsc1173402/dracut
It worked well in my test setup, but it would be good if you could confirm.
Confirmed to work with: rd.neednet -> DHCPv4 rd.neednet ip=dhcp6 -> DHCPv6 rd.neednet bootdev=eth0 -> DHCPv4 (once)
Here is the commit for reference:
https://github.com/tblume/dracut/commit/ 2127271afdbf8ab669a86b382e75eb51a9965396
I'd actually go a step further: https://github.com/Vogtinator/dracut-1/commit/b39e4fe4d53a0806f82aa303690a7a... That also makes other differences (bugs?) more obvious: - in the bootdev case, it calls load_ipv6, then do_dhcp. AFAICT do_dhcp is equivalent to do_dhcp -4 for wicked, but probably not dhclient? - for s in $(getargs nameserver); do ... done is only done if ip is not set, but not in the ip=dhcp/dhcp6 case or the bootdev case - load_ipv6 is missing before do_dhcp -6 -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com