Skip to main content

cPanel in LXC container requesting reboots

Comments

4 comments

  • cPanelMichael
    Hello, This was brought up recently as part of internal case CPANEL-15721. It was determined that the needs-restarting binary is seeing items outside of the container on CentOS 7 guests due to how LXC is provisioned, leading to the issue you have described. The solution is to reboot the host server itself (or contact your VPS provider if you do not have access to the host server). Note that CentOS 6 does not suffer from this problem because it does not utilize the needs-restarting binary. You can find documentation on using cPanel & WHM on Linux Containers (LXC) at:
    0
  • tony_ssi
    Thank you for the clarification. Apart from any security implications - is this issue going to affect the functionality of cPanel?
    0
  • tony_ssi
    Apparently the problem is caused by this bug: github.com/lxc/lxcfs/issues/164 btime is not virtualized in /proc/stat which will get resolved eventually
    0
  • cPanelMichael
    Apart from any security implications - is this issue going to affect the functionality of cPanel?

    No, as long as you don't mind seeing the reboot warning message in WHM. Thank you.
    0

Please sign in to leave a comment.