RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1057719 - man page should mention that subscribe/unsubscribe existed and are now deprecated
Summary: man page should mention that subscribe/unsubscribe existed and are now deprec...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Deon Ballard
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2014-01-24 16:35 UTC by Adrian Likins
Modified: 2014-06-18 00:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:44:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 990195 0 unspecified CLOSED Remove deprecated CLI "subscribe" commands 2021-02-22 00:41:40 UTC

Internal Links: 990195

Description Adrian Likins 2014-01-24 16:35:48 UTC
Description of problem:

See https://access.redhat.com/site/solutions/253273#comment-546103
and https://access.redhat.com/site/solutions/253273 in general.

There is some confusion that subscribe/unsubscribe are referenced heavily in older documentation, but are not in the man page (even thought they still work).

man page should include the commands but reference the newer named replacements
and that the old names are deprecated.



Version-Release number of selected component (if applicable):
subscription-manager-1.10.11

Comment 2 Deon Ballard 2014-01-30 03:12:05 UTC
The product documentation was already scrubbed and updated, so there should be little confusion there. As the links show, the issue is the kbase articles -- but those apply to a *specific version* of RHEL and of RHSM, so there is actually no conflict. (Presumably, the commands on RHEL 6.1 are still the same as the RHEL 6.1 man page shows.)

For a clear understanding of how the commands are changing, however, it is useful to know how the commands have changed. I added a small section in the COMMANDS/OPTIONS section of the man page for deprecated commands, and it is a simple list of what was deprecated (subscribe, unsubscribe, activate) and what replaced it (attach, remove, redeem).

Commit: 5adf26df335d2ffebb7ea4b05412580516974483

Comment 5 Sharath Dwaral 2014-02-03 23:10:07 UTC
Version

# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.2-1
subscription-manager: 1.10.12-1.el7
python-rhsm: 1.10.12-1.el7


Verification:

>>Man page version:

version 2.8     January 29, 2014    subscription-manager(8)

>>List of Commands:

22. deprecated commands: subscribe, unsubscribe, and activate 


>>Commands and Options:

DEPRECATED COMMANDS
       As the structures of subscription configuration have changed, some of the original management commands have become obsolete. These commands have been replaced with updated commands.

       subscribe
              This has been replaced with attach. A similar registration option, --subscribe, has also be replaced with --autoattach.

       unsubscribe
              This has been replaced with remove.

       activate
              This has been replaced with redeem.


VERIFIED

Comment 6 Ludek Smid 2014-06-13 12:44:25 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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