onethree7 / proxmox-lxc-privilege-converter Goto Github PK
View Code? Open in Web Editor NEWConvert Proxmox Containers (LXC) from unprivileged to privileged (and vice versa)
License: GNU General Public License v3.0
Convert Proxmox Containers (LXC) from unprivileged to privileged (and vice versa)
License: GNU General Public License v3.0
With the latest proxmox release your script doesn't work anymore:
INFO: starting new backup job: vzdump 189 --mode snapshot --compress zstd --storage local
INFO: filesystem type on dumpdir is 'zfs' -using /var/tmp/vzdumptmp3005923_189 for temporary files
INFO: Starting Backup of VM 189 (lxc)
INFO: Backup started at 2024-05-25 21:59:54
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: patrick
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-189-2024_05_25-21_59_54.tar.zst'
INFO: lxc 20240525195954.331 ERROR idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:245 - newuidmap failed to write mapping "newuidmap: uid range [0-65536) -> [100000-165536) not allowed": newuidmap 3005952 0 100000 65536
INFO: Failed to write id mapping for child process
INFO: lxc 20240525195954.332 ERROR utils - ../src/lxc/utils.c:lxc_drop_groups:1570 - Operation not permitted - Failed to drop supplimentary groups
INFO: lxc 20240525195954.332 ERROR utils - ../src/lxc/utils.c:lxc_switch_uid_gid:1545 - Invalid argument - Failed to switch to gid 0
ERROR: Backup of VM 189 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --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' --one-file-system '--warning=no-file-ignored' '--directory=/var/tmp/vzdumptmp3005923_189' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | zstd '--threads=1' >/var/lib/vz/dump/vzdump-lxc-189-2024_05_25-21_59_54.tar.dat' failed: exit code 1
INFO: Failed at 2024-05-25 21:59:54
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.