/selinux

PKGBUILDs to build SELinux enabled packages for Arch Linux

Primary LanguageShell

PKGBUILDs for SELinux support in Arch Linux

Complete documentation will soon be available at: https://wiki.archlinux.org/index.php/SELinux

Authors

Authors are credited in the PKGBUILD file for each package.

Binary repository

A repository with built and signed packages for x86-64 only is available at http://repo.siosm.fr/siosm-selinux/ (See https://tim.siosm.fr/repositories/ if you need help / instructions).

Build order

Remember to build as a non-root user, and to keep a root logged-in console to install packages (especially for sudo/shadow/pam packages).

First, we build all packages from the SELinux userspace projet. They do not replace any official Arch Linux packages:

  • libsepol
  • libselinux
  • checkpolicy setools
  • libcgroup libsemanage sepolgen
  • policycoreutils

Now we start replacing core packages:

  • pambase-selinux
  • pam-selinux
  • coreutils-selinux shadow-selinux cronie-selinux sudo-selinux
  • util-linux-selinux
  • systemd-selinux

Optionnal but very nice to have:

  • openssh-selinux findutils-selinux psmisc-selinux

Policy

There is not yet a SELinux policy for Arch. To build a policy, here are some useful links: