Bug 460800 - RHN Proxy installer do not allow dash in hostname if you install to non-default port
Summary: RHN Proxy installer do not allow dash in hostname if you install to non-defau...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Other
Version: RHN Stable
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: rhn-dev-list
QA Contact: Red Hat Network Quality Assurance
URL:
Whiteboard: US=43884
Depends On:
Blocks: 428922 460801
TreeView+ depends on / blocked
 
Reported: 2008-09-01 09:09 UTC by Miroslav Suchý
Modified: 2017-07-05 15:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-05 15:22:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Miroslav Suchý 2008-09-01 09:09:19 UTC
Description of problem:
From tech-list:
"btw, the root cause is the webform on rhn.redhat.com that is used for  
> setting up proxies.  it originally didn't let me put in a '-' in the  
> hostname, even though '-' is a perfectly valid character to put in  
> hostnames.   i would have liked to put in tur-cache1, with the port  
> 8080.  since it didn't let me do that i ended up (in frustration) just  
> putting in turcache1 and missed out the port.  then i just hand edited  
> /etc/rhn/rhn.conf with the correct info.  however that was ages ago, and  
> after this upgrade it looks like what i had originally entered in the  
> webform got put in rhn.conf again, and i forgot (or didn't think it was  
> necessary) to modify rhn.conf again.  i sent an email to somewhere  
> (linked off rhn.redhat.com 'Contact Us' or something like that), but  
> didn't get a reply. "
>
> Anyone know if this is still an issue with setting up RHN proxy? More  
> importantly where do the "Contact us" emails go in this case as a  
> general follow up to the clients concerns and lack of reply?


I checked it and it really do not allow such scenarion.
The problem is in 
web/modules/rhn/RHN/Form/Require.pm
in function fqdn_and_port, which has this regexp:
  if ($text =~ /([^a-zA-z0-9\.-:])/) {
The problem is in  ".-:", correct should be:
  if ($text =~ /([^a-zA-z0-9\.:-])/) {

Comment 2 Thomas "Shea" DeAntonio 2017-07-05 15:22:44 UTC
As you may already be aware, Red Hat is transitioning from the Red Hat Network (RHN) hosted interface to the Red Hat Subscription Management (RHSM) interface in July 2017. Red Hat has invested in and seen success from RHN for many years, and used that experience to build more robust technologies like RHSM. 
 
If you have not yet migrated your RHN systems to RHSM or you are a Red Hat Satellite customer, please review the information from. https://access.redhat.com/products/red-hat-subscription-management#migration. 
 
Since we are shutting down RHN, no further actions will be taken with this bug or enhancement request.  You can find additional information at RHSM product page (https://access.redhat.com/products/red-hat-subscription-management).  If you have further questions, please contact support (https://access.redhat.com/products/red-hat-subscription-management#support).


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