Welcome to Centmin Mod Community
Register Now

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

    53,606
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    12:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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