sed error in postinstall script of bootstrap rpm causes "subscription-manager register" to error with for Satellite 6

Solution Verified - Updated -

Issue

  • sed error in postinstall script of bootstrap rpm causes subscription-manager register to error.

Error seen during yum install of bootstrap RPM:

Running Transaction
  Installing     : katello-ca-consumer-sat6.example.com                            1/1 
sed: -e expression #1, char 27: unknown option to `s'
duration: 0(ms)
Installed products updated.

For RHEL 5:

# subscription-manager register 
Username: admin
Password: 
RemoteServerException instance has no attribute 'args'

For RHEL 6:

# subscription-manager register 
Username: admin
Password: 
Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.

Environment

  • Red Hat Satellite 6 Beta
  • Red Hat Enterprise Linux (RHEL) 5 and 6
  • subscription-manager < 0.96.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In