Hello!
I had to re-install PVE 6.4 on my server due to a 6.3->6.4 update mishap. However, I get the following error message if I try to create or restore an unprivileged LXC container:
I can create or restore a container if it's set privileged, but this is AFAIK not a good idea for internet-facing servers.
Any ideas or tips will be greatly appreciated
I had to re-install PVE 6.4 on my server due to a 6.3->6.4 update mishap. However, I get the following error message if I try to create or restore an unprivileged LXC container:
Code:
extracting archive '/var/lib/vz/template/cache/devuan-3.0-standard_3.0_amd64.tar.gz'
cmd/lxc_usernsexec.c: 417: main - Operation not permitted - Failed to unshare mount and user namespace
cmd/lxc_usernsexec.c: 462: main - Inappropriate ioctl for device - Failed to read from pipe file descriptor 3
TASK ERROR: unable to create CT 101 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - -z --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/101/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 1
I can create or restore a container if it's set privileged, but this is AFAIK not a good idea for internet-facing servers.
Any ideas or tips will be greatly appreciated
