feat(profiles) add initial support for ubuntu 22.04
This commit is contained in:
parent
3ac7d41bf5
commit
0dbe0d2790
33 changed files with 253 additions and 121 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue