selinux/python/sepolicy
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
..
ru Add man pages translation by Olesya Gerasimenko 2019-01-28 12:03:57 +01:00
sepolicy python/sepolicy: Add/remove user even when SELinux is disabled 2023-06-27 16:01:26 +02:00
.gitignore Ignore egg-info directories and clean them 2022-08-15 08:51:01 -04:00
Makefile python: Ignore installed when installing to DESTDIR 2022-12-22 08:59:05 -08:00
sepolgen.8
sepolicy-bash-completion.sh Correct misc typos 2022-04-12 13:09:52 -04:00
sepolicy-booleans.8 python/sepolicy: Improve man pages 2023-06-08 15:10:06 -04:00
sepolicy-communicate.8 python/sepolicy: Improve man pages 2023-06-08 15:10:06 -04:00
sepolicy-generate.8 python/sepolicy: Improve man pages 2023-06-08 15:10:06 -04:00
sepolicy-gui.8 python/sepolicy: Improve man pages 2023-06-08 15:10:06 -04:00
sepolicy-interface.8 sepolicy: clarify manual page of sepolicy interface 2023-06-08 15:13:04 -04:00
sepolicy-manpage.8 python/sepolicy: Improve man pages 2023-06-08 15:10:06 -04:00
sepolicy-network.8 python/sepolicy: Improve man pages 2023-06-08 15:10:06 -04:00
sepolicy-transition.8 python/sepolicy: Improve man pages 2023-06-08 15:10:06 -04:00
sepolicy.8 python/sepolicy: Fix sepolicy manpage. 2017-11-22 09:47:50 +01:00
sepolicy.py python/sepolicy: Fix sepolicy manpage -w ... 2022-11-23 08:26:50 -05:00
setup.py Update VERSIONs to 3.5 for release. 2023-02-23 05:16:11 -08:00
test_sepolicy.py sepolicy: Fix minor typo in 'transition -s' test 2017-07-27 09:49:32 -04:00