[Bug 222151] net/dhcpd doesn't start without discouraged -c flag

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 6 20:31:43 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222151

Duffyx <driesm.michiels at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |driesm.michiels at gmail.com

--- Comment #5 from Duffyx <driesm.michiels at gmail.com> ---
The problem is that the rc.d script does not take -c /usr/local/etc/dhcpd.conf
with its flags when you overwrite them in rc.conf. If you want to specify
additional flags to dhcpd you will have to start them with "-c
/usr/local/etc/dhcpd.conf" in rc.conf.

for example:
 dhcpd_enable="YES"
 dhcpd_flags="-c /usr/local/etc/dhcpd.conf extraflagshere"

I feel like the rc.d script should be extended to always give the program the
following flags: "-c /usr/local/etc/dhcpd.conf" and then the extra flags should
be passed by dhcpd_flags="extraflagshere".

Could this be implemented? Or a similar dhcpd_interfaces="" in rc.conf as
isc-dhcpd. The interfaces should just be appended to the start command.

I'll take a look at this when time permits.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list