Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Sep 2017 10:51:33 +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-8XubdHAJ0W@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222151-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222151-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from Nikola Kolev <koue@chaosophia.net> ---
Hi Michael,

In the port tree 'files/dhcpd.in' is the start-stop script for the dhcpd
daemon. %%PREFIX%% variable in the same 'PREFIX' variable passed during
compilation. In the 'Makefile' of the the port 'MAKE_ARGS' passes default
'PREFIX' value which is '/usr/local'.

Starting the daemon with the rc start-stop script executes:
/usr/local/sbin/daemon -c /usr/local/etc/dhcpd.conf

I'm running FreeBSD 11.0 and the latest version the ports tree and the daem=
on
starts as its expected. No message 'this option should be used only for tes=
ting
databases files in a non-production environment.' show up. I assume on
FreeBSD-current there is some change in handling environment variables. I w=
ill
investigate it but at the moment I will not provide patch because the port
works as its expected on FreeBSD-stable.

Thanks,
Nikola

--=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-8XubdHAJ0W>