Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2017 20:40:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222151] net/dhcpd doesn't start without discouraged -c flag
Message-ID:  <bug-222151-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222151

            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@FreeBSD.org
          Reporter: mwlucas@michaelwlucas.com
                CC: koue@chaosophia.net
                CC: koue@chaosophia.net
             Flags: maintainer-feedback?(koue@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. Bu=
t -c
includes the text: "this option should be used only for testing database fi=
les
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!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222151-13>