Hide Forgot
Description of problem: dhcpd fails with "Invalid IPv6 address" if octet is word 'add'. Prefixing with 0 as '0add' makes dhcpd happy again. # diff foo.conf foo2.conf 1c1 < host host_00.50.56.2b.f7.55 { hardware ethernet 00:50:56:2b:f7:55; fixed-address6 2607:f1c0:1800:8087:0add:bad:bed:dad; } --- > host host_00.50.56.2b.f7.55 { hardware ethernet 00:50:56:2b:f7:55; fixed-address6 2607:f1c0:1800:8087:add:bad:bed:dad; } a) foo.conf works: # /usr/sbin/dhcpd -6 -t -q -cf foo.conf # echo $? 0 b) foo2.conf containing word 'add' fails # /usr/sbin/dhcpd -6 -t -q -cf foo2.conf # echo $? 1 Making it not silent throws the following error: foo2.conf line 1: Invalid IPv6 address. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Create an ipv6 lease reservation with fixed-address6 containing word "add" as for example host host_00.50.56.2b.f7.55 { hardware ethernet 00:50:56:2b:f7:55; fixed-address6 2607:f1c0:1800:8087:add:bad:bed:dad; } 2.test dhcp config or run daemon Actual results: # cat foo2.conf host host_00.50.56.2b.f7.55 { hardware ethernet 00:50:56:2b:f7:55; fixed-address6 2607:f1c0:1800:8087:add:bad:bed:dad; } # /usr/sbin/dhcpd -6 -t -cf foo2.conf Internet Systems Consortium DHCP Server 4.2.5 Copyright 2004-2013 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ foo2.conf line 1: Invalid IPv6 address. host host_00.50.56.2b.f7.55 { hardware ethernet 00:50:56:2b:f7:55; fixed-address ^ Configuration file errors encountered -- exiting This version of ISC DHCP is based on the release available on ftp.isc.org. Features have been added and other changes have been made to the base software release in order to make it work better with this distribution. Please report for this software via the CentOS Bugs Database: http://bugs.centos.org/ exiting. Expected results: Additional info:
Thank you very much for reporting this issue. Given the nature of the issue - the fact there is an existing workaround in connection with the state of RHEL 7 which is currently in Maintenance Support 2 Phase I am closing this bug as WONTFIX. More info: "During the Maintenance Support Phase for Red Hat Enterprise Linux Version 8 and Maintenance Support 2 Phase for Red Hat Enterprise Linux version 6, and 7, Red Hat defined Critical and Importantix impact Security Advisories (RHSAs) and selected (at Red Hat discretion) Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. Other errata advisories may be delivered as appropriate. New functionality and new hardware enablement are not planned for availability in the Maintenance Support (RHEL 8) Phase and Maintenance Support 2 (RHEL 6, 7) Phase. Minor releases with updated installation images may be made available in this Phase."