space_left_action=exec only works once?

Bond Masuda bond.masuda at jlbond.com
Wed Jan 25 23:06:50 UTC 2017


Hello,

I configured space_left and space_left_action to run a script that 
compresses and moves older audit log files from /var/log/audit. It 
appears to work 1 time, and then doesn't work anymore until I kill the 
auditd daemon and start it again.

Is this expected and/or desired behavior? I didn't see anything in the 
man pages about this behavior. I was hoping to have my script run every 
time the space_left threshold is hit so as to not run out of logging 
disk space. Is there something I can do to accomplish this?

Thanks,
Bond




More information about the Linux-audit mailing list