Bug 460800 - RHN Proxy installer do not allow dash in hostname if you install to non-default port
RHN Proxy installer do not allow dash in hostname if you install to non-defau...
Status: CLOSED EOL
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Other (Show other bugs)
RHN Stable
All Linux
medium Severity medium
: ---
: ---
Assigned To: rhn-dev-list
Red Hat Network Quality Assurance
US=43884
:
Depends On:
Blocks: 428922 460801
  Show dependency treegraph
 
Reported: 2008-09-01 05:09 EDT by Miroslav Suchý
Modified: 2017-07-05 11:22 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-05 11:22:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Miroslav Suchý 2008-09-01 05:09:19 EDT
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 11:22:44 EDT
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.