Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1733 - ifup-post hostname configuration
Summary: ifup-post hostname configuration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-03-24 08:13 UTC by peticola
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-03-24 14:15:32 UTC


Attachments (Terms of Use)

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.


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