Discover Centmin Mod today
Register Now

Stable Branch fix phpfpm-brotli.sh lock file on CentOS 6 in 132.00stable

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 3, 2026 at 9:14 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,242
    12,605
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,263
    Local Time:
    5:08 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix phpfpm-brotli.sh lock file on CentOS 6 in 132.00stable

    tools/phpfpm-brotli.sh opened its lock as /run/phpfpm-brotli.lock, but
    CentOS 6 has no /run, only /var/run. Every cmupdate there ended with
    "/run/phpfpm-brotli.lock: No such file or directory", "flock: 9: Bad
    file descriptor" and a false "another phpfpm-brotli.sh run holds
    /run/phpfpm-brotli.lock", and the reconcile step exited 1.

    Changes:
    - use /var/run/phpfpm-brotli.lock when /run does not exist; gated on a
    missing /run, so CentOS 7 and EL8-EL9 keep /run/phpfpm-brotli.lock
    - the "another run holds" message names the lock file in use


    Continue reading...

    132.00stable branch