feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2022-07-03 20:27:48 +01:00
parent 9b84ded0c2
commit f6de2fbe7a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
28 changed files with 81 additions and 46 deletions

View file

@ -23,13 +23,14 @@ profile frontend @{exec_path} flags=(complain) {
/{usr/,}bin/locale rix,
# debconf apps
/{usr/,}{s,}bin/aspell-autobuildhash rPx,
/{usr/,}{s,}bin/pam-auth-update rPx,
/{usr/,}bin/adequate rPx,
/{usr/,}bin/debconf-apt-progress rPx,
/{usr/,}lib/tasksel/tasksel-debconf rPx -> tasksel,
/{usr/,}bin/linux-check-removal rPx,
/{usr/,}bin/ucf rPx,
/{usr/,}sbin/pam-auth-update rPx,
/{usr/,}sbin/aspell-autobuildhash rPx,
/{usr/,}bin/whiptail rPx,
/{usr/,}lib/tasksel/tasksel-debconf rPx -> tasksel,
/usr/share/debian-security-support/check-support-status.hook rPx,
# Run the package maintainer's scripts
@ -55,13 +56,16 @@ profile frontend @{exec_path} flags=(complain) {
/{usr/,}lib/dkms/dkms-* rPUx,
/{usr/,}lib/dkms/dkms_* rPUx,
/etc/debconf.conf r,
/usr/share/debconf/{,**} r,
/etc/debconf.conf r,
/etc/inputrc r,
/etc/shadow r,
owner /tmp/file* w,
owner /var/cache/debconf/* rwk,
/etc/inputrc r,
/etc/shadow r,
@{run}/user/@{uid}/pk-debconf-socket rw,
# The following is needed when debconf uses GUI frontends.
include <abstractions/gtk>
@ -74,11 +78,6 @@ profile frontend @{exec_path} flags=(complain) {
owner @{PROC}/@{pid}/mounts r,
@{HOME}/.Xauthority r,
# The following is needed when debconf uses dialog/whiptail frontend.
/{usr/,}bin/whiptail rPx,
owner /tmp/file* w,
profile scripts flags=(complain) {
include <abstractions/base>
include <abstractions/consoles>