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

Bug 283352

Summary: net-misc/dhcp-4.1.0 init.d config check not using $DHCPD_OPTS
Product: Gentoo Linux Reporter: Marc <marc>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: dan, guido-genbugs, kanelxake
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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