PARSER_MSG="Reloading AppArmor profiles "
;;
*)
-@@ -143,7 +144,7 @@ parse_profiles() {
+@@ -151,7 +152,7 @@ parse_profiles() {
logger -t "AppArmor(init)" -p daemon.warn "Skipping profile $profile"
STATUS=2
elif [ -f "${profile}" ] ; then
if [ $? -ne 0 ]; then
echo " Profile $profile failed to load"
STATUS=1
-@@ -180,7 +181,7 @@ profiles_names_list() {
- then
- echo "nop" >/dev/null
- elif [ -f "${profile}" ] ; then
+@@ -183,7 +184,7 @@ profiles_names_list() {
+
+ for profile in $PROFILE_DIR/*; do
+ if ! skip_profile "${profile}" && [ -f "${profile}" ] ; then
- LIST_ADD=$($PARSER $ABSTRACTIONS -N "$profile" | grep -v '\^')
+ LIST_ADD=$($PARSER $ABSTRACTIONS ${AA_PARSER_ARGS} -N "$profile" | grep -v '\^')
if [ $? -eq 0 ]; then