Hi, I have a daemon unable to run with messages like "unable to list devices" so i modified the unprivileged attribute in /etc/pve/lxc/100.conf and added feature nested while the container is probably still running. Now, i can't access several files even as root with permission denied messages, tried several solutions in the forum unsuccessfully.
Changing ownership of file didn't work as some files are now owned by nobody and even root can't read them or copy them.
Backing up the container gave me teh following messages, so i unterrupted it:
INFO: starting new backup job: vzdump 100 --node pve --compress zstd --mode stop --storage local --remove 0
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2021-04-29 12:29:44
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: cloud
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-100-2021_04_29-12_29_44.tar.zst'
INFO: tar: ./var/lib/NetworkManager/secret_key: Cannot open: Permission denied
INFO: tar: ./var/lib/private: Cannot open: Permission denied
INFO: tar: ./var/log/private: Cannot open: Permission denied
INFO: tar: ./var/log/clamd.scan: Cannot open: Permission denied
INFO: tar: ./var/log/btmp: Cannot open: Permission denied
INFO: tar: ./var/www/vhosts/nextcloud/htdocs/config/config.php: Cannot open: Permission denied
INFO: tar: ./var/cache/private: Cannot open: Permission denied
ERROR: Backup of VM 100 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/lib/vz/dump/vzdump-lxc-100-2021_04_29-12_29_44.tmp' ./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 --rsyncable '--threads=1' >/var/lib/vz/dump/vzdump-lxc-100-2021_04_29-12_29_44.tar.dat' failed: interrupted by signal
INFO: Failed at 2021-04-29 12:32:39
INFO: Backup job finished with errors
TASK ERROR: job errors
Need help please.
TIA
Changing ownership of file didn't work as some files are now owned by nobody and even root can't read them or copy them.
Backing up the container gave me teh following messages, so i unterrupted it:
INFO: starting new backup job: vzdump 100 --node pve --compress zstd --mode stop --storage local --remove 0
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2021-04-29 12:29:44
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: cloud
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-100-2021_04_29-12_29_44.tar.zst'
INFO: tar: ./var/lib/NetworkManager/secret_key: Cannot open: Permission denied
INFO: tar: ./var/lib/private: Cannot open: Permission denied
INFO: tar: ./var/log/private: Cannot open: Permission denied
INFO: tar: ./var/log/clamd.scan: Cannot open: Permission denied
INFO: tar: ./var/log/btmp: Cannot open: Permission denied
INFO: tar: ./var/www/vhosts/nextcloud/htdocs/config/config.php: Cannot open: Permission denied
INFO: tar: ./var/cache/private: Cannot open: Permission denied
ERROR: Backup of VM 100 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/lib/vz/dump/vzdump-lxc-100-2021_04_29-12_29_44.tmp' ./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 --rsyncable '--threads=1' >/var/lib/vz/dump/vzdump-lxc-100-2021_04_29-12_29_44.tar.dat' failed: interrupted by signal
INFO: Failed at 2021-04-29 12:32:39
INFO: Backup job finished with errors
TASK ERROR: job errors
Need help please.
TIA