[pkg-dhcp-devel] Bug#592539: bugs in isc-dhcp-server startup script

Egerváry Gergely gergely at egervary.hu
Wed Dec 23 17:40:54 UTC 2015


Dear Michael,

First, v4 and v6 config file _must_ be different:
Probably we should call v6 config as dhcpd6.conf by default.

# use already specified config file or fallback to defaults
DHCPDv4_CONF=${DHCPDv4_CONF:-/etc/dhcp/dhcpd.conf}
DHCPDv6_CONF=${DHCPDv6_CONF:-/etc/dhcp/dhcpd.conf}

The second line should be:
DHCPDv6_CONF=${DHCPDv6_CONF:-/etc/dhcp/dhcpd6.conf}

Next, there's a typo:

DHCPDv4_PID="${DHCPDv4_PID:-/var/run/dhcpd.pid}"
DHCPDv6_PID="${DHCPDv4_PID:-/var/run/dhcpd6.pid}"

The second line should have:
DHCPDv6_PID="${DHCPDv6_PID:-/var/run/dhcpd6.pid}"

Thank you.
-- 
Gergely EGERVARY



More information about the pkg-dhcp-devel mailing list