Merge pull request #491 from 0xC0ncord/containers-watch-public
container: minor additions
This commit is contained in:
commit
75599a2358
|
@ -92,6 +92,9 @@ ifdef(`init_systemd',`
|
|||
# Allow sysadm to query and set networking settings on the system.
|
||||
systemd_dbus_chat_networkd(sysadm_t)
|
||||
fs_read_nsfs_files(sysadm_t)
|
||||
|
||||
# Allow sysadm to follow logs in the journal, i.e. with podman logs -f
|
||||
systemd_watch_journal_dirs(sysadm_t)
|
||||
')
|
||||
|
||||
tunable_policy(`allow_ptrace',`
|
||||
|
|
|
@ -248,10 +248,12 @@ tunable_policy(`container_manage_cgroup',`
|
|||
|
||||
tunable_policy(`container_manage_public_content',`
|
||||
miscfiles_manage_public_files(container_domain)
|
||||
miscfiles_watch_public_dirs(container_domain)
|
||||
')
|
||||
|
||||
tunable_policy(`container_read_public_content',`
|
||||
miscfiles_read_public_files(container_domain)
|
||||
miscfiles_watch_public_dirs(container_domain)
|
||||
')
|
||||
|
||||
tunable_policy(`container_use_nfs',`
|
||||
|
|
|
@ -76,6 +76,7 @@ ifdef(`init_systemd',`
|
|||
logging_search_logs(podman_t)
|
||||
systemd_list_journal_dirs(podman_t)
|
||||
systemd_read_journal_files(podman_t)
|
||||
systemd_watch_journal_dirs(podman_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
@ -142,6 +143,7 @@ ifdef(`init_systemd',`
|
|||
logging_search_logs(podman_user_t)
|
||||
systemd_list_journal_dirs(podman_user_t)
|
||||
systemd_read_journal_files(podman_user_t)
|
||||
systemd_watch_journal_dirs(podman_user_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
|
Loading…
Reference in New Issue