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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 8 20:40:39 UTC 2017


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

            Bug ID: 222151
           Summary: net/dhcpd doesn't start without discouraged -c flag
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: mwlucas at michaelwlucas.com
                CC: koue at chaosophia.net
                CC: koue at chaosophia.net
             Flags: maintainer-feedback?(koue at chaosophia.net)

Running the latest dhcpd package, dhcpd-6.0.20170207, on -current

Configured /usr/local/etc/dhcpd.conf. Enabled in rc.conf. Ran service dhcpd
start. It did not start. /var/log/messages shows

Sep  8 12:28:27 zfs3 dhcpd: Can't open /etc/dhcpd.conf: No such file or
directory
Sep  8 12:28:27 zfs3 dhcpd: exiting.

Easy enough, right? Change the config file location on the command line. But -c
includes the text: "this option should be used only for testing database files
in a non-production environment."

So copy the config to /etc? No, violates pkg config rules

I don't know the correct answer, but I have a couple suggestions:

- make -c /usr/local/etc/dhcpd.conf the default
- add a patch to change the default config file location

Thanks!

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


More information about the freebsd-ports-bugs mailing list