←back to thread

134 points todsacerdoti | 1 comments | | HN request time: 0.317s | source
Show context
h43z ◴[] No.44602682[source]
Do I understand that correctly that in order for logs to rotate you have to reboot?
replies(2): >>44603212 #>>44603379 #
jelder ◴[] No.44603379[source]
My thoughts exactly. And couldn’t an attacker just fill the logging volume with uninteresting events to prevent certain other events from being recorded?
replies(2): >>44603656 #>>44603959 #
1. gertrunde ◴[] No.44603959[source]
That would be where something like auditd would come in, configured so that if the audit logs location runs low on space (or out of space), it will halt the system.

(Yes, quite harsh, but for some use cases it may be the right thing to do, i.e. to fail closed).