-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.4
-
None
-
None
-
None
-
rhel-sst-cs-stacks
-
ssg_core_services
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
All
-
None
What were you trying to do that didn't work?
dhclient fails to start when specifying an interface with a name longer than 15 chars. sometimes systemd creates names of this length:
Apr 30 08:27:26 localhost systemd[1]: Started dhclient on interface enp0s20f0u14u2c2.
Apr 30 08:27:26 localhost dhclient[650]: enp0s20f0u14u2c2: interface name too long (is 16)
Apr 30 08:27:26 localhost dhclient[650]: enp0s20f0u14u2c2: interface name too long (is 16)
Please provide the package NVR for which bug is seen:
dhcp-client-4.4.2-19.b1.el9.x86_64
(but same with rhel8 version, as far as I can tell every released version is affected)
How reproducible:
Steps to reproduce
~# ip link add name bridge0 type bridge
~# ip link property add dev bridge0 altname bridge0_long_altname
~# dhclient bridge0_long_altname
bridge0_long_altname: interface name too long (is 20)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 issues with this software via:
https://bugzilla.redhat.com/exiting.
Notes:
- building the package with IF_NAMESIZE set to larger values should solve the issue
- the maximum size for altnames which linux seems to accept is 127 chars