Bug 1057709 - dhclient fails in initramfs due to missing /etc/resolv.conf
Summary: dhclient fails in initramfs due to missing /etc/resolv.conf
Keywords:
Status: CLOSED DUPLICATE of bug 1052343
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Popelka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-24 16:17 UTC by David Shea
Modified: 2014-01-27 15:27 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-27 15:27:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.