Bug 59744 - bug in ifup-post incorrectly sets hostname
Summary: bug in ifup-post incorrectly sets hostname
Keywords:
Status: CLOSED DUPLICATE of bug 58946
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-12 16:01 UTC by David L. Parsley
Modified: 2014-03-17 02:25 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-02-12 16:01:34 UTC
Embargoed:


Attachments (Terms of Use)

Description David L. Parsley 2002-02-12 16:01:29 UTC
There's a bug in ifup-post near the bottom:

if [ ... \
    -a need hostname \
...

Which doesn't work since test doesn't eval the function; suggested fix:

if need_hostname && [ ...

This bug causes the hostname to be set even when need_hostname is 0

Comment 1 Bill Nottingham 2002-02-13 05:04:54 UTC

*** This bug has been marked as a duplicate of 58946 ***


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