Bug 4620
| Summary: | /etc/sysconfig/network-scripts/ifup not calling pump correctly when a hostname is required to be sent to the dhcp server | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | jar |
| Component: | dhcpcd | Assignee: | David Lawrence <dkl> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-08-20 15:35:29 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: | |||
In initscripts-4.32 (will be in next rawhide), just set the 'DHCP_HOSTNAME' variable in /etc/sysconfig/ifcfg-<device>, and ifup will pass this to pump. |
If you have configured a Redhat 6 machine to use DHCP and you are required to send the DHCP server a hostname there is no provision in /etc/sysconfig/network-scripts/ifup do do so. My work around was to replace, in ifup: if /sbin/pump -i $DEVICE ; then with if /sbin/pump -h `hostname` -i $DEVICE ; then Very may DHCP sites would be set up so this is required, I believe. regards, john