Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 433501

Summary: Acquiring hostname from server in dhcpcd needs on net-dns/bind-tools
Product: Gentoo Linux Reporter: Hubert Mercier <anigel>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hubert Mercier 2012-08-31 07:48:36 UTC
Hi.

Currently the dhcpcd package' ebuild has an empty RDEPEND variable.

But, in order to make hostname acquired from the DHCP server, the /lib64/dhcpcd/dhcpcd-hooks/29-lookup-hostname script uses "dig", which is part from net-dns/bind-tools.

Maybe this package should be added as a required dependency of dhcpcd ?

Reproducible: Always

Steps to Reproduce:
1.try to get hostname from server with dhcpcd if bind-tools is not installed
Actual Results:  
getting hostname fails, system defaults to "localhost" or 127.0.0.1 equivalent
Comment 1 Hubert Mercier 2012-09-03 10:14:53 UTC

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