[SRU ] lspci fails with 'Error reading sysfs label: Operation not permitted'

Bug #1752758 reported by Michael Reed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pciutils (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

[Impact]
Description:
On a 4 socket server, when #lspci is run, it fails with output:
lspci: Error reading /sys/bus/pci/devices/0000:9a:00.0/label: Operation not permitted

Version
pciutils-3.3.1-1.1ubuntu1.1

[Testcase]

Steps to Reproduce:
1. Install Ubuntu-Server-16.04.3
2. Observe #lspci

[Regression Potential]

Hi Michael,
This is the only and mandatory patch over the existing pciutils_3.3.1-1.1ubuntu1.1_amd64.deb that is required to fix this:

Sysfs: Read failures of optional attributes are not fatal
https://kernel.googlesource.com/pub/scm/utils/pciutils/pciutils/+/e5bb28afa6124b26cd25506892214a5d3cb9eb60

Verified on the repro-setup, lspci does not crash.

Hope this helps,
Sujith

[Other Info]
Public Bug Originally Opened:
https://bugs.launchpad.net/ubuntu/+source/pciutils/+bug/1746666

Revision history for this message
Michael Reed (mreed8855) wrote :

I am closing this bug because this has been resolved in:

https://bugs.launchpad.net/ubuntu/+source/pciutils/+bug/1746666

Changed in pciutils (Ubuntu):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.