Package Details: libselinux 3.6-4

Git Clone URL: (read-only, click to copy)
Package Base: libselinux
Description: SELinux library and simple utilities
Upstream URL:
Keywords: selinux
Licenses: custom
Groups: selinux
Conflicts: selinux-usr-libselinux
Provides:, selinux-usr-libselinux
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 131
Popularity: 0.58
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-05-04 14:27 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

Thiger commented on 2024-03-25 12:29 (UTC)

Today installation went through with libselinux 3.6-3 and libsepol 3.6-2. Thanks to whoever fixed it!

pavkamlc commented on 2024-03-25 08:26 (UTC)

On system where is installed freeipa-client

error: failed to prepare transaction (could not satisfy dependencies) :: installing libselinux (3.6-3) breaks dependency 'selinux-usr-libselinux' required by oddjob-selinux

patlefort commented on 2024-02-21 16:00 (UTC)

Can you please use provides+= in your package() section, else it will override base package provides in the resulting package.

eltongermano commented on 2023-12-16 00:31 (UTC) (edited on 2023-12-16 00:33 (UTC) by eltongermano)

To install updated PGP keys run: wget && gpg --import B8682847764DF60DF52D992CBC3905F235179CF1.asc

patlefort commented on 2023-12-15 22:40 (UTC)

Latest sources fails to verify (libselinux-3.6.tar.gz ... FAILED (unknown public key 4695881C254508D1)). One of the gpg keys (B8682847764DF60DF52D992CBC3905F235179CF1) can't be imported, it is not found on I can't find their signature files, can someone point to where I can find them?

tallero commented on 2023-03-14 03:46 (UTC)

@Thiger: gpg --recv-keys <missing key> where <missing key> is one of those inside the PKGBUILD.

Thiger commented on 2023-03-08 10:23 (UTC) (edited on 2023-03-08 10:26 (UTC) by Thiger)

Building fails:

==> Überprüfe Signaturen der Quell-Dateien mit gpg...
    libsepol-3.4.tar.gz ... cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
==> FEHLER: Eine oder mehrere PGP-Signaturen konnten nicht überprüft werden!
Finished with result: exit-code

Sorry that output is in german, it says: ERROR: cannot check one or more PGP sinatures.

tallero commented on 2022-02-15 11:52 (UTC) (edited on 2022-03-05 06:10 (UTC) by tallero)

@IooNag: I will contact python-selinux maintainers on this issue as soon as I can.

IooNag commented on 2022-01-03 21:21 (UTC)

@tallero: It seems that python-selinux, Python package was created to work in Python virtualenv, in order to provide Python bindings to (according to "Pure-python selinux shim module for use in virtualenvs in order to avoid failure to load selinux in Ansible modules." in ). These bindings are provided system-wide by the AUR package selinux-python in the AUR, and I understand for a need of a shim module in virtualenvs. This is why python-selinux includes a "selinux" Python module. However the fact that this module is installed system-wide is strange.

Moreover I do not understand how Arch Linux's python-selinux is supposed to work system-wide: it is supposed to provides transparent Python bindings to libselinux... but require libselinux to be installed too (with its Python bindings). Therefore, in my humble opinion, instead of packaging python-selinux in community, the AUR packages libselinux and selinux-python should be migrated to community if some official packages start to depend on them.

Could you please contact python-selinux's package maintainers in order to understand how this package is supposed to be used on systems with SELinux?

tallero commented on 2022-01-03 20:04 (UTC)

libselinux: /usr/lib/python3.10/site-packages/selinux/ exists in filesystem (owned by python-selinux)
libselinux: /usr/lib/python3.10/site-packages/selinux/__pycache__/__init__.cpython-310.pyc exists in filesystem (owned by python-selinux)