CentOS: snap error: system does not fully support snapd: cannot read the value of fs.may_detach_mounts kernel parameter: open


Example error:

tutorialspots# sudo snap install core
error: system does not fully support snapd: cannot read the value of
       fs.may_detach_mounts kernel parameter: open
       /proc/sys/fs/may_detach_mounts: no such file or directory

Check your current kernel version:

tutorialspots# uname -msr
Linux 3.10.0-514.21.2.el7.x86_64 x86_64

Fix:

Upgrade CentOS kernel version >= 3.10.0-620.el7

CentOS: How To Upgrade CentOS Linux VPS Kernel

Leave a Reply