All of lore.kernel.org
 help / color / mirror / Atom feed
* Weird issues in 2.6.5
@ 2016-07-13 15:47 Chris Nandor
  2016-07-13 15:57 ` Steve Grubb
  2016-07-13 16:20 ` Richard Guy Briggs
  0 siblings, 2 replies; 16+ messages in thread
From: Chris Nandor @ 2016-07-13 15:47 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 1804 bytes --]

Hi, I had some odd behavior to report.

I am running ubuntu 12.04.  Using the default auditd and audispd-plugins
packages for my release, I was able to get logs sent to local syslog and to
a remote auditd server (same basic configuration), but the entries were
being buffered somewhere (I think on the client side), and if the server
died reconnections didn't happen.

So, I wanted a more recent version, so I compiled audit-userspace from the
github src mirror,* trunk@1341.

When I did, I got some weird results.  For example, I expected got
something like this in my audit.log:

  node=host.example.com type=CWD msg=audit(1468363871.644:3279856):
 cwd="/etc/audisp"

And that was as expected.  In syslog, I expected to get:

  Jul 13 08:34:53 host audispd: node=host.loc.example.com type=CWD
msg=audit(1468363871.644:3279856):  cwd="/etc/audisp"

But instead, I got:

  Jul 13 08:34:53 host audispd: type=CWD msg=node=host.loc.example.com
type=CWD msg=audit(1468363871.644

As you can see, the whole thing was prepended with "type=CWD msg=", and the
line was truncated.  Similarly, on the remote host, I got the same thing:

  type=CWD msg=node=host.loc.example.com type=CWD msg=audit(1468363871.644

I noticed that the most recent version of the src for ubuntu was 2.4.5, so
I grabbed the src tarball from packages.ubuntu and built it, and now
everything looks fine.  The exact same line I see in my audit.log shows up
in the remote audit.log, with no buffering.  When I restart the remote
auditd server or client, it reconnects.  syslog has same entry (prepended
with the timestamp etc.).  Everything seems happy now.


*For some reason I had to define `CC_FOR_BUILD=gcc` in my shell when I ran
`make` from the svn/git src.  I did not require this when building 2.4.5
from the ubuntu src.


--Chris

[-- Attachment #1.2: Type: text/html, Size: 2449 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-07-15  1:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-13 15:47 Weird issues in 2.6.5 Chris Nandor
2016-07-13 15:57 ` Steve Grubb
2016-07-13 16:22   ` Chris Nandor
2016-07-13 16:32     ` Steve Grubb
2016-07-13 16:42       ` Steve Grubb
2016-07-13 16:51         ` Chris Nandor
2016-07-13 16:55       ` Chris Nandor
2016-07-13 17:07         ` Steve Grubb
2016-07-13 17:51           ` Chris Nandor
2016-07-13 18:38             ` Steve Grubb
2016-07-13 18:45               ` Chris Nandor
2016-07-13 22:22               ` Chris Nandor
2016-07-15  1:09                 ` Steve Grubb
2016-07-13 21:14       ` Chris Nandor
2016-07-13 21:11   ` Chris Nandor
2016-07-13 16:20 ` Richard Guy Briggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.