Public bug reported:

Binary package hint: apparmor

When aa-logprof runs into log messages that don't have denied or
requested masks, like the following status message, it ends up trying to
perform a string operation on an undefined variable which causes
warnings to be printed to the console.

    [    9.633452] type=1400 audit(1285899118.285:5): apparmor="STATUS"
operation="profile_replace" name="/sbin/dhclient3" pid=912
comm="apparmor_parser"

I'm attaching a patch to fix this.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apparmor 2.5.1~rc1-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Sep 30 21:16:25 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 
(20100928)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: apparmor

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
logprof doesn't handle log messages without denied or requested masks correctly
https://bugs.launchpad.net/bugs/652674
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