Bug 1464880 - qt profile script running lspci takes too long
qt profile script running lspci takes too long
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qt (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Jan Grulich
Desktop QE
Depends On:
  Show dependency treegraph
Reported: 2017-06-26 03:31 EDT by Marko Myllynen
Modified: 2017-06-26 04:29 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marko Myllynen 2017-06-26 03:31:45 EDT
Description of problem:
/etc/profile.d/qt-graphicssystem.sh contains:

  # workarond cirrus/qt bug, http://bugzilla.redhat.com/810161
  if ( /usr/sbin/lspci 2>/dev/null | grep -qi "VGA compatible controller: Cirrus Logic GD 5446" ) ; then

It is unreasonable to workaround such an obscure bug by running lspci e.g. during every time a user invokes "sudo su -" or when a new shell session is initialized. Especially on larger systems the penalty of running lspci is very noticeable.

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

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