Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1132071

Summary: [RFE] rhsm-debug system should also collect /etc/pki/product-default/
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: bkearney, jesusr, wpoteat
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: rhsm-debug will now collect more directories. Reason: A new directory was added containing default product certificates. Result: rhsm-debug will now collect /etc/pki/product-default directory to help support personnel identify subscription problems.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 07:48:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1014343    

Description John Sefler 2014-08-20 15:25:54 UTC
Description of problem:
Once the implementation of bug 1123029 is complete, there will be a new directory provided by the implementation of bug 1080012 from which rhsm-debug system should collect additional data...
  /etc/pki/product-default/

Version-Release number of selected component (if applicable):
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.12.12-1.el6.x86_64

How reproducible:


Steps to Reproduce:
Assuming the redhat-release-VARIANT package has not already provided /etc/pki/product-default/, then we can make one and populate it for the sake of testing this RFE bug...
[root@jsefler-6 ~]# mkdir /etc/pki/product-default/
[root@jsefler-6 ~]# cp /etc/pki/product/*.pem /etc/pki/product-default/
[root@jsefler-6 ~]# rhsm-debug system --no-archive 
Wrote: /tmp/rhsm-debug-system-20140820-298442
[root@jsefler-6 ~]# ls -l /tmp/rhsm-debug-system-20140820-298442/etc/pki/
total 12
drwxr-xr-x. 2 root root 4096 Aug 19 14:37 consumer
drwxr-xr-x. 2 root root 4096 Aug 19 14:47 entitlement
drwxr-xr-x. 2 root root 4096 Aug 19 09:24 product
[root@jsefler-6 ~]# 


Actual results:
above

Expected results:
there should also be a product-default directory with its contents included above 


Additional info:

Comment 2 John Sefler 2014-08-29 20:00:06 UTC
Verifying Version...
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.12.14-2.el6.x86_64


While registered...
[root@jsefler-6 ~]# ls -l /etc/pki/product*
/etc/pki/product:
total 4
-rw-r--r--. 1 root root 2167 Aug 29 14:33 69.pem

/etc/pki/product-default:
total 8
-rw-r--r--. 1 root root 2159 Aug 20 11:17 69.pem
-rw-r--r--. 1 root root 2208 Aug 29 14:57 70.pem
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# rhsm-debug system --no-archive
Wrote: /tmp/rhsm-debug-system-20140829-784175
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# ls -l /tmp/rhsm-debug-system-20140829-784175/etc/pki/product*
/tmp/rhsm-debug-system-20140829-784175/etc/pki/product:
total 4
-rw-r--r--. 1 root root 2167 Aug 29 14:33 69.pem

/tmp/rhsm-debug-system-20140829-784175/etc/pki/product-default:
total 8
-rw-r--r--. 1 root root 2159 Aug 20 11:17 69.pem
-rw-r--r--. 1 root root 2208 Aug 29 14:57 70.pem
[root@jsefler-6 ~]# 

VERIFIED: The rhsm-debug system tool now collects /etc/pki/product-default files

Comment 3 errata-xmlrpc 2014-10-14 07:48:30 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.

http://rhn.redhat.com/errata/RHBA-2014-1384.html