Upon upgrading (reinstalling one-by-one) our cluster to PVE 7.0, I ran into the following problem: restoring an LXC container shows an error.
I tried restoring to different storages (all ZFS), but with the same error.
Creating a new container gives a similar error:
Any idea what could be wrong?
Code:
recovering backed-up configuration from 'NFS:backup/vzdump-lxc-321-2021_11_12-04_38_58.tar.lzo'
restoring 'NFS:backup/vzdump-lxc-321-2021_11_12-04_38_58.tar.lzo' now..
extracting archive '/mnt/pve/NFS/dump/vzdump-lxc-321-2021_11_12-04_38_58.tar.lzo'
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 restore CT 321 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --lzop --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/321/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 1
Creating a new container gives a similar error:
Code:
extracting archive '/mnt/pve/NFS/template/cache/proxmox-mailgateway-7.0-standard_7.0-1_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 9876 - 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/9876/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 1