Forwarded from the "users" list -------- Forwarded Message --------
Hello, I believe there is an error in the packaging of
setools-console-analyses which results in one of the tools being
unusable. I am close to submitting a bug report but I would like
someone to have a look first in case I am doing something wrong.
Using up-to-date Fedora 30. The tool of interest in sedta which performs "Domain transition analysis for SELinux policies" (from the manpage). Running this tool results in this: $ sedta -s <some domain> -p <some policy file> 'DiGraph' object has no attribute 'edges_iter' This is a Python error and seems related to the networkx Python library which is listed as a requirement. No version requirements for this library are displayed by rpm. Installed version (by dnf) is 2.3. However, there is this guide : https://networkx.github.io/documentation/stable/release/migration_guide_from_1.x_to_2.0.html where it is clearly stated that the "edges_iter" API is removed in version 2.0. The upstream SELinux tools project which I believe is here : https://github.com/SELinuxProject/setools does not use the "edges_iter" API (I grep-ed for it). My guess is that networkx was updated but setools-console-analyses was not and now is trying to use an incompatible library version. No similar issues appear on bugzilla. Should I create one?
Aristeidis Dimitriadis |
Attachment:
pEpkey.asc
Description: application/pgp-keys
Attachment:
pEpkey.asc
Description: application/pgp-keys
_______________________________________________ selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx