mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Define @{HOMEDIRS} before using it in @{HOME}
The old order is not really wrong / a bug because the order doesn't matter, but defining the variables it in the "right" order helps to prevent confusion. Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003158
This commit is contained in:
parent
fc4d1f76fa
commit
867d32950e
1 changed files with 5 additions and 5 deletions
|
@ -9,17 +9,17 @@
|
|||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
# @{HOMEDIRS} is a space-separated list of where user home directories
|
||||
# are stored, for programs that must enumerate all home directories on a
|
||||
# system.
|
||||
@{HOMEDIRS}=/home/
|
||||
|
||||
# @{HOME} is a space-separated list of all user home directories. While
|
||||
# it doesn't refer to a specific home directory (AppArmor doesn't
|
||||
# enforce discretionary access controls) it can be used as if it did
|
||||
# refer to a specific home directory
|
||||
@{HOME}=@{HOMEDIRS}/*/ /root/
|
||||
|
||||
# @{HOMEDIRS} is a space-separated list of where user home directories
|
||||
# are stored, for programs that must enumerate all home directories on a
|
||||
# system.
|
||||
@{HOMEDIRS}=/home/
|
||||
|
||||
# Also, include files in tunables/home.d for site-specific adjustments to
|
||||
# @{HOMEDIRS}.
|
||||
include <tunables/home.d>
|
||||
|
|
Loading…
Add table
Reference in a new issue