Bug 1460491 - [abrt] setroubleshoot-server: _get(): __init__.py:1577:_get:PermissionError: [Errno 13] Permission denied: '/usr/lib64/python3.6/site-packages/pycrypto-2.6.1-py3.6.egg-info/PKG-INFO'
[abrt] setroubleshoot-server: _get(): __init__.py:1577:_get:PermissionError: ...
Product: Fedora
Classification: Fedora
Component: setroubleshoot (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-06-11 04:21 EDT by Gwendal
Modified: 2018-05-29 07:37 EDT (History)
5 users (show)

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

Attachments (Terms of Use)
File: backtrace (2.80 KB, text/plain)
2017-06-11 04:21 EDT, Gwendal
no flags Details
File: cgroup (253 bytes, text/plain)
2017-06-11 04:21 EDT, Gwendal
no flags Details
File: cpuinfo (1.34 KB, text/plain)
2017-06-11 04:21 EDT, Gwendal
no flags Details
File: environ (88 bytes, text/plain)
2017-06-11 04:21 EDT, Gwendal
no flags Details
File: mountinfo (3.70 KB, text/plain)
2017-06-11 04:21 EDT, Gwendal
no flags Details
File: namespaces (102 bytes, text/plain)
2017-06-11 04:21 EDT, Gwendal
no flags Details
File: open_fds (241 bytes, text/plain)
2017-06-11 04:21 EDT, Gwendal
no flags Details

  None (edit)
Description Gwendal 2017-06-11 04:21:39 EDT
Version-Release number of selected component:

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 -Es /usr/sbin/setroubleshootd -f ''
crash_function: _get
exception_type: PermissionError
executable:     /usr/sbin/setroubleshootd
kernel:         4.11.3-302.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            988

Truncated backtrace:
__init__.py:1577:_get:PermissionError: [Errno 13] Permission denied: '/usr/lib64/python3.6/site-packages/pycrypto-2.6.1-py3.6.egg-info/PKG-INFO'

Traceback (most recent call last):
  File "/usr/sbin/setroubleshootd", line 35, in <module>
    from setroubleshoot.util import log_debug
  File "/usr/lib/python3.6/site-packages/setroubleshoot/util.py", line 324, in <module>
    from sepolicy import get_all_file_types
  File "/usr/lib/python3.6/site-packages/sepolicy/__init__.py", line 8, in <module>
    import setools
  File "/usr/lib64/python3.6/site-packages/setools/__init__.py", line 22, in <module>
    import pkg_resources
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3036, in <module>
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3020, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3049, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 645, in _build_master
    ws = cls()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 638, in __init__
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 694, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2030, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in from_location
    py_version=py_version, platform=platform, **kw
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2789, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2414, in _version_from_file
    line = next(iter(version_lines), '')
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2582, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1472, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1468, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1577, in _get
    with open(path, 'rb') as stream:
PermissionError: [Errno 13] Permission denied: '/usr/lib64/python3.6/site-packages/pycrypto-2.6.1-py3.6.egg-info/PKG-INFO'

Local variables in innermost frame:
path: '/usr/lib64/python3.6/site-packages/pycrypto-2.6.1-py3.6.egg-info/PKG-INFO'
self: <pkg_resources.PathMetadata object at 0x7f5c56b0aa58>
Comment 1 Gwendal 2017-06-11 04:21:46 EDT
Created attachment 1286752 [details]
File: backtrace
Comment 2 Gwendal 2017-06-11 04:21:48 EDT
Created attachment 1286753 [details]
File: cgroup
Comment 3 Gwendal 2017-06-11 04:21:49 EDT
Created attachment 1286754 [details]
File: cpuinfo
Comment 4 Gwendal 2017-06-11 04:21:51 EDT
Created attachment 1286755 [details]
File: environ
Comment 5 Gwendal 2017-06-11 04:21:53 EDT
Created attachment 1286756 [details]
File: mountinfo
Comment 6 Gwendal 2017-06-11 04:21:55 EDT
Created attachment 1286757 [details]
File: namespaces
Comment 7 Gwendal 2017-06-11 04:21:57 EDT
Created attachment 1286758 [details]
File: open_fds
Comment 8 Fedora End Of Life 2018-05-03 04:16:20 EDT
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Comment 9 Fedora End Of Life 2018-05-29 07:37:59 EDT
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

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