Useless "null-complain-profile" warnings flood dmesg log

Bug #421216 reported by LimCore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu 9.04 amd64 up-to-date
ii apparmor 2.3+1289-0ubuntu14
Linux 2.6.28-13-generic

I use custom apparmor profiles.

In my dmesg I get TONS of:

[12001.130755] type=1502 audit(1251569353.918:266455): operation="socket_recvmsg" family="inet" sock_type="stream" protocol=6 pid=19145 profile="null-complain-profile"

[12001.135599] type=1502 audit(1251569353.922:266456): operation="socket_recvmsg" family="inet" sock_type="stream" protocol=6 pid=19145 profile="null-complain-profile"

like 100 per minute.

The problem: There is NO INFORMATION what is this.. so no hint how to debug it and remove the profile that causes this problem! Also googling doesnt help.

Please fix:
  1. give more explanation
  2. point AT LEAST to the program/PID that causes this!

LimCore (limcore)
description: updated
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Can you run:
$ sudo apport-collect -p apparmor 421216

Please see /usr/share/apport/package-hooks/source_apparmor.py for details on what this command will provide.

Changed in apparmor (Ubuntu):
status: New → Incomplete
Revision history for this message
Jaymie Lee (plainjane2u) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.10
Package: apparmor 2.3.1+1403-0ubuntu27.3
PackageArchitecture: i386
ProcCmdline: root=UUID=d86ee1ed-eb47-4134-9fbe-e128366460c9 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
Uname: Linux 2.6.31-20-generic i686
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin netdev plugdev pulse root sambashare scanner tape video

Revision history for this message
Jaymie Lee (plainjane2u) wrote : ApparmorPackages.txt
Revision history for this message
Jaymie Lee (plainjane2u) wrote : ApparmorStatusOutput.txt
Revision history for this message
Jaymie Lee (plainjane2u) wrote : Dependencies.txt
Revision history for this message
Jaymie Lee (plainjane2u) wrote : KernLog.txt
Revision history for this message
Jaymie Lee (plainjane2u) wrote : PstreeP.txt
Revision history for this message
Jaymie Lee (plainjane2u) wrote : XsessionErrors.txt
Changed in apparmor (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
alex dekker (ubuntu-ale) wrote :

This also started happening to me after I installed syslog-ng on 8.04LTS.

Revision history for this message
alex dekker (ubuntu-ale) wrote :

Sorry, scratch that last comment, it's Logzilla's DB insert script, called by php-syslog-ng, that causes apparmor to go nuts with the logging.

Revision history for this message
Kees Cook (kees) wrote :

these messages are likely the result of profiles running in "complain" mode that start new child processes. Tracing these in Lucid should be much easier, as the "null" profiles are numbered so the audit tools can understand where they're coming from.

Changed in apparmor (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.