summaryrefslogtreecommitdiff
path: root/net/isc-dhcp3-server/pkg-message
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-06-26 14:32:41 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-06-26 14:32:41 +0000
commitbf45d386a18a7763fae716088e19c2c606f92a1c (patch)
treeb216d55923331ca603f96902a8f46874f5288c82 /net/isc-dhcp3-server/pkg-message
parentUpdate to 0.3.3 (diff)
new paranoia and jail options handled by rc variables to easy they use.
PR: 68357 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to 'net/isc-dhcp3-server/pkg-message')
-rw-r--r--net/isc-dhcp3-server/pkg-message39
1 files changed, 28 insertions, 11 deletions
diff --git a/net/isc-dhcp3-server/pkg-message b/net/isc-dhcp3-server/pkg-message
index 749a5d69ea4a..ec8c0bc5306c 100644
--- a/net/isc-dhcp3-server/pkg-message
+++ b/net/isc-dhcp3-server/pkg-message
@@ -4,21 +4,38 @@
**** This port installs dhcp daemon, but don't invokes dhcpd by default. If
you want to invoke dhcpd at startup, put these lines into /etc/rc.conf.
- dhcpd_enable="YES"
- dhcpd_flags="" # command option(s)
+ dhcpd_enable="YES" # dhcpd enabled?
+ dhcpd_flags="-q" # command option(s)
dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file
dhcpd_ifaces="" # ethernet interface(s)
+ dhcpd_umask="022" # file creation mask
-**** For instance, rc.conf like variables are still read from %%PREFIX%%\
- /etc/rc.isc-dhcpd.conf. They should be move into /etc/rc.conf. Also,
- the dhcpd_options variable must be renamed dhcpd_flags.
-
-**** If compiled with paranoia support (the default), the following options
+**** If compiled with paranoia support (the default), the following lines
are also supported:
- [-user user] [-group group] [-chroot dir] [-early_chroot]
+ 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_rootdir="/var/db/dhcpd" # directory to run in
+ dhcpd_flags="-early_chroot" # needs full root
+
+ WARNING: -early_chroot requires a jail(8) like environment to works.
+
+**** If compiled with jail support (the default), the following lines are
+ also supported (-early_chroot and dhcpd_chroot_enable=YES are implied):
+
+ dhcpd_jail_enable="YES" # runs imprisoned?
+ dhcpd_hostname="<hostname>" # jail hostname
+ dhcpd_ipaddress="<ip address>" # jail ip address
+
+ WARNING: dhcpd_rootdir needs to point to a full jail(8) environment.
-**** If compiled with jail support (the default), the following options are
- also supported:
+**** WARNING: never edit the chrooted or jailed dhcpd.conf file but
+ %%PREFIX%%/etc/dhcpd.conf instead which is always copied where
+ needed upon startup.
- [-chroot dir] [-jail hostname ip_address] # implies -early_chroot
+**** WARNING: %%PREFIX%%/etc/rc.isc-dhcpd.conf is obsolete. rc.conf like
+ variables are still read there but should be moved /etc/rc.conf or
+ /etc/rc.conf.d/dhcpd instead. Also, the dhcpd_options variable must
+ be renamed dhcpd_flags if any.