OpenVZ - Update from I-MSCP 1.3.0 to 1.3.1 failed - calling mount() Operation not permitted
-
- patched
- wl00215041
- Closed
- Thread is marked as Resolved.
-
-
It is a vm? If yes, what is your vm system?
-
-
Nuxwin :
yes, my system is OpenVZ
-
Please give me an access to the server. I want to know what is the mount that is causing this failure.
BTW: https://github.com/i-MSCP/imsc…INSTALL.md#1-requirements
-
-
Also please, give me the result of the following command:
Note: if the command is missing, install the libcap2-bin package first. -
Fixed. I've patched your /root/imscp-1.3.1/engine/setup/imscp-setup-methods.pl file. You're installation is now running i-MSCP 1.3.1.
Explanations
Starting with i-MSCP 1.3.1, we remount / as a shared subtree recursively to propagate mount/umount events as expected by some plugins (such as the InstantSSH plugin). The problem is that OpenVZ containers use a virtual file system (simfs) that cannot be remounted from the container. This is an unexpected limitation.
I'll fix that problem for next release. Right now, I've commented the following code in your /root/imscp-1.3.1/engine/setup/imscp-setup-methods.pl file: https://github.com/i-MSCP/imsc…scp-setup-methods.pl#L952 to line 960
Note to other users: This bug afffect only OpenVZ containers. There is no problem with LXC containers.
-
-
-
-
-
-
Thanks
-