Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch update tools/auditd.sh in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 1, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    1:48 AM
    Nginx 1.25.x
    MariaDB 10.x
    update tools/auditd.sh in 130.00beta01

    - update optionally installable tools/auditd.sh to switch from auditd's internal non-compressed log rotation to system logrotate compressed log rotation via /etc/logrotate.d/auditd when you run and install auditd via tools/auditd.sh as per instructions at https://community.centminmod.com/th...td-support-added-in-latest-123-09beta01.9071/
    - this update also optionally allows you to use zstd compression instead of gzip compression for logrotate compression for logs. To enable zstd compression set ZSTD_LOGROTATE_AUDITD='y' in persistent config file /etc/centminmod/custom_config.inc prior to re-running resetup command option below
    - /etc/logrotate.d/auditd is configured to rotate logs count for 31 logs and maxsize of logs is dependent on detected system disk free space, if system is low on disk free space, logs will rotate when they hit 30MB and if you have enough disk space, they'll rotate once they hit 200MB.
    - for existing auditd users who previously installed auditd via tools/auditd.sh, you can run cmupdate to update this code and re-run the resetup command option:

    /usr/local/src/centminmod/tools/auditd.sh resetup

    Continue reading...

    130.00beta01 branch