Wandel eines privilegierten Containers in einen Unprivilegierten

Megaron

Member
Dec 19, 2020
18
2
8
Hallo zusammen,
Ich würde gerne einen heute bestehenden privilegierten Container (IoBroker) in einen unprivilegierten wandeln. Über Backup und restore/zurückspielen geht das bei mit nicht. Alle andern Backups lassen sich zurück spielen (privilegiert zu privilegiert, unprivilegiert zu privilegiert und unprivilegiert zu unprivilegiert) nur bei der Variante privilegiert zu unprivilegiert bricht der restore mit folgender Fehlermeldung ab
recovering backed-up configuration from 'Synology-BackupStation:backup/vzdump-lxc-100-2021_04_12-02_00_01.tar.zst'
WARNING: You have not turned on protection against thin pools running out of space.
WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
Logical volume "vm-900-disk-0" created.
WARNING: Sum of all thin volume sizes (<2.32 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<465.26 GiB).
Creating filesystem with 16777216 4k blocks and 4194304 inodes
Filesystem UUID: cf94f447-ccf5-4369-8a1a-dee925080c29
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
restoring 'Synology-BackupStation:backup/vzdump-lxc-100-2021_04_12-02_00_01.tar.zst' now..
extracting archive '/mnt/pve/Synology-BackupStation/dump/vzdump-lxc-100-2021_04_12-02_00_01.tar.zst'
tar: ./var/spool/postfix/dev/random: Cannot mknod: Operation not permitted
tar: ./var/spool/postfix/dev/urandom: Cannot mknod: Operation not permitted
Total bytes read: 5630146560 (5.3GiB, 123MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-900-disk-0" successfully removed
TASK ERROR: unable to restore CT 900 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --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/900/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
Kann mir da Jemand helfen?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!