feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-02-23 20:21:22 +00:00
parent f5084ca150
commit 2ea53a9dc3
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
14 changed files with 26 additions and 14 deletions

View file

@ -10,6 +10,7 @@ include <tunables/global>
profile cockpit-certificate-helper @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/openssl>
@{exec_path} mr,
@ -18,11 +19,13 @@ profile cockpit-certificate-helper @{exec_path} {
@{bin}/id rix,
@{bin}/mkdir rix,
@{bin}/mv rix,
@{bin}/openssl rix,
@{bin}/rm rix,
@{bin}/sscg rix,
@{bin}/tr rix,
/etc/machine-id r,
/etc/cockpit/ws-certs.d/* w,
owner @{run}/cockpit/certificate-helper/{,**} rw,

View file

@ -24,6 +24,8 @@ profile cockpit-session @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
@{bin}/unix_chkpwd rPx,
@{bin}/{,z,ba,da}sh rix,
@{bin}/cockpit-bridge rPx,
@{lib}/cockpit/cockpit-pcp rPx,

View file

@ -115,7 +115,7 @@ profile libvirtd @{exec_path} flags=(attach_disconnected) {
@{bin}/virtiofsd rux, # TODO: WIP
@{bin}/virtlogd rPx,
@{shells_path} rix,
@{sh_path} rix,
@{bin}/ip rix,
@{bin}/qemu-img rUx, # TODO: Integration with virt-aa-helper
@{bin}/qemu-system* rUx, # TODO: Integration with virt-aa-helper