Bugzilla – Bug 158356
kernel audit part emits newline to syslog
Last modified: 2006-05-22 17:29:32 UTC
without auditd running i get a trailing new line for every syslog message from the audit framework [[[ Mar 15 17:43:19 pixel kernel: audit(1142440998.503:2123): REJECTING r access to /etc/hosts.deny (mysqld(2628) profile /usr/sbin/mysqld active /usr/sbin/mysqld) Mar 15 17:43:19 pixel kernel: ]]]
tony this has been addressed right? Is this change in kernel cvs yet?
Jesse discovered when debugging some oddities with logprof/genprof on a test machine that these blank lines cause problems for these sequences: May 5 17:07:09 dhcp-81 kernel: audit(1146874029.306:591): PERMITTING x access to /tmp/ux.date (pxsh(4799) profile /root/test.sh active /root/test.sh) May 5 17:07:09 dhcp-81 kernel: May 5 17:07:09 dhcp-81 kernel: audit(1146874029.306:592): LOGPROF-HINT changing_profile pid=4799 SubDomain.pm uses "PERMITTING x access" immediately followed by the changing_profile hints to determine when it should prepare ix/px/ux questions to the user. This race condition needs to be addressed in SubDomain.pm, but we should be aware that learning mode will not function properly unless auditd is enabled.
The modifications to SubDomain.pm are too significant to be made in time for CODE10 release. I strongly suggest that we include the kernel patch to remove the extraneous newlines, so that AppArmor policy tools will function when audit is not installed.
SubDomain.pm's flaw is tracked as bug 175421.
So this patch is in kernel CVS and checked in, why wasn't it closed?
The patch is indeed checked in so this is not a blocker anymore. Lowering severity instead of marking as fixed in case there are further problems.
I don't anticipate further problems. Planning to marked as FIXED unless I hear objections.
Fixed in latest stable kernel (also checked into 10.1 branch).