RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1998294 - dhcpd fails if config file contain reservation address with an octet 'add'
Summary: dhcpd fails if config file contain reservation address with an octet 'add'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dhcp
Version: 7.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Martin Osvald 🛹
QA Contact: rhel-cs-infra-services-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-26 18:48 UTC by Javier Angulo
Modified: 2022-07-19 06:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-19 06:50:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-95374 0 None None None 2021-08-26 18:48:52 UTC

Description Javier Angulo 2021-08-26 18:48:22 UTC
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:

Comment 4 Martin Osvald 🛹 2022-07-19 06:50:56 UTC
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."


Note You need to log in before you can comment on or make changes to this bug.