Bug 54849

Summary: Can't set a hostname witha a '-' character in it.
Product: [Retired] Red Hat Linux Reporter: Chris Kloiber <ckloiber>
Component: redhat-config-networkAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: harald, nphilipp, pknirsch, than
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-26 09:54:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to entry input filters, applicable in dir /usr/share/redhat-config-network/netconfpkg/ none

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