Bug 235621 - Dellsysidplugin crashes yum
Dellsysidplugin crashes yum
Product: Fedora
Classification: Fedora
Component: firmware-addon-dell (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Michael E Brown
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-04-08 08:29 EDT by Sean Stangl
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version: 1.2.10-1.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-08 18:39:49 EDT
Type: ---
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 Sean Stangl 2007-04-08 08:29:21 EDT
Description of problem:
The Dellsysidplugin plugin crashes yum with the error below.

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

How reproducible:
Always. Regardless of the arguments to yum, loading the plugin crashes it.

Python crashes with the following:

$ yum update
Loading "installonlyn" plugin
Loading "dellsysidplugin" plugin
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
  File "/usr/share/yum-cli/yummain.py", line 82, in main
  File "/usr/share/yum-cli/cli.py", line 206, in getOptionsConfig
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 141, in
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/dellsysidplugin.py", line 26, in init_hook
    sysid = getSystemId()
  File "/usr/lib/python2.4/site-packages/biosHdr.py", line 34, in getSystemId
    output = cmdFactory_getSystemId()
  File "/usr/lib/python2.4/site-packages/biosHdr.py", line 27, in
    raise PermissionDenied("Failed to get System ID: %s" % output)
biosHdr.PermissionDenied: Failed to get System ID: Libsmbios:    0.13.5
Error getting the System ID   : Could not instantiate SMBIOS table.
Error getting the Service Tag : Could not instantiate SMBIOS table.
Error getting the Product Name: Could not instantiate SMBIOS table.
Error getting the BIOS Version: Could not instantiate SMBIOS table.
Error getting the Vendor      : Could not instantiate SMBIOS table.
Is Dell:      0
Comment 1 Michael E Brown 2007-04-08 12:50:04 EDT
the sysid plugin needs to be root to access the system id. I'll add an exception
check to zero out this information if it cannot access system id.
Comment 2 Michael E Brown 2007-04-08 13:00:29 EDT
Checking sources, this bug was fixed in the already-released 1.2.10 version. 

Looking at this, I based on proposed fedora policy, I switched to arch-specific
packages for this version, and it doesnt look like yum is upgrading from noarch
-> i386.
Comment 3 Michael E Brown 2007-04-08 13:25:53 EDT
I've documented the yum bug in:

I've also created a noarch upgrade package with the latest codebase in order to
fix this problem for people who might have the older package installed.

This will be fixed in the next fedora extras push. I recommend that you remove
and re-install in order to get the .i386|x86_64 package, though.
Comment 4 Sean Stangl 2007-04-08 18:39:49 EDT
1.2.10 is now available in Fedora Extras, and the bug is resolved. However, the
noarch (1.2.6) version is also in Fedora Extras... is this intended?
Comment 5 Michael E Brown 2007-04-08 19:23:56 EDT
The fedora scripts dont automatically remove old noarch pkgs when the pkg is
converted to arch-specific. I'll have to submit a request to have it removed. In
the meantime, I've built an upgrade to 1.2.11 for the noarch version so that
nobody else accidentally hits this. It is currently waiting to be signed and
should be in the repo shortly.

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