Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283352 - net-misc/dhcp-4.1.0 init.d config check not using $DHCPD_OPTS
Summary: net-misc/dhcp-4.1.0 init.d config check not using $DHCPD_OPTS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-31 18:16 UTC by Marc
Modified: 2011-03-05 23:54 UTC (History)
3 users (show)

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 Marc 2009-08-31 18:16:39 UTC
In the dhcpd init.d script, the configuration check does not take the $DHCPD_OPTS into consideration, mainly a problem when using the -6 flag as without it options such as prefix6 subnet6 etc. are not accepted.

Reproducible: Always

Steps to Reproduce:
1. Write a dhcpd configuration involving ipv6 options
2. Add -6 to DCHPD_OPTS in /etc/conf.d/dhcpd
3. Attempt to run /etc/init.d/dhcpd start

Actual Results:  
Fails due to no -6 in the config check

Expected Results:  
Ran the config check with -6
Comment 1 Guido Winkelmann 2010-07-05 13:03:37 UTC
Another problem with running in DHCPv6 mode is that the init script won't create the correct leases file, again preventing dhcpd from starting up
Comment 2 SpanKY gentoo-dev 2011-03-05 23:54:32 UTC
should be fixed with dhcp-4.2.1