Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209901 - net-misc/dhcp - pkg_config() doesn't seed chroot with library dependencies
Summary: net-misc/dhcp - pkg_config() doesn't seed chroot with library dependencies
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2008-02-12 19:05 UTC by Daniel Keyhani
Modified: 2011-03-05 23:03 UTC (History)
0 users

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


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