aa-logprof add hat - answers ignored / endless loop

Bug #1538306 reported by Christian Boltz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
Fix Released
Undecided
Unassigned
2.10
Fix Released
Undecided
Unassigned
2.9
Fix Released
Undecided
Unassigned

Bug Description

# python3 aa-logprof -f <(echo 'type=AVC msg=audit(1449442292.901:961): apparmor="ALLOWED" operation="change_hat" profile="/usr/sbin/httpd{,2}-prefork" pid=8527 comm="httpd-prefork" target="/usr/sbin/httpd{,2}-prefork//new.hat"')
Reading log entries from /dev/fd/63.
Updating AppArmor profiles in /etc/apparmor.d.

Profile: /usr/sbin/httpd{,2}-prefork
Requested Hat: new.hat

[(A)dd Requested Hat] / (D)eny / Abo(r)t / (F)inish

So far, so good. Unfortunately, only "Abo(r)t" works. The other options send me back to the same question in an endless loop (until I select "Abo(r)t" ;-)

Tags: aa-tools
Revision history for this message
Christian Boltz (cboltz) wrote :

Patch sent to the mailinglist.

Changed in apparmor:
status: New → In Progress
milestone: none → 2.11
Revision history for this message
Christian Boltz (cboltz) wrote :

Patch commited to trunk r3503, 2.10 branch r3346 and 2.9 branch r3019.

Changed in apparmor:
status: In Progress → Fix Committed
Christian Boltz (cboltz)
Changed in apparmor:
status: Fix Committed → Fix Released
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.