Bug 1733

Summary: ifup-post hostname configuration
Product: [Retired] Red Hat Linux Reporter: peticola
Component: initscriptsAssignee: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-24 14:15:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description peticola 1999-03-24 08:13:48 UTC
The need_hostname() function only sets
NEEDHOSTNAME if the hostname is set to
some default value like 'localhost'.

But in a setting such as PPP with dynamic
IP address assignment, you will often log
in and log out many times. The first time
you connect with ppp, ifup-post will set the hostname
to reflect your new ip address, but subsequent
ppp sessions will retain the old (now probably
incorrect) hostname.

Comment 1 Bill Nottingham 1999-03-24 14:15:59 UTC
in the initscripts for 5.9.1 & higher, this has been fixed so
that the hostname is not set when using ppp & slip interfaces.