Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 23:44:17 GMT
From:      Nick <decrofn@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188020: isc-dhcp42-server port install/script issue
Message-ID:  <201403272344.s2RNiHLq055360@cgiserv.freebsd.org>
Resent-Message-ID: <201403272350.s2RNo0K3079723@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188020
>Category:       ports
>Synopsis:       isc-dhcp42-server port install/script issue
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 23:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Nick
>Release:        10.0-RELEASE
>Organization:
n/a
>Environment:
FreeBSD breeze 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When I install net/isc-dhcp42-server with PARANOIA support this creates /usr/local/etc/rc.d/isc-dhcpd which contains %%PARANOIA%% inside this causes warnings on star/restart

/usr/local/etc/rc.d/isc-dhcpd restart
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $dhcpd_chuser_enable is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $dhcpd_chuser_enable is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).

no matter of the rc.conf content which in my case is

dhcpd_enable="YES"
dhcpd_ifaces="LAN"
dhcpd_flags="-q"                           # command option(s)
dhcpd_conf="/usr/local/etc/dhcpd.conf"      # configuration file
dhcpd_withumask="022"
dhcpd_chuser_enable="YES"            # runs w/o privileges?
dhcpd_withuser="dhcpd"              # user name to run as
dhcpd_withgroup="dhcpd"             # group name to run as
dhcpd_chroot_enable="YES"           # runs chrooted?
dhcpd_devfs_enable="YES"            # use devfs if available?
dhcpd_rootdir="/var/db/dhcpd"       # directory to run in
#dhcpd_includedir=""       # directory with config-files to include

here is more detailed description https://forums.freebsd.org/viewtopic.php?f=5&t=45677&p=255277#p255277
>How-To-Repeat:
install net/isc-dhcp42-server and view /usr/local/etc/rc.d/isc-dhcpd
>Fix:
replace %%PARANOIA%% to yes inside /usr/local/etc/rc.d/isc-dhcpd

>Release-Note:
>Audit-Trail:
>Unformatted:



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