Symptoms
WHM login fails and returns the following error:
undef error - open(/var/run/system_needs_reboot.cache): Too many levels of symbolic links at /usr/local/cpanel/Cpanel/Serverinfo/CachedRebootStatus.pm line 47.
Cause
This issue is caused by the recently released kmod-lve-2.1-60.el8.x86_64 package from the cloudlinux-updates-testing repository when used together with kernels patched for the Dirty Frag vulnerability.
Related issue:
-
Dirty Frag vulnerability mitigation for Linux kernel
Resolution
1. Remove the problematic package
dnf remove kmod-lve-2.1-60.el8.x86_64 -y
2. Install the previous stable version
dnf install kmod-lve-2.1-59.el8.x86_64 -y
3. Disable the testing repository
Disable the cloudlinux-updates-testing repository to prevent the package from being automatically updated again.
yum-config-manager --disable cloudlinux-updates-testing
4. Reinitialize CageFS
cagefsctl --reinit
5. Reboot the server
reboot
Additional Notes
-
This issue primarily affects CloudLinux 8 systems using the testing repository.
-
Downgrading to
kmod-lve-2.1-59.el8.x86_64resolves the symlink loop issue. -
Ensure the testing repository remains disabled until an official fix is released for
CPANEL-53234.
