mirror of
https://github.com/SELinuxProject/selinux
synced 2025-03-07 02:37:41 +00:00
Running "libsemanage/src/pywrap-test.py -v -F" gives following error: Traceback (most recent call last): File "pywrap-test.py", line 1139, in <module> sys.exit(main()) File "pywrap-test.py", line 1121, in main tests.run(sh) File "pywrap-test.py", line 107, in run self.test_writefcontext(handle) File "pywrap-test.py", line 622, in test_writefcontext if self.verbose: print "SEFContext type set: ", semanage.semanage_fcontext_get_type_str(fcon) TypeError: in method 'semanage_fcontext_get_type_str', argument 1 of type 'int' The argument of semanage_fcontext_get_type_str is the type recorded in fcon and not fcon itself. This type can be retrieved with semanage_fcontext_get_type. |
||
---|---|---|
checkpolicy | ||
libselinux | ||
libsemanage | ||
libsepol | ||
policycoreutils | ||
scripts | ||
sepolgen | ||
.gitignore | ||
Makefile | ||
README |
To build and install everything under a private directory, run: make DESTDIR=~/obj install install-pywrap To install as the default system libraries and binaries (overwriting any previously installed ones - dangerous!), on x86_64, run: make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel or on x86 (32-bit), run: make install install-pywrap relabel This may render your system unusable if the upstream SELinux userspace lacks library functions or other dependencies relied upon by your distribution. If it breaks, you get to keep both pieces.