public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* "Error sending add rule request" using 1.5.4
@ 2008-01-09 19:01 Brennan, William C
  2008-01-09 19:13 ` Steve Grubb
  0 siblings, 1 reply; 5+ messages in thread
From: Brennan, William C @ 2008-01-09 19:01 UTC (permalink / raw)
  To: linux-audit


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

I'm attempting to use the auditd package (1.5.4) as supplied downstream
in the Ubuntu distribution.  I'm encountering a problem (as a few others
are as well, Ubuntu bug #140784) in that we can't get auditctl to
successfully handle any new rules.  For me, this version of auditd has
not worked at all.  I'm only newly acquainted with auditd, so this has
been my only experience.

 

For example, entering at the command line (taken from the man page):

 

  auditctl -a exit,always -S open -F success!=0 

 

results in the response

 

  Error sending add rule request (Invalid argument)

 

I tried adding other possible rules via auditctl, and all attempts cause
this response.

 

Apparently no one using Red Hat is having this problem (i.e., no
complaints on this list), which suggests that perhaps the problem is a
package dependency problem within Ubuntu, but that's just a guess.

 

Can someone offer any help or suggestions as to what may be causing this
problem for Ubuntu users, and what we might do to fix it?  (I also tried
updating to version 1.6.4, which also failed the same way.)

 

Thanks for any light you can shed!

 

-- Bill Brennan

 


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

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



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

* Re: "Error sending add rule request" using 1.5.4
  2008-01-09 19:01 "Error sending add rule request" using 1.5.4 Brennan, William C
@ 2008-01-09 19:13 ` Steve Grubb
  2008-01-09 19:37   ` Mathias Gug
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Grubb @ 2008-01-09 19:13 UTC (permalink / raw)
  To: linux-audit

On Wednesday 09 January 2008 14:01:39 Brennan, William C wrote:
> I'm attempting to use the auditd package (1.5.4) as supplied downstream
> in the Ubuntu distribution.  I'm encountering a problem (as a few others
> are as well, Ubuntu bug #140784) in that we can't get auditctl to
> successfully handle any new rules.  For me, this version of auditd has
> not worked at all.

I'd start with asking if the kernel supports auditing. Auditctl has no 
dependencies on anything in userspace aside from a normal glibc.

-Steve

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

* Re: "Error sending add rule request" using 1.5.4
  2008-01-09 19:13 ` Steve Grubb
@ 2008-01-09 19:37   ` Mathias Gug
  2008-01-09 20:20     ` Steve Grubb
  0 siblings, 1 reply; 5+ messages in thread
From: Mathias Gug @ 2008-01-09 19:37 UTC (permalink / raw)
  To: linux-audit


On Wed, Jan 09, 2008 at 02:13:57PM -0500, Steve Grubb wrote:
> On Wednesday 09 January 2008 14:01:39 Brennan, William C wrote:
> I'd start with asking if the kernel supports auditing. Auditctl has no 
> dependencies on anything in userspace aside from a normal glibc.
> 

The kernel configuration is the following:

~$ grep -i audit /boot/config-2.6.22-14-generic 
CONFIG_AUDIT=y
# CONFIG_AUDITSYSCALL is not set
CONFIG_AUDIT_ARCH=y

Is there another option that should be set ?

--
Mathias

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

* Re: "Error sending add rule request" using 1.5.4
  2008-01-09 19:37   ` Mathias Gug
@ 2008-01-09 20:20     ` Steve Grubb
  2008-01-10 22:15       ` Brennan, William C
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Grubb @ 2008-01-09 20:20 UTC (permalink / raw)
  To: linux-audit

On Wednesday 09 January 2008 14:37:29 Mathias Gug wrote:
> On Wed, Jan 09, 2008 at 02:13:57PM -0500, Steve Grubb wrote:
> > On Wednesday 09 January 2008 14:01:39 Brennan, William C wrote:
> > I'd start with asking if the kernel supports auditing. Auditctl has no
> > dependencies on anything in userspace aside from a normal glibc.
>
> The kernel configuration is the following:
>
> ~$ grep -i audit /boot/config-2.6.22-14-generic
> CONFIG_AUDIT=y
> # CONFIG_AUDITSYSCALL is not set

^^^^^^^ Set this

> CONFIG_AUDIT_ARCH=y
>
> Is there another option that should be set ?

-Steve

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

* RE: "Error sending add rule request" using 1.5.4
  2008-01-09 20:20     ` Steve Grubb
@ 2008-01-10 22:15       ` Brennan, William C
  0 siblings, 0 replies; 5+ messages in thread
From: Brennan, William C @ 2008-01-10 22:15 UTC (permalink / raw)
  To: linux-audit

Okay, so I edited the kernal configuration to enable system call
auditing, as suggested in the posting by Steve Grubb. Then I recompiled
the kernel and installed it.

To my delight, the problems went away and "auditctl" now seems to work.

Thanks Steve!

-- Bill

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

end of thread, other threads:[~2008-01-10 22:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 19:01 "Error sending add rule request" using 1.5.4 Brennan, William C
2008-01-09 19:13 ` Steve Grubb
2008-01-09 19:37   ` Mathias Gug
2008-01-09 20:20     ` Steve Grubb
2008-01-10 22:15       ` Brennan, William C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox