feat(profile): upgrade cockpit profiles.
This commit is contained in:
parent
bfc6c51821
commit
af8c66e9bf
4 changed files with 9 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ profile cockpit-certificate-helper @{exec_path} {
|
|||
@{bin}/openssl rix,
|
||||
@{bin}/rm rix,
|
||||
@{bin}/sscg rix,
|
||||
@{bin}/sync rix,
|
||||
@{bin}/tr rix,
|
||||
|
||||
/etc/machine-id r,
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@ include <tunables/global>
|
|||
profile cockpit-desktop @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
userns,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/cockpit-desktop>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ profile cockpit-tls @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
/etc/cockpit/ws-certs.d/{,**} r,
|
||||
|
||||
@{att}/@{run}/cockpit/wsinstance/https@@{hex64}.sock r,
|
||||
@{att}/@{run}/cockpit/wsinstance/https-factory.sock rw,
|
||||
|
||||
owner @{run}/cockpit/tls/{,**} rw,
|
||||
|
||||
include if exists <local/cockpit-tls>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/4.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/cockpit/cockpit-ws
|
||||
profile cockpit-ws @{exec_path} {
|
||||
profile cockpit-ws @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
@ -21,6 +21,8 @@ profile cockpit-ws @{exec_path} {
|
|||
/usr/share/pixmaps/{,**} r,
|
||||
/etc/cockpit/ws-certs.d/ r,
|
||||
|
||||
@{run}/cockpit/wsinstance/https@@{hex64}.sock r,
|
||||
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue