apparmor_parser -Qd doesn't properly report deny or audit

Bug #1675596 reported by Seth Arnold
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
AppArmor
New
Undecided
Unassigned

Bug Description

apparmor_parser -Qd doesn't properly report deny or audit:

$ echo "profile p { deny /var/www/** r, }" | apparmor_parser -Qd
Warning from stdin (line 1): apparmor_parser: cannot use or update cache, disable, or force-complain via stdin
----- Debugging built structures -----
Name: p
Profile Mode: Enforce
--- Entries ---
Mode: r:r Name: (/var/www/**)

$ echo "profile p { audit /var/www/** r, }" | apparmor_parser -Qd
Warning from stdin (line 1): apparmor_parser: cannot use or update cache, disable, or force-complain via stdin
----- Debugging built structures -----
Name: p
Profile Mode: Enforce
--- Entries ---
Mode: r:r Name: (/var/www/**)

Thanks

Tags: aa-parser
Christian Boltz (cboltz)
tags: added: aa-parser
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.