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 1853701

Summary: condition too strict in pci plugin /proc/bus/pci/00 existence
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Hradílek <mhradile>
Component: sosAssignee: Jan Jansky <jjansky>
Status: CLOSED ERRATA QA Contact: Miroslav Hradílek <mhradile>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.8CC: agk, bmr, fkrska, jhunsaker, jjansky, jreznik, khoes, plambri, pmoravec, sbradley, wchadwic
Target Milestone: rcKeywords: ZStream
Target Release: 7.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-3.9-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1853700 Environment:
Last Closed: 2020-09-29 21:17:57 UTC Type: ---
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: 1853700    
Bug Blocks:    

Description Miroslav Hradílek 2020-07-03 15:07:51 UTC
I do not have RHEL-7 machine where this reproduces but I believe
sos-3.9-2.el7.noarch (unreleased)

can be affected too since it contains the conditional.


+++ This bug was initially created as a clone of Bug #1853700 +++

Description of problem:

Commit
https://github.com/sosreport/sos/commit/1b70c61d882036e72449e0fca8dd11cb7eb72bcb

causes that lspci commands are not collected on machines without
/proc/bus/pci/00

I'm no PCI expert but it seams that there can still be useful information on machines with different directory structure under /proc/bus/pci/.

There was bug 238778 requesting the commands to be collected and preventing that might constitute a regression in this case.

Version-Release number of selected component (if applicable):
sos-3.9.1-4.el8.noarch (unreleased)

How reproducible:
100% on machine without /proc/bus/pci/00

Steps to Reproduce:
1. sosreport -o pci

Actual results:
Missing "lspci -nnvv" and "lspci -tv".

Expected results:
Collected "lspci -nnvv" and "lspci -tv".

Additional info:
# arch
aarch64

# tree  /proc/bus/pci
/proc/bus/pci
├── 0000:00
│   ├── 00.0
│   ├── 01.0
│   ├── 01.1
│   ├── 01.2
│   ├── 01.3
│   ├── 01.4
│   └── 01.5
├── 0000:01
│   └── 00.0
├── 0000:02
│   └── 00.0
├── 0000:03
│   └── 00.0
├── 0000:04
│   └── 00.0
├── 0000:05
│   └── 00.0
└── devices

Comment 2 Jake Hunsaker 2020-07-03 16:31:51 UTC
The backport of this fix has been merged into upstream legacy-3.9:

https://github.com/sosreport/sos/commit/c5a3dd0fb1e256772d83f19bc458e79b2cf5baf7

Comment 6 Whitney Chadwick 2020-07-10 16:27:29 UTC
Per Jul 9th blocker meeting this BZ was deemed not a blocker for 7.9 GA, but is approved for 0day
Removed Regression keyword
Added PM approved in Internal Whiteboard
Set 7.9.z ? 
Set 7.9.0-

Comment 12 errata-xmlrpc 2020-09-29 21:17:57 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 (sos bug fix and enhancement update), 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:4068