Bug 1057709

Summary: dhclient fails in initramfs due to missing /etc/resolv.conf
Product: [Fedora] Fedora Reporter: David Shea <dshea>
Component: dhcpAssignee: Jiri Popelka <jpopelka>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dracut-maint-list, harald, jonathan, jpopelka, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-27 15:27:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Shea 2014-01-24 16:17:54 UTC
Description of problem:

Using a rawhide initramfs and trying to get dracut to acquire an IP address via DHCP results in the following completely clear and helpful error message:

[    7.203496] localhost dracut-initqueue[501]: Starting dhcp for interface ens3
[    7.243673] localhost dhclient[548]: irs_resconf_load failed: -1060348880.
[    7.249145] localhost dracut-initqueue[501]: irs_resconf_load failed: -1060348880.
[    7.251776] localhost dhclient[548]: Can't initialize context: (result code text not available)
[    7.253761] localhost dracut-initqueue[501]: Can't initialize context: (result code text not available)
[    7.256762] localhost dhclient[548]: [    7.257452] localhost dhclient[548]: This version of ISC DHCP is based on the release available
[    7.262199] localhost dhclient[548]: on ftp.isc.org.  Features have been added and other changes
[    7.262868] localhost dhclient[548]: have been made to the base software release in order to make
[    7.265674] localhost dhclient[548]: it work better with this distribution.
[    7.268320] localhost dhclient[548]: [    7.268798] localhost dhclient[548]: Please report for this software via the Red Hat Bugzilla site:
[    7.271278] localhost dhclient[548]: http://bugzilla.redhat.com
[    7.271691] localhost dhclient[548]: [    7.274239] localhost dhclient[548]: exiting.

Anyway, dhclient is crashing because there's no /etc/resolv.conf, and I guess it needs that now. An empty one works.


Version-Release number of selected component (if applicable):
dracut-034-74.git20131218.fc21.x86_64
12:dhclient-4.3.0-0.4.b1.fc21.x86_64

How reproducible:
Always


Steps to Reproduce:
1. Using a rawhide boot.iso, attempted to boot using updates=http://... with no ip configuration

Comment 1 Harald Hoyer 2014-01-27 15:23:22 UTC
reassigning...

does dracut really has to supply an empty file for dhclient to work as expected?

Comment 2 Jiri Popelka 2014-01-27 15:27:40 UTC
Should be fixed with bind-libs-lite-9.9.5-0.4.rc2.fc21

*** This bug has been marked as a duplicate of bug 1052343 ***