Bug 54849 - Can't set a hostname witha a '-' character in it.
Summary: Can't set a hostname witha a '-' character in it.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-21 00:42 UTC by Chris Kloiber
Modified: 2008-05-01 15:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-10-26 09:54:48 UTC
Embargoed:


Attachments (Terms of Use)
Patch to entry input filters, applicable in dir /usr/share/redhat-config-network/netconfpkg/ (1.85 KB, patch)
2001-10-26 09:22 UTC, Nils Philippsen
no flags Details | Diff

Description Chris Kloiber 2001-10-21 00:42:59 UTC
Description of Problem:

redhat-config-network will not allow me to set the hostname of the machine
to a name containing a '-' character ie:

x200-C.support.redhat.com

It won't let you set it in the alias field either.

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

redhat-config-network-0.9-1

Comment 1 Trond Eivind Glomsrxd 2001-10-22 01:00:25 UTC
Will look into it.

Comment 2 Nils Philippsen 2001-10-26 09:00:36 UTC
You can set a hostname with an underscore. I guess there is an input filter
which filters dashes (which are RFC-conformant) instead of underscores (which
aren't).

Comment 3 Nils Philippsen 2001-10-26 09:22:16 UTC
Created attachment 35181 [details]
Patch to entry input filters, applicable in dir /usr/share/redhat-config-network/netconfpkg/

Comment 4 Nils Philippsen 2001-10-26 09:23:21 UTC
The unpatched filters also take the pipe character '|' as input, the patch
fixes this as well.

Comment 5 Harald Hoyer 2001-10-26 09:54:42 UTC
fixed in cvs



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