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

Bug 209901

Summary: net-misc/dhcp - pkg_config() doesn't seed chroot with library dependencies
Product: Gentoo Linux Reporter: Daniel Keyhani <daniel>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Keyhani 2008-02-12 19:05:22 UTC
Needed libraries are missing from the automatically set-up chroot environment for dhcpd. This leads to an inability of a chrooted dhcpd to resolve hostnames. This breaks configurations where hostnames are used in the dhcpd.conf, rather than IP addresses.

Reproducible: Always

Steps to Reproduce:
1. emerge dhcp
2. edit /etc/conf.d/dhcpd and uncomment DHCPD_CHROOT
3. emerge --config dhcp
4. use hostnames/FQDNs in dhcpd.conf

Actual Results:  
dhcpd is unable to resolve hostnames - router and nameserver IPs are not given to clients, fixed-addr matching is broken if hostnames are used.

Expected Results:  
Normal operation.
Comment 1 SpanKY gentoo-dev 2011-03-05 23:03:50 UTC
it's not really possible to calculate all the libs that will be needed considering glibc allows for multiplexed behavior with nsswitch.conf ...