问题
root@ms:/var/lib/apt# sudo snap install core
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
/tmp/sanity-mountpoint-286507660: mount failed: Unknown error -1
解决
在物理机 LXC 配置文件(/var/lib/lxc/xxx
)中 加入如下内容
lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0
参考:https://forum.proxmox.com/threads/ubuntu-snaps-inside-lxc-container-on-proxmox.36463/#post-230060
又报错:
root@ms:~# snap install core
error: cannot perform the following tasks:
- Setup snap "core" (11743) security profiles (cannot reload udev rules: exit status 1
udev output:
Failed to send reload request: No such file or directory
)