forked from dhcp/dhcp
and enabled Restart=on-abort (fate#315133).
- Update to ISC dhcp-4.2.6 release. See RELNOTES file for the
complete list of changes -- digest of fixes not in dhcp-4.2.5:
- Tidy up receive packet processing.
Thanks to Brad Plank of GTA for reporting the issue and
suggesting a possible patch. [ISC-Bugs #34447]
- Fix the socket handling for DHCPv6 clients to allow multiple
instances of a client on a single machine to work properly.
Previously only one client would receive the packets.
Thanks to Jiri Popelka at Red Hat for the bug report and a
potential patch. [ISC-Bugs #34784]
- Added support for gentle shutdown after signal is received.
[ISC-Bugs #32692] [ISC-Bugs 34945]
- Enhance the DHCPv6 server logging to include the addresses
that are assigned to the clients. This can be enabled by
defining LOG_V6_ADDRESSES in site.h. [ISC-Bugs #26377]
- Fix an operation in the DDNS code to be a bitwise instead
of logical or. [ISC-Bugs #35138]
- Merged patches for dhcp-4.2.6 version to apply without fuzzy,
prepended patch number prefixes to match spec file patch nr,
added patch markup tags / bug numbers to the spec file.
- Applied contrib-lease-path pach to contrib.tar.gz
[- contrib-lease-path.diff]
- Changed to require automake and use its config.sub and guess
files instead of maintaining a patch.
[- config-guess-sub-update.patch]
- Enabled to log DHCPv6 addresses assigned by server to clients
[+ 0016-server-log-DHCPv6-addresses-assigned-to-clients.patch]
- Cleaned up documentation, rpmlint adjustments.
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=121
185 lines
5.9 KiB
Plaintext
185 lines
5.9 KiB
Plaintext
## Path: Network/DHCP/DHCP server
|
|
## Description: DHCPv4 server settings
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: dhcpd
|
|
#
|
|
# Interface(s) for the DHCPv4 server to listen on.
|
|
#
|
|
# A special keyword is ANY, it will cause dhcpd to autodetect available
|
|
# interfaces.
|
|
#
|
|
# Examples: DHCPD_INTERFACE="eth0 eth1 eth2"
|
|
# DHCPD_INTERFACE="ANY"
|
|
#
|
|
DHCPD_INTERFACE=""
|
|
|
|
## Path: Network/DHCP/DHCP server
|
|
## Description: DHCPv6 server settings
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: dhcpd6
|
|
#
|
|
# Interface(s) for the DHCPv6 server to listen on.
|
|
#
|
|
# A special keyword is ANY, it will cause dhcpd to autodetect available
|
|
# interfaces.
|
|
#
|
|
# Examples: DHCPD6_INTERFACE="eth0 eth1 eth2"
|
|
# DHCPD6_INTERFACE="ANY"
|
|
#
|
|
DHCPD6_INTERFACE=""
|
|
|
|
## Type: list(yes,no,auto,)
|
|
## Default:
|
|
## Description: Restart dhcpv4 server when interface goes up (again)
|
|
#
|
|
# When the dhcp server is listening on a virtual interface, e.g. bridge,
|
|
# bonding or vlan, and this interface gets deleted and recreated during
|
|
# a network restart, dhcpd will stop answering requests on this interface
|
|
# and needs a restart as well.
|
|
# Begining with SLE-10 SP3, we install an if-up.d post script (see ifup(8)
|
|
# and also ifservices(5)), enabled in auto mode by default. This variable
|
|
# can be used to force or avoid the dhcp server restart:
|
|
#
|
|
# no: do not restart dhcpd
|
|
# yes: force a dhcp server restart
|
|
# auto: (default) restart for virtual interfaces (bond,bridge,vlan) when
|
|
# all interfaces used in DHCPD_INTERFACE variable are up as well.
|
|
#
|
|
# Except of this global setting, the variable can be specified per interface
|
|
# in the interface configurations (/etc/sysconfig/network/ifcfg-$name).
|
|
#
|
|
DHCPD_IFUP_RESTART=""
|
|
|
|
## Type: list(yes,no,auto,)
|
|
## Default:
|
|
## Description: Restart dhcpv6 server when interface goes up (again)
|
|
#
|
|
# When the dhcp server is listening on a virtual interface, e.g. bridge,
|
|
# bonding or vlan, and this interface gets deleted and recreated during
|
|
# a network restart, dhcpd will stop answering requests on this interface
|
|
# and needs a restart as well.
|
|
# Begining with SLE-10 SP3, we install an if-up.d post script (see ifup(8)
|
|
# and also ifservices(5)), enabled in auto mode by default. This variable
|
|
# can be used to force or avoid the dhcp server restart:
|
|
#
|
|
# no: do not restart dhcpd
|
|
# yes: force a dhcp server restart
|
|
# auto: (default) restart for virtual interfaces (bond,bridge,vlan) when
|
|
# all interfaces used in DHCPD_INTERFACE variable are up as well.
|
|
#
|
|
# Except of this global setting, the variable can be specified per interface
|
|
# in the interface configurations (/etc/sysconfig/network/ifcfg-$name).
|
|
#
|
|
DHCPD6_IFUP_RESTART=""
|
|
|
|
## Type: yesno
|
|
## Default: yes
|
|
## ServiceRestart: dhcpd
|
|
#
|
|
# Shall the DHCP server dhcpd run in a chroot jail (/var/lib/dhcp)?
|
|
#
|
|
# Each time you start dhcpd with the init script, /etc/dhcpd.conf
|
|
# will be copied to /var/lib/dhcp/etc/.
|
|
#
|
|
# Some files that are important for hostname to IP address resolution
|
|
# (/etc/{gai.conf,nsswitch.conf,resolv.conf,host.conf,hosts,localtime},
|
|
# /lib/lib{resolv.so.*,libnss_*.so.*,libpthread.so.0,libdl.so.2}) will
|
|
# also be copied to the chroot jail by the init script when you start
|
|
# it (less than 1MB altogether).
|
|
#
|
|
# The pid file will be in /var/lib/dhcp/var/run/dhcpd.pid.
|
|
#
|
|
DHCPD_RUN_CHROOTED="yes"
|
|
|
|
## Type: yesno
|
|
## Default: yes
|
|
## ServiceRestart: dhcpd6
|
|
#
|
|
# Shall the DHCP server dhcpd run in a chroot jail (/var/lib/dhcp6)?
|
|
#
|
|
# Each time you start dhcpd with the init script, /etc/dhcpd6.conf
|
|
# will be copied to /var/lib/dhcp6/etc/.
|
|
#
|
|
# Some files that are important for hostname to IP address resolution
|
|
# (/etc/{gai.conf,nsswitch.conf,resolv.conf,host.conf,hosts,localtime},
|
|
# /lib/lib{resolv.so.*,libnss_*.so.*,libpthread.so.0,libdl.so.2}) will
|
|
# also be copied to the chroot jail by the init script when you start
|
|
# it (less than 1MB altogether).
|
|
#
|
|
# The pid file will be in /var/lib/dhcp6/var/run/dhcpd.pid.
|
|
#
|
|
DHCPD6_RUN_CHROOTED="yes"
|
|
|
|
## Type: string
|
|
## Default: "/etc/dhcpd.d"
|
|
## ServiceRestart: dhcpd
|
|
#
|
|
# Since version 3, dhcpd.conf can contain include statements.
|
|
# If you enter the names of any include files here, _all_ conf
|
|
# files will be copied to $chroot/etc/, when dhcpd is started in the
|
|
# chroot jail. (/etc/dhcpd.conf is always copied.)
|
|
#
|
|
# For your convenience, you can also specify entire directories,
|
|
# that will be copied inclusive subdirectories. The /etc/dhcpd.d
|
|
# directory will be copied by default when it exists.
|
|
#
|
|
# Example: "/etc/foo.bar.conf /etc/dhcpd.bootp-clients.conf"
|
|
#
|
|
DHCPD_CONF_INCLUDE_FILES="/etc/dhcpd.d"
|
|
|
|
## Type: string
|
|
## Default: "/etc/dhcpd.d"
|
|
## ServiceRestart: dhcpd6
|
|
#
|
|
# Since version 3, dhcpd.conf can contain include statements.
|
|
# If you enter the names of any include files here, _all_ conf
|
|
# files will be copied to $chroot/etc/, when dhcpd is started in
|
|
# the chroot jail. (/etc/dhcpd6.conf is always copied.)
|
|
#
|
|
# For your convenience, you can also specify entire directories,
|
|
# that will be copied inclusive subdirectories. The /etc/dhcpd6.d
|
|
# directory will be copied by default when it exists.
|
|
#
|
|
# Example: "/etc/foo.bar.conf /etc/dhcpd6.bootp-clients.conf"
|
|
#
|
|
DHCPD6_CONF_INCLUDE_FILES="/etc/dhcpd6.d"
|
|
|
|
## Type: string
|
|
## Default: "dhcpd"
|
|
## ServiceRestart: dhcpd
|
|
#
|
|
# Leave empty or enter "root" to let dhcpd run as root.
|
|
# Enter "dhcpd" to run dhcpd as user 'dhcpd'.
|
|
#
|
|
DHCPD_RUN_AS="dhcpd"
|
|
|
|
## Type: string
|
|
## Default: "dhcpd"
|
|
## ServiceRestart: dhcpd6
|
|
#
|
|
# Leave empty or enter "root" to let dhcpd run as root.
|
|
# Enter "dhcpd" to run dhcpd as user 'dhcpd'.
|
|
#
|
|
DHCPD6_RUN_AS="dhcpd"
|
|
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: dhcpd
|
|
#
|
|
# Other arguments that you want dhcpd to be started with
|
|
# (e.g. "-p 1234" for a non-standard port to listen on)
|
|
#
|
|
DHCPD_OTHER_ARGS=""
|
|
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: dhcpd6
|
|
#
|
|
# Other arguments that you want dhcpd to be started with
|
|
# (e.g. "-p 1234" for a non-standard port to listen on)
|
|
#
|
|
DHCPD6_OTHER_ARGS=""
|
|
|