Public bug reported:

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
         Status: New

-- 
"force-complain" directory breaks aa-genprof
https://bugs.launchpad.net/bugs/331534
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to