|
Bugzilla – Full Text Bug Listing |
| Summary: | setools fails to run due to missing module 'pkg_resources' | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Shung-Hsi Yu <shung-hsi.yu> |
| Component: | Security | Assignee: | Security Team bot <security-team> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE Tumbleweed | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
SR submitted https://build.opensuse.org/request/show/1098586 https://build.opensuse.org/request/show/1098586 has been accepted |
When trying to run seinfo on a bare-bone system, it fails to run because the pkg_resources is not found. > da9ae20b9c03:/ # seinfo > Traceback (most recent call last): > File "/usr/bin/seinfo", line 8, in <module> > import setools > File "/usr/lib64/python3.11/site-packages/setools/__init__.py", line 80, in <module> > from .infoflow import InfoFlowAnalysis > File "/usr/lib64/python3.11/site-packages/setools/infoflow.py", line 17, in <module> > from .permmap import PermissionMap > File "/usr/lib64/python3.11/site-packages/setools/permmap.py", line 11, in <module> > import pkg_resources > ModuleNotFoundError: No module named 'pkg_resources' After installing python3-setuptools to issue goes away.