Package Details: setools 4.4.0-1

Git Clone URL: (read-only, click to copy)
Package Base: setools
Description: Policy analysis tools for SELinux
Upstream URL:
Keywords: selinux
Licenses: GPL, LGPL
Groups: selinux
Conflicts: selinux-setools
Provides: selinux-setools=4.4.0-1
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 20
Popularity: 0.000653
First Submitted: 2013-11-03 20:05
Last Updated: 2021-07-03 14:43

Latest Comments

1 2 3 4 5 6 Next › Last »

IooNag commented on 2018-09-16 11:55

I have updated the package to use the new location of the project. Actually I was waiting for 4.2 release (4.2.0 has been in beta for some weeks), but as the beta has some backward-incompatible changes with sepolicy, the release is being delayed (

yrlf commented on 2018-09-10 19:23

The project has moved to

Please update this package accordingly

zer01 commented on 2017-09-30 22:06

Nice work, thanks!

IooNag commented on 2017-09-30 21:30

zer01: thanks for your bug report! I backported the upstream commit in setools 4.1.1-3.

zer01 commented on 2017-09-30 01:36

Just noting that python-networkx 2.0 has hit the Arch repos which breaks things.

Looks like there is an upstream patch at but is not yet tagged/released.

chendaniely commented on 2016-11-20 17:34

@IooNag installing `checkpolicy` before updating fixed the issue.

IooNag commented on 2016-11-08 16:49

chendaniely: indeed, setools tests require the checkpolicy command ( This means that the PKGBUILD needs to define checkdepends=('checkpolicy'). Could you please install checkpolicy? If this fixes the issue you have, I will update the package. Thanks for the bug report!

chendaniely commented on 2016-11-08 15:14

I've been getting a check error since the package was updated:

Boolean query with regex match. ... ok
test_010_default (tests.boolquery.BoolQueryTest)
Boolean query with default state match. ... ok

ERROR: setUpClass (tests.policyrep.selinuxpolicy.SELinuxPolicyTest)
Traceback (most recent call last):
File "/tmp/yaourt-tmp-dchen/aur-setools/src/setools-4.0.1/tests/policyrep/", line 48, in setUpClass
subprocess.check_call(command, stdout=null, shell=False, close_fds=True)
File "/usr/lib/python2.7/", line 536, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python2.7/", line 523, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Ran 1315 tests in 2.722s

FAILED (errors=1, skipped=8, expected failures=1)
==> ERROR: A failure occurred in check().
==> ERROR: Makepkg was unable to build setools.

ashaman-crypto commented on 2016-10-31 22:57

This needs to install with setools3-libs, otherwise installation is blocked because it breaks dependancies for policycoreutils.

IooNag commented on 2015-12-08 23:09

Hello. I did not change anything to the package, and you are right that swig is missing from makedepends. In fact I have it installed on my build system because it is in libselinux and libsemanage makedepends, but if you uninstall packages between builds, it no longer works. This is a bug that I will fix.

For the "The next patch would create the file apol/constraints_tab.tcl" error, it comes from the fact that makepkg is trying to apply a patch which has already been applied, in prepare(). You can either use "makepkg -C" to remove src/ before building or use "makepkg -e" to build the package from the already-extracted src/. Thanks!