SonicDE-rpmspecs/sonic-login-manager-selinux/plasmalogin-selinux.te
Anders da Silva Rytter Hansen 91c1f3ffff
Some checks failed
Build RPMs / build (sonic-interface-libraries.spec) (push) Failing after 14s
Build RPMs / build (sonic-win.spec) (push) Failing after 6s
Build RPMs / build (sonic-workspace.spec) (push) Failing after 7s
Add Sonic Login Manager SELinux rule to allow it to start SonicDE X11
2026-06-30 16:29:14 -03:00

12 lines
402 B
Text

module plasmalogin-selinux 1.0;
require {
type unconfined_t;
type xdm_exec_t;
class file { entrypoint execute };
}
# Allow the plasmalogin process to execute the X11 user helper binary
# which is labeled as xdm_exec_t. This is needed when the plasmalogin
# daemon is not running in the xdm_t domain on SELinux enforcing systems.
allow unconfined_t xdm_exec_t:file { entrypoint execute };