Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 229849 - Plugin exception: NameError: global name '_uuid_generate_random' is not defined
Plugin exception: NameError: global name '_uuid_generate_random' is not defined
Product: Fedora
Classification: Fedora
Component: setroubleshoot (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Dennis
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-02-23 14:35 EST by Tom London
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-07 10:18:06 EST
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 Tom London 2007-02-23 14:35:20 EST
Description of problem:
Find this message in /var/log/messages:

Feb 23 10:02:25 localhost setroubleshoot: [avc.ERROR] Plugin Exception
plugins.catchall  Traceback (most recent call last):   File
"/usr/lib/python2.5/site-packages/setroubleshoot/analyze.py", line 257, in
analyze_avc     report_receiver.report_problem(report)   File
"/usr/lib/python2.5/site-packages/setroubleshoot/server.py", line 138, in
report_problem     siginfo = super(AlertPluginReportReceiver,
self).report_problem(siginfo)   File
"/usr/lib/python2.5/site-packages/setroubleshoot/analyze.py", line 305, in
report_problem     siginfo.local_id=self.database.sigs.generate_local_id()  
File "/usr/lib/python2.5/site-packages/setroubleshoot/signature.py", line 1292,
in generate_local_id     return str(uuid.uuid4())   File
"/usr/lib/python2.5/site-packages/setroubleshoot/uuid.py", line 420, in uuid4  
  if _uuid_generate_random: NameError: global name '_uuid_generate_random' is
not defined

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

How reproducible:
Every time (boot)

Steps to Reproduce:
1. boot
Actual results:

Expected results:

Additional info:
Comment 1 John Dennis 2007-02-24 13:00:12 EST
Dan, I fixed uuid.py by replacing the global variables which were used to
determine if the ctypes lib functions were available. It's checked into
mercurial but I have not pushed a new rpm. I don't want to push a new rpm yet,
there are other changes which were added at the same time and they need further
Comment 2 Tom London 2007-03-07 10:18:06 EST
seems fixed in setroubleshoot-1.9.3-1.fc7


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