Bug 207237 - rc.sysinit passes wrong flag to hostname command on startup
Summary: rc.sysinit passes wrong flag to hostname command on startup
Keywords:
Status: CLOSED DUPLICATE of bug 200683
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 5
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: 2006-09-20 04:25 UTC by Keith G. Robertson-Turner
Modified: 2014-03-17 03:02 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-09-20 04:54:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Keith G. Robertson-Turner 2006-09-20 04:25:05 UTC
Description of problem:

Setting hostname thereisnospoon:  [  OK  ]
ERROR: No arguments allowed with -i

Version-Release number of selected component (if applicable):
initscripts-8.31.5-1

How reproducible:
Always

Steps to Reproduce:
1. Boot system
2.
3.
  
Actual results:
Although the hostname is set correctly, the "ERROR: No arguments allowed with
-i" error is printed.

Expected results:
Correct flag should be used, and no error message should result.

Additional info:
I've looked at rc.sysinit, which verifies as unmodified on my system, and I can
see no reason for this. The relevant call is...

###
# Set the hostname.
update_boot_stage RChostname
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
###

Is see no mention of an "-i" switch there, so really I have no idea where this
is coming from.

Comment 1 Bill Nottingham 2006-09-20 04:54:37 UTC
Heh, that's not hostname, it's later in the script.

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


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