Join the community today
Become a Member

Stable Branch Fix perl-DBD-MySQL exclusion symlink handling with repair logic in 13…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 19, 2025.

  1. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    8:10 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Fix perl-DBD-MySQL exclusion symlink handling with repair logic in 132.00stable

    Enhances manage_perl_dbd_mysql_exclude() function to handle /etc/yum.conf symlinks:
    - Detects and repairs broken symlinks on EL8/9/10 systems (skips EL7 which uses regular file)
    - Resolves symlinks with readlink -f to prevent sed -i from breaking them
    - Merges existing exclusions when repairing broken symlinks
    - Forces DNF metadata cache refresh after config changes
    - Preserves symlink integrity during yum.conf modifications

    Fixes issue where sed -i replaced /etc/yum.conf symlink with regular file,
    causing DNF to ignore perl-DBD-MySQL exclusions in /etc/dnf/dnf.conf

    Continue reading...

    132.00stable branch