feat(profiles): rename all systemd generator.
This commit is contained in:
parent
ba1cad7f73
commit
07acb8043b
9 changed files with 110 additions and 75 deletions
32
apparmor.d/groups/systemd/systemd-generator-user-environment
Normal file
32
apparmor.d/groups/systemd/systemd-generator-user-environment
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/systemd/user-environment-generators/*
|
||||
profile systemd-generator-user-environment @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/systemd-common>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/flatpak rPUx,
|
||||
@{bin}/gpgconf rPx,
|
||||
@{bin}/{m,g,}awk rix,
|
||||
|
||||
@{etc_ro}/environment r,
|
||||
@{etc_ro}/environment.d/{,**} r,
|
||||
|
||||
/snap/snapd/@{int}/usr/lib/environment.d/{,*.conf} r,
|
||||
|
||||
owner @{user_config_dirs}/environment.d/{,*.conf} r,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
include if exists <local/systemd-generator-user-environment>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue