All of lore.kernel.org
 help / color / mirror / Atom feed
* augenrules: -F missing operation for -k
@ 2021-05-20 14:56 warron.french
  2021-05-20 16:08 ` Steve Grubb
  0 siblings, 1 reply; 4+ messages in thread
From: warron.french @ 2021-05-20 14:56 UTC (permalink / raw)
  To: Linux Audit


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

Does anybody know what this error means?
      augenrules: -F missing operation for -k

I cannot figure out what rule is causing this, so I need a little
more context to figure out what to look for in my *.rules files under
/etc/audit/rules.d.


Thanks in advance,
--------------------------
Warron French

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

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

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit

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

* Re: augenrules: -F missing operation for -k
  2021-05-20 14:56 augenrules: -F missing operation for -k warron.french
@ 2021-05-20 16:08 ` Steve Grubb
  2021-05-20 18:38   ` Steve Grubb
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Grubb @ 2021-05-20 16:08 UTC (permalink / raw)
  To: Linux Audit

On Thursday, May 20, 2021 10:56:00 AM EDT warron.french wrote:
> Does anybody know what this error means?
>       augenrules: -F missing operation for -k
> 
> I cannot figure out what rule is causing this, so I need a little
> more context to figure out what to look for in my *.rules files under
> /etc/audit/rules.d.

It means there is no value associated with a -F name=value construct. I am 
thinking syslog should have the line number in the rules where this comes 
from.  Do you a -k some where that doesn't look right?

-Steve


--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit


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

* Re: augenrules: -F missing operation for -k
  2021-05-20 16:08 ` Steve Grubb
@ 2021-05-20 18:38   ` Steve Grubb
  2021-05-26 13:41     ` warron.french
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Grubb @ 2021-05-20 18:38 UTC (permalink / raw)
  To: Linux Audit

Hello,

On Thursday, May 20, 2021 12:08:56 PM EDT Steve Grubb wrote:
> On Thursday, May 20, 2021 10:56:00 AM EDT warron.french wrote:
> > Does anybody know what this error means?
> > augenrules: -F missing operation for -k
> > 
> > I cannot figure out what rule is causing this, so I need a little
> > more context to figure out what to look for in my *.rules files under
> > /etc/audit/rules.d.
> 
> It means there is no value associated with a -F name=value construct.

Actually, I misspoke. In the name=vale portion, it didn't find the '=' where 
one was expected. Since it mentions '-k', you might be mixing watch syntax 
with syscall syntax.  -k keyname is valid with watches.  For syscalls its -F 
key=keyname.

-Steve

> I am thinking syslog should have the line number in the rules where this
> comes from.  Do you a -k some where that doesn't look right?




--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit


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

* Re: augenrules: -F missing operation for -k
  2021-05-20 18:38   ` Steve Grubb
@ 2021-05-26 13:41     ` warron.french
  0 siblings, 0 replies; 4+ messages in thread
From: warron.french @ 2021-05-26 13:41 UTC (permalink / raw)
  To: Steve Grubb; +Cc: Linux Audit


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

Steve, thanks.  I am finally back in my environment looking for the
problem-syntax based on your feedback.  I found nothing that matches "key=
<space>" or "-k <space>".

I don't see the error anymore.  Perhaps a coworker addressed it.

--------------------------
Warron French



On Thu, May 20, 2021 at 2:38 PM Steve Grubb <sgrubb@redhat.com> wrote:

> Hello,
>
> On Thursday, May 20, 2021 12:08:56 PM EDT Steve Grubb wrote:
> > On Thursday, May 20, 2021 10:56:00 AM EDT warron.french wrote:
> > > Does anybody know what this error means?
> > > augenrules: -F missing operation for -k
> > >
> > > I cannot figure out what rule is causing this, so I need a little
> > > more context to figure out what to look for in my *.rules files under
> > > /etc/audit/rules.d.
> >
> > It means there is no value associated with a -F name=value construct.
>
> Actually, I misspoke. In the name=vale portion, it didn't find the '='
> where
> one was expected. Since it mentions '-k', you might be mixing watch syntax
> with syscall syntax.  -k keyname is valid with watches.  For syscalls its
> -F
> key=keyname.
>
> -Steve
>
> > I am thinking syslog should have the line number in the rules where this
> > comes from.  Do you a -k some where that doesn't look right?
>
>
>
>
> --
> Linux-audit mailing list
> Linux-audit@redhat.com
> https://listman.redhat.com/mailman/listinfo/linux-audit
>
>

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

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

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit

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

end of thread, other threads:[~2021-05-26 13:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 14:56 augenrules: -F missing operation for -k warron.french
2021-05-20 16:08 ` Steve Grubb
2021-05-20 18:38   ` Steve Grubb
2021-05-26 13:41     ` warron.french

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.