Skip to contentSkip to conversation

auditctl filter keyword: "path"

DISCUSSION Michael C Thompson 1 participant 2 messages May 25, 2006

lore
Share & tools
lore
#0 lore raw

Hey Steve,

audit-1.2.2-2 seems to be having problems with the path filter word.

# auditctl -a exit,always -S open -F path=bfile
Error sending add rule request (Invalid argument)
# auditctl -a entry,always -S open -F path=bfile
Error sending add rule request (Invalid argument)

I'm on kernel 27... Any idea on why this would be failing?

Thanks,
Mike

#1 lore raw
Quoted 8 lines · Michael C Thompson

Hey Steve,

audit-1.2.2-2 seems to be having problems with the path filter word.

# auditctl -a exit,always -S open -F path=bfile
Error sending add rule request (Invalid argument)
# auditctl -a entry,always -S open -F path=bfile
Error sending add rule request (Invalid argument)

Apparently path will not take relative path names... Would it be desirable to augment the logic of auditctl to resolve the relative path and convert it to an absolute path for rule inclusion? This is a nice-to-have that admins will expect.

Thanks,
Mike