Red Hat Bugzilla – Bug 239934
Shredding patch for logrotate
Last modified: 2007-11-30 17:12:04 EST
Description of problem:
Hi! We have a project here at EFF to ensure that free software systems
implement users' and sys admins' policies on data retention and deletion
securely. We're sending patches :) Attached is one that has logrotate call
shred from the GNU fileutils when it deletes log files. Conf file options are
available to turn this off and on for various logs, and to change the number of
overwrite passes that shred makes.
It'd be great if you could include this in future releases of logrotate!
Created attachment 154589 [details]
patch to make logrotate call GNU shred
Thanks for the patch. I'll go through it, but at the first look it seems to be
OK. The devel branch is freezed and this will unlikely find its way to FC7
release, but might be included in one of the updates.
I've adapted the code for logrotate-3.7.5 and turned the new option off by
default. The patch was commited.