Policy analysis tools for SELinux

Edit Package setools

SETools is a collection of graphical tools, command-line tools, and
libraries designed to facilitate SELinux policy analysis.

This meta-package depends upon the main packages necessary to run
SETools.

Source Files
Filename Size Changed
README.SUSE 0000000243 243 Bytes
_multibuild 0000000053 53 Bytes
_service 0000000196 196 Bytes
setools-4.6.0.tar.bz2 0000262758 257 KB
setools-4.6.0.tar.bz2.sha256.asc 0000000365 365 Bytes
setools.changes 0000017313 16.9 KB
setools.keyring 0000002058 2.01 KB
setools.spec 0000006358 6.21 KB
Comments 2

tarcjf's avatar

@anag_factory @cahu

Tried to install setools-gui on openSUSE Tumbleweed, it doesn't requires python{VERSION}-netowrkx

# Only suggest python-networkx due to its large amount of dependencies
# (see README.SUSE)
Suggests:       %{python_for_executables}-networkx

But without this, setools-gui is totally unable to startup:

~ $ rpm -ql setools-gui
/usr/bin/apol
/usr/share/man/man1/apol.1.gz

~ $ apol
Traceback (most recent call last):
  File "/usr/bin/apol", line 13, in <module>
    import setoolsgui
  File "/usr/lib64/python3.13/site-packages/setoolsgui/__init__.py", line 7, in <module>
    from .apol import run_apol
  File "/usr/lib64/python3.13/site-packages/setoolsgui/apol.py", line 22, in <module>
    from .widgets import (boolquery,
    ...<24 lines>...
                          userquery,)
  File "/usr/lib64/python3.13/site-packages/setoolsgui/widgets/boolquery.py", line 6, in <module>
    from . import criteria, models, tab
  File "/usr/lib64/python3.13/site-packages/setoolsgui/widgets/tab.py", line 13, in <module>
    from .queryupdater import BrowserUpdater, ChildrenData, QueryResultsUpdater
  File "/usr/lib64/python3.13/site-packages/setoolsgui/widgets/queryupdater.py", line 9, in <module>
    import networkx as nx
ModuleNotFoundError: No module named 'networkx'

openSUSE Build Service is sponsored by