mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
Adjust cache paths in apparmor.service
The initial apparmor.service assumed the profile cache is in /var/lib/apparmor/ which was an openSUSE-specific path that was chosen for historical reasons, but was far from perfect. In the meantime, the profile cache moved to /var/cache/apparmor/ and the read-only/packaged version was added in /usr/share/apparmor/cache/ This commit adjusts apparmor.service to use these paths.
This commit is contained in:
parent
288ae9049a
commit
3a9b0fd74a
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ Description=Load AppArmor profiles
|
|||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
After=systemd-journald-audit.socket
|
||||
# profile cache
|
||||
After=var.mount var-lib.mount
|
||||
# profile cache: /var/cache/apparmor/ and /usr/share/apparmor/cache/
|
||||
After=var.mount var-cache.mount usr.mount usr-share.mount
|
||||
ConditionSecurity=apparmor
|
||||
|
||||
[Service]
|
||||
|
|
Loading…
Add table
Reference in a new issue