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 1705017 - Document --installed as default behaviour for the list option of subscription-manager command
Summary: Document --installed as default behaviour for the list option of subscription...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.7
Hardware: All
OS: All
medium
low
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks: 1715517
TreeView+ depends on / blocked
 
Reported: 2019-05-01 06:33 UTC by Rolf Rueck
Modified: 2020-03-31 19:41 UTC (History)
4 users (show)

Fixed In Version: subscription-manager-1.24.14-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 19:40:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1028 0 None None None 2020-03-31 19:41:26 UTC

Description Rolf Rueck 2019-05-01 06:33:41 UTC
Description of problem:
The man page and probably product documentation of the subscription-manager does not specify which is the default behaviour of the list option.

As the output of the --installed parameter is identical to using the list option without additional parameter, documenting this in the mentioned places would help unfamiliar users of the tool to get a better understanding of the output.


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

1.21.10-3.el7_6


How reproducible:

Always

Steps to Reproduce:
1. subscription-manager list > output1
2. subscription-manager list --installed > output2
3. diff output1 ouput2

Actual results:

man page (and documentation) does not specify the default behaviour of running the subscription-manager command with the list option 

Expected results:

man page (and documentation) shows under the explanation for the --installed parameter of the list option, that this is the default behaviour


Additional info:

Finding and request by customer

Comment 3 Chris Snyder 2019-05-08 14:42:07 UTC
Bumping this to RHEL 7.8 due to RHEL 7.7 capacity.

Comment 7 Rehana 2019-08-20 09:59:10 UTC
old man page content for list --installed in man page 
subscription management server: 2.7.5-1
subscription management rules: 5.37
subscription-manager: 1.24.13-1.el7

 --installed
      Lists  products  which  are currently installed on the system which may (or may not) have subscriptions associated with them, as well as products with attached subscriptions which may (or may not) be installed.


Verifying on :
=============
subscription management server: 2.7.5-1
subscription management rules: 5.37
subscription-manager: 1.24.15-1.el7

# rpm -q subscription-manager --changelog | grep 1705017
- 1705017: Show in man page that --installed is the default for the list

--installed
         Lists  products  which  are currently installed on the system which may (or may not) have subscriptions associated with them, as well as products with attached subscriptions which may (or may not) be installed. (default)

Based on the above observations moving the bug to verified.

Comment 8 Prathamesh Chavan 2019-09-30 02:08:05 UTC
Hello team,

Can we get a status update about this request?

Thanks!

Comment 9 Rehana 2019-09-30 03:36:41 UTC
(In reply to Prathamesh Chavan from comment #8)
> Hello team,
> 
> Can we get a status update about this request?
> 
> Thanks!

This bug has been fixed and Verified on RHEL 7.8 compose

Comment 11 errata-xmlrpc 2020-03-31 19:40:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1028


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