Issue
- Commands
cagefsctl --enable-cagefs
orcagefsctl --remount-all
fails with the error:
mount: mount point /usr/share/cagefs-skeleton/opt/cpanel/ea-php74/root/usr/bin does not exist
Error: failed to mount /usr/share/cagefs/.cpanel.multiphp/opt/cpanel/ea-php74/root/usr/bin - Actual folder
/opt/cpanel/ea-php74/root/usr/bin
presents on the file system
Environment
- CloudLinux OS
- CageFS
Solution
Ensure that /etc/cagefs/empty.dirs/custom.empty
has a valid syntax and did not contain /
(forward slash) symbol in a separate line
Cause
/etc/cagefs/empty.dirs/custom.empty
misconfiguration
Useful links
https://docs.cloudlinux.com/cloudlinux_os_components/#how-to-hide-directory-inside-mount-point
Comments
0 comments
Please sign in to leave a comment.