selinux/python
Vit Mojzis 48306c4ef3 python/sepolicy: Add/remove user even when SELinux is disabled
Use "semanage user -a/-d" in spec file generated by "sepolicy generate"
even when SELinux is disabled. The command works properly when SELinux
is disabled and with this change the user will be present once SELinux
is re-enabled.
Also, do not execute the command when the package is updated, only when
it is first installed.

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
Acked-by: Petr Lautrbach <lautrbach@redhat.com>
2023-06-27 16:01:26 +02:00
..
audit2allow python/audit2allow: Remove unused "debug" option 2023-05-11 09:22:41 +02:00
chcat python/chcat: Improve man pages 2023-05-11 09:22:39 +02:00
po Update translations 2023-02-06 15:34:01 +01:00
semanage python/semanage: Improve man pages 2023-05-11 09:22:40 +02:00
sepolgen Update VERSIONs to 3.5 for release. 2023-02-23 05:16:11 -08:00
sepolicy python/sepolicy: Add/remove user even when SELinux is disabled 2023-06-27 16:01:26 +02:00
LICENSE docs: provide a top level LICENSE file 2022-10-05 08:20:38 -04:00
Makefile Split po/ translation files into the relevant sub-directories 2022-04-06 10:52:41 +02:00
VERSION Update VERSIONs to 3.5 for release. 2023-02-23 05:16:11 -08:00