SELinux policy core utilities
Go to file
Vit Mojzis 665c62cdc7 selinux-autorelabel: Do not force reboot
Forced reboot ends up NOT triggering normal unit shutdown, but only
sends TERM signal, then KILL later. Some processes such as dmeventd
do not quit on receiving TERM signal (protected), which means they
are killed after a long delay by systemd using the KILL signal.

In case the normal reboot doesn't go through, "reboot.target" will be
triggered after a timeout and send the KILL signal anyway.

Resolves: rhbz#2093133
2022-07-18 15:10:24 +02:00
tests RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
.gitignore SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0001-sandbox-add-reset-to-Xephyr-as-it-works-better-with-.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0002-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0003-If-there-is-no-executable-we-don-t-want-to-print-a-p.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0004-Simplication-of-sepolicy-manpage-web-functionality.-.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0005-We-want-to-remove-the-trailing-newline-for-etc-syste.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0006-Fix-title-in-manpage.py-to-not-contain-online.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0007-Don-t-be-verbose-if-you-are-not-on-a-tty.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0008-sepolicy-generate-Handle-more-reserved-port-types.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0009-sandbox-Use-matchbox-window-manager-instead-of-openb.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0010-Use-SHA-2-instead-of-SHA-1.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
0011-sepolicy-Drop-old-interface-file_type_is_executable-.patch SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
gating.yaml Fix gating.yaml for rhel-9 product 2021-07-01 13:30:26 +02:00
make-rhat-patches.sh RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
policycoreutils.spec SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
README.translations RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
selinux-autorelabel selinux-autorelabel: Do not force reboot 2022-07-18 15:10:24 +02:00
selinux-autorelabel-generator.sh RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
selinux-autorelabel-mark.service RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
selinux-autorelabel.service RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
selinux-autorelabel.target RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
sepolicy-help.tgz RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
sepolicy-icons.tgz RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
sources SELinux userspace 3.4 release 2022-05-19 20:25:34 +02:00
system-config-selinux.png RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
zanata.xml RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00

policycoreutils translations currently live in the following locations:

- https://fedora.zanata.org/project/view/selinux
  - contains translations for both stable (Red Hat Enterprise Linux) and master (Fedora) branches
  - maintains large number of languages (several of which do not actually contain any translated strings)
  - updated by community and partially by RH localization effort

- selinux source repository (https://github.com/fedora-selinux/selinux)
  - is kept up-to-date with fedora.zanata

How to update source files on fedora.zanata:
  $ git clone git@github.com:fedora-selinux/selinux.git
  $ cd selinux

  # generate new potfile
  $ for p in policycoreutils python gui sandbox; do
    cd $p/po
    make $p.pot
    cd -
    done

  # Push potfiles to zanata
  $ zanata-cli push --push-type source

How to pull new translations from zanata
  $ git clone git@github.com:fedora-selinux/selinux.git
  $ cd selinux
  # Make sure "zanata.xml" file pointing to corresponding translations branch is present
  # Optionally update source files on zanata
  # Pull new translations from zanata
  $ zanata-cli -e pull --pull-type trans

How to update translations *-po.tgz files
  $ mkdir zanata
  $ cd zanata
  $ zanata-cli -e pull --project-config ../zanata.xml  --pull-type both
  $ for p in policycoreutils python gui sandbox; do
    cd $p
    tar -c -f ../../$p-po.tgz -z .
    cd -
    done