[Bug 331534] [NEW] "force-complain" and "disable" directories breaks aa-genprof

Launchpad Bug Tracker 331534 at bugs.launchpad.net
Thu Feb 17 08:35:03 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Binary package hint: apparmor

Running aa-genprof on Hardy outputs the following:

    $ sudo aa-genprof /usr/sbin/apache2

    Include file force-complain/usr.sbin.named contains syntax errors or
is not a valid #include file.

I narrowed the error down to the loadincludes() sub in
/usr/share/perl5/Immunix/SubDomain.pm - it expects all subdirectories of
/etc/apparmor.d/ to contain only 'include' style files. Consequently
when parsing force-complain/usr.sbin.named it hits the line ...

   /usr/sbin/named {

... and bails out.

A similar error is reported on Intrepid.

I see that the "force-complain" directory was introduced by the change
resulting from bug 203137

** Affects: apparmor (Ubuntu)
     Importance: Undecided
     Assignee: Jamie Strandboge (jdstrand)
         Status: Fix Released

** Affects: apparmor (Ubuntu Hardy)
     Importance: Undecided
         Status: Fix Released

** Affects: apparmor (Ubuntu Intrepid)
     Importance: Undecided
     Assignee: Jamie Strandboge (jdstrand)
         Status: Fix Released

** Affects: apparmor (Ubuntu Jaunty)
     Importance: Undecided
     Assignee: Jamie Strandboge (jdstrand)
         Status: Fix Released


** Tags: verification-done
-- 
"force-complain" and "disable" directories breaks aa-genprof
https://bugs.launchpad.net/bugs/331534
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list