Bug 503109
| Summary: | nash does not wait till dhclient is done configuring the nic | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rolf Fokkens <rolf> | ||||||
| Component: | mkinitrd | Assignee: | Dave Cantrell <dcantrell> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | hdegoede, katzj, pjones, wtogami | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i386 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2009-06-01 12:43:14 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Rolf Fokkens
2009-05-28 22:09:39 UTC
Hmm, bummer, can you extract the init script from the working and non working initrd's please and attach them both ? To extract the init script do: zcat /boot/initrd-<kernel-version>.img | cpio -i init Created attachment 345934 [details]
init of initrd-2.6.29.4-167.fc11.i586.img generated by f10
Created attachment 345935 [details]
init of initrd-2.6.29.4-167.fc11.i586.img generated by f11
I did a little more research. It's not the init script: both the f10 generated and the f11 gererated initscript make the boot fail on a f11 generated initrd. The problem seems to be nash. f11 nash has no integrated dhcp client, and apparently calls dhclient instead. It looks like (after some tweaking of the init script to get any output at all, see Bug 496895) dhclient isn't ready configuring the interface at the time the first iscsistart is called. I have an example of the first iscsistart failing (so the root filesystem isn't accessible) but the second iscsistart succeeding (so the swap space is available). This suggests some sort of timing problem with the real dhclient, but not with the integrated nash dhcpclient of f11. Ah, ok. I'll update the summary of this bug this and re-assign this to our network specialist who also is the one who made the libdhcpclient -> use dhclient changes. David, it looks like the libdhcpclient -> use dhclient changes in nash cause issues with certain setups (The nash script continues while dhclient isn't ready with configuring the interface yet). I tried to verify my own observations, and now it narrows down to something else: dhclient does not create a default gateway, but F10 nash does. The abserved timing issue was caused by a different target IP address for the root target and the swap target (a mistake caused by hacking the initrd to get more information). Both IP's are from te same iscsi target, but in different subnets. (In reply to comment #6) > I tried to verify my own observations, and now it narrows down to something > else: dhclient does not create a default gateway, but F10 nash does. > > The abserved timing issue was caused by a different target IP address for the > root target and the swap target (a mistake caused by hacking the initrd to get > more information). Both IP's are from te same iscsi target, but in different > subnets. Ah so this is a duplicate of bug 501033, marking it as such. *** This bug has been marked as a duplicate of bug 501033 *** |