feat(profiles): improve ubuntu compatibility.

This commit is contained in:
Alexandre Pujol 2022-06-13 22:04:12 +01:00
parent 0cbcbb29a4
commit d998b1dd6e
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
29 changed files with 109 additions and 34 deletions

View file

@ -9,6 +9,7 @@ include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/anacron
profile anacron @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@{exec_path} mr,
@ -18,7 +19,9 @@ profile anacron @{exec_path} {
/ r,
/etc/anacrontab r,
/var/spool/anacron/cron.* rw,
/var/spool/anacron/cron.* rwk,
/tmp/file* rw,
include if exists <local/anacron>
}

View file

@ -31,6 +31,8 @@ profile fwupdmgr @{exec_path} flags=(attach_disconnected,complain) {
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/etc/machine-id r,
owner /var/cache/private/fwupdmgr/fwupd/lvfs-metadata.xml.gz{,.asc}.* rw,
owner /var/cache/private/fwupdmgr/fwupd/lvfs-metadata.xml.gz{,.asc} rw,