feat(profiles) add initial support for ubuntu 22.04

This commit is contained in:
Alexandre Pujol 2022-05-21 16:49:45 +01:00
parent 3ac7d41bf5
commit 0dbe0d2790
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
33 changed files with 253 additions and 121 deletions

View file

@ -35,6 +35,8 @@ profile polkitd @{exec_path} {
# System rules
/etc/polkit-1/rules.d/ r,
/etc/polkit-1/rules.d/[0-9][0-9]-*.rules r,
/etc/polkit-1/localauthority/{,**} r,
/etc/polkit-1/localauthority.conf.d/{,**} r,
# Vendor rules
/usr/share/polkit-1/rules.d/ r,
@ -46,9 +48,11 @@ profile polkitd @{exec_path} {
/usr/share/polkit-1/actions/*.policy.choice r,
owner /var/lib/polkit-1/.cache/ rw,
/var/lib/polkit-1/localauthority/{,**} r,
@{run}/systemd/sessions/* r,
@{run}/systemd/users/@{uid} r,
@{run}/systemd/userdb/io.systemd.DynamicUser w,
# Silencer
deny /.cache/ rw,