Get the most out of your Centmin Mod LEMP stack
Become a Member

Stable Branch fix mount-loop.service boot ordering race breaking chronyd PrivateTmp…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 10, 2026 at 7:44 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    59,752
    12,542
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,186
    Local Time:
    9:05 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix mount-loop.service boot ordering race breaking chronyd PrivateTmp in 132.00stable

    mount-loop.service only had After=local-fs.target so it could mount the
    new /tmp while services were already starting. On EL8 systemd 239 this
    hides chronyd's PrivateTmp directory and ExecStartPost fails with
    status=226/NAMESPACE. Order the unit before sysinit.target and
    systemd-tmpfiles-setup.service so /tmp is in place before any normal
    service starts.

    Existing installs get the same ordering via a drop-in applied by
    cpcheck on the next centmin.sh run, effective after reboot. The legacy
    mount-loop.sh repair no longer remounts /tmp live for the same reason.
    Also drop the dead /var/tmp symlink block from the /tmp mount routine,
    which only left a stray /var/tmp/tmp symlink behind, and clean that
    symlink up. Hosts without mount-loop.service are unaffected.

    Continue reading...

    132.00stable branch