~ # sedta -S -s staff_t -t unconfined_t staff_sudo_t newrole_t NetworkX is not available. This is requried for Domain Transition Analysis. This is typically in the python3-networkx package. name 'nx' is not defined
This is unfortunately because we are currently packaging setools with a patch that removes its dependency on networkx, which in turn pulls in xorg-server, even on headless systems. Maybe we should add a 'sedta' USE flag specifically to enable this tool and pull in networkx?
(In reply to Kenton Groombridge from comment #1) > This is unfortunately because we are currently packaging setools with a > patch that removes its dependency on networkx, which in turn pulls in > xorg-server, even on headless systems. > > Maybe we should add a 'sedta' USE flag specifically to enable this tool and > pull in networkx? On the server I discovered this missing dep I have no xorg-server installed and also networkx did not pull it, so maybe that problem hat been resolved already in the past?
(In reply to Marc Schiffbauer from comment #2) > On the server I discovered this missing dep I have no xorg-server installed > and also networkx did not pull it, so maybe that problem hat been resolved > already in the past? Ahh I think you're right. I took another look at networkx's ebuild and it seems that some changes happened in the virtualx eclass. Now it only pulls in xorg-server if you've enabled tests. This is an easy fix then.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee102b9f47d416612fcf36b5f80d3bb99011b57 commit cee102b9f47d416612fcf36b5f80d3bb99011b57 Author: Kenton Groombridge <concord@gentoo.org> AuthorDate: 2024-01-17 00:51:31 +0000 Commit: Kenton Groombridge <concord@gentoo.org> CommitDate: 2024-01-17 01:28:57 +0000 app-admin/setools: add 4.4.4 Bug: https://bugs.gentoo.org/922136 Signed-off-by: Kenton Groombridge <concord@gentoo.org> app-admin/setools/Manifest | 1 + app-admin/setools/setools-4.4.4.ebuild | 57 ++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+)