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

@ -10,6 +10,7 @@ include <tunables/global>
profile systemd-vconsole-setup @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
include <abstractions/systemd-common>
capability sys_ptrace,
@ -18,10 +19,11 @@ profile systemd-vconsole-setup @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/loadkeys rix,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/gzip rix,
/{usr/,}bin/loadkeys rix,
/ r,
/usr/share/kbd/keymaps/{,**} r,
/etc/vconsole.conf r,