[Linux] nyanpasu-service install
is not compatible with SELinux
#107
Labels
bug
Something isn't working
nyanpasu-service install
is not compatible with SELinux
#107
By default, files in
/var/lib
are labelled with the typevar_lib_t
, which cannot be launched by a systemd service. The service binary should be labelled as typebin_t
.If SELinux detected, those additional commands should be executed after file installation.
Alternatively, shall we use
/usr/bin/nyanpasu-service
rather than installing it to/var/lib
, if possible? (/usr/bin/nyanpasu-service
binary is already included in the rpm package)See: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/sect-security-enhanced_linux-working_with_selinux-selinux_contexts_labeling_files
The text was updated successfully, but these errors were encountered: