Bug 54972
Summary: | dhcpcd should send hostname to DHCP server by default | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Erich Boleyn <erich> |
Component: | dhcpcd | Assignee: | Elliot Lee <sopwith> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | jonte.regnell |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-10-24 15:32:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Erich Boleyn
2001-10-23 21:03:09 UTC
Another way to "fix" the behavior is to change the scripts that use dhcpcd instead. So, make the network script always use the "-h <hostname>" option, but use the machine's hostname by default, only using a different one if specified by the "DHCP_HOSTNAME" option which can be in the "ifcfg-<interface>" file. I will make this change to my config scripts. Hi, The most common use case is for the dhcp server to tell the client what its hostname is, so your proposal doesn't make sense as a default, and the DHCP_HOSTNAME variable already exists to allow the option of doing what you need. Thus, no change will be made. Err, it may be the most common configuration of a DHCP server when comparing between the mode of (sends hostname) vs. (receives and publishes hostname over DNS), but: 1. Windows & MacOS clients do send the hostname (maybe they have a smarter client that will accept one if provided by the server, and the UNIX dhcpcd is broken in that it can only do one or the other and not both). 2. End-users in general don't think of sniffing around for their new "hostname" when they plug into a network. 3. There are plenty of bits of (espicially server) software under UNIX that get broken when you don't have the right "hostname". So, it strikes me as either a bad policy or again dhcpcd is broken. I have to argue that this is incorrect policy. You should be able to set a hostname on install and the network dhcp server should respect that choice unless it has been explicitly told not to do so. I just cannot understand how you can change police like this between releases (worked in redhat 7.1) |