Applied patch.
I had to add /var/log/kernel to logprof.conf, otherwise it seems to work ok 
when it comes to parsing the messages.

# aa-logprof -f /var/log/kernel.0 
Reading log entries from /var/log/kernel.0.
Updating AppArmor profiles in /etc/apparmor.d.
Complain-mode changes:

Profile:        /usr/lib/sm.bin/sendmail
Network Family: inet
Socket Type:    dgram

[(A)llow] / (D)eny / Audi(t) / Abo(r)t / (F)inish
Adding network access inet dgram to profile.

Profile:        /usr/lib/sm.bin/sendmail
Network Family: inet
Socket Type:    stream
[. snip . ]

# grep -A3 Changes apparmor_2.3+1289-0ubuntu5_i386.changes
Changes: 
 apparmor (2.3+1289-0ubuntu5) intrepid; urgency=high
 .
   *  applied patch by Jesse Michael, launchpad #271252

# dpkg -l |grep apparmor
ii  apparmor                                  2.3+1289-0ubuntu5                 
    User-space parser utility for AppArmor
ii  apparmor-docs                             2.3+1289-0ubuntu5                 
    Documentation for AppArmor
ii  apparmor-profiles                         2.3+1289-0ubuntu5                 
    Profiles for AppArmor Security policies
ii  apparmor-utils                            2.3+1289-0ubuntu5                 
    Utilities for controlling AppArmor
ii  libapache2-mod-apparmor                   2.3+1289-0ubuntu5                 
    changehat AppArmor library as an Apache modu
ii  libapparmor-dev                           2.3+1289-0ubuntu5                 
    AppArmor development libraries and header fi
ii  libapparmor-perl                          2.3+1289-0ubuntu5                 
    AppArmor library Perl bindings
ii  libapparmor1                              2.3+1289-0ubuntu5                 
    changehat AppArmor library
ii  libpam-apparmor                           2.3+1289-0ubuntu5                 
    changehat AppArmor library as a PAM module

-- 
aa-logprof generates faulty output messages
https://bugs.launchpad.net/bugs/271252
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to