mirror-cockpit-project-cockpit/selinux/cockpit.fc
Martin Pitt 5819b052ca systemd, tools: Rename cockpit-motd to cockpit-issue
This tool handles both dynamic /etc/issue and /etc/motd. We soon want to
tone down the motd handling. As preparation, rename the script, systemd
unit, and files to "issue". This gets the intrusive parts out of the way
without changing the user experience yet.

Take care to adjust the existing links in /etc on package upgrades.
2024-12-09 15:30:09 +01:00

19 lines
1.1 KiB
Text

/usr/lib/systemd/system/cockpit.* -- gen_context(system_u:object_r:cockpit_unit_file_t,s0)
/etc/systemd/system/cockpit.* -- gen_context(system_u:object_r:cockpit_unit_file_t,s0)
/usr/libexec/cockpit-ws -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
/usr/libexec/cockpit-tls -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
/usr/libexec/cockpit-wsinstance-factory -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
/usr/libexec/cockpit-session -- gen_context(system_u:object_r:cockpit_session_exec_t,s0)
/usr/share/cockpit/issue/update-issue -- gen_context(system_u:object_r:shell_exec_t,s0)
/var/lib/cockpit(/.*)? gen_context(system_u:object_r:cockpit_var_lib_t,s0)
/var/run/cockpit(/.*)? gen_context(system_u:object_r:cockpit_var_run_t,s0)
/run/cockpit(/.*)? gen_context(system_u:object_r:cockpit_var_run_t,s0)
/var/run/cockpit-ws(/.*)? gen_context(system_u:object_r:cockpit_var_run_t,s0)
/run/cockpit-ws(/.*)? gen_context(system_u:object_r:cockpit_var_run_t,s0)
/etc/cockpit/ws-certs\.d(/.*)? gen_context(system_u:object_r:cert_t,s0)