Subscription-manager command fails with error '%' must be followed by '%' or '(', found: '%password'
Issue
- In
/etc/rhsm/rhsm.conf
file the proxy password is not parsed properly. - If password of http proxy contains a special character '%' then subscription manager fails to run:
# subscription-manager refresh
- Subscription manager commands fail if http proxy password contains special character % .
Environment
- Red Hat Enterprise Linux 5.7 (and onwards)
- Red Hat Subscription Management (RHSM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.