I can reproduce this bug with upgraded natty/oneiric, not clean-
installed.

Because clean-installed natty/oneiric does not have /var/log/messages.
But if we upgrade maverick -> natty (-> oneiric), that cause 0-byte
/var/log/messages.

So, we need change the logfiles entiry.
===============================================================
$ diff -u logprof.conf.orig logprof.conf
--- logprof.conf.orig   2011-04-19 02:36:30.000000000 +0900
+++ logprof.conf        2011-08-28 14:55:56.762774378 +0900
@@ -11,7 +11,7 @@
 [settings]
   profiledir = /etc/apparmor.d /etc/subdomain.d
   inactive_profiledir = /usr/share/doc/apparmor-profiles/extras
-  logfiles = /var/log/audit/audit.log /var/log/messages /var/log/syslog
+  logfiles = /var/log/audit/audit.log /var/log/syslog /var/log/messages

   parser = /sbin/apparmor_parser /sbin/subdomain_parser
   ldd = /usr/bin/ldd
===============================================================


** Changed in: apparmor (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- aa-logprof: doesn't work complain mode. 
+ aa-logprof: doesn't work complain mode in new syslog conf(using 
/var/log/syslog)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/835838

Title:
  aa-logprof: doesn't work complain mode in new syslog conf(using
  /var/log/syslog)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/835838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to