Bugzilla – Bug 446
provide option to maintain compressed data in /var/log/sudo-io
Last modified: 2011-03-03 09:55:06 MST
i found the following command produces massive files in /var/log/sudo-io (in the stdout or stdin files) on both source and destination servers /tmp/usr/bin/sudo /usr/bin/tar -cf - /maint | /usr/bin/ssh destination_server /usr/bin/sudo /usr/bin/tar -xf - /maint would it be possible for sudo to be able to maintain the log files it creates under /var/log/sudo-io as compressed? (either using native unix compress or gzip?) to help reduce logging space?
This already exists; you just need to have zlib available. Sudo's configure script will look for zlib and link against it if it is found. You can also use the --enable-zlib=PATH confgure option to tell configure where to find zlib if it is not in the standard library search path.
Sudo 1.7.5 will ship with an embedded copy of zlib for use on systems that lack it.
The first beta rlease of sudo 1.7.5 is now available http://www.sudo.ws/sudo/dist/beta/sudo-1.7.5b1.tar.gz
Fixed in sudo 1.7.5 and 1.8.0.