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 1703564 - Change hostname length limit to 64
Summary: Change hostname length limit to 64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.1
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-26 17:43 UTC by Rob Crittenden
Modified: 2020-11-14 06:38 UTC (History)
7 users (show)

Fixed In Version: ipa-4.8.0-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 20:53:02 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure freeipa c 8ce0e6bf6065e8d08cee7e924eda05174d26d883 0 None None None 2019-09-09 10:18:50 UTC
Red Hat Product Errata RHBA-2019:3348 0 None None None 2019-11-05 20:53:19 UTC

Description Rob Crittenden 2019-04-26 17:43:55 UTC
This bug is created as a clone of upstream ticket:
https://pagure.io/freeipa/issue/2018

Linux defines MAXHOSTNAMELEN AS 64, we need to honor that. gethostname(2), unode(2), hostname(1) all enforce this limit.

This is limited now to 255 in the host plugin.

Comment 1 Rob Crittenden 2019-04-26 17:44:55 UTC
This BZ in action: https://bugzilla.redhat.com/show_bug.cgi?id=1703150

Comment 2 Rob Crittenden 2019-05-16 18:47:36 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/6662e99e173a16059271528e1fa58e37a3028924

Comment 3 Florence Blanc-Renaud 2019-05-17 11:43:45 UTC
Fixed upstream
ipa-4-7:
https://pagure.io/freeipa/c/319b920e19bafab9e2c1555969c11bbf133707e6

Comment 7 Michal Polovka 2019-09-09 10:18:50 UTC
Test implemented in master:

    [8ce0e6b](https://pagure.io/freeipa/c/8ce0e6bf6065e8d08cee7e924eda05174d26d883)  ipatests: add tests for ipa host-add with non-default maxhostnamelength

Comment 9 errata-xmlrpc 2019-11-05 20:53:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3348


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