Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433501 - Acquiring hostname from server in dhcpcd needs on net-dns/bind-tools
Summary: Acquiring hostname from server in dhcpcd needs on net-dns/bind-tools
Status: RESOLVED DUPLICATE of bug 433441
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-31 07:48 UTC by Hubert Mercier
Modified: 2012-09-03 10:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***