[PVE-User] unable to add turnkey container as root
Adam Weremczuk
adamw at matrixscience.com
Mon Mar 25 17:33:27 CET 2019
Hi all,
I'm using the latest available:
pve-kernel-4.15 5.3-3
pve-manager 5.3-11
etc.
Error log:
Using default stripesize 64.00 KiB.
Logical volume "vm-100-disk-0" created.
mke2fs 1.43.4 (31-Jan-2017)
Discarding device blocks: 4096/2097152 done
Creating filesystem with 2097152 4k blocks and 524288 inodes
Filesystem UUID: 12268137-c4f9-4936-b17b-08c5142aadc2
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: 0/64 done
Writing inode tables: 0/64 done
Creating journal (16384 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: 0/64
done
extracting archive
'/var/lib/vz/template/cache/debian-9-turnkey-openldap_15.0-1_amd64.tar.gz'
tar: ./var/spool/postfix/dev/urandom: Cannot mknod: Operation not permitted
tar: ./var/spool/postfix/dev/random: Cannot mknod: Operation not permitted
Total bytes read: 817786880 (780MiB, 94MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-100-disk-0" successfully removed
TASK ERROR: unable to create CT 100 - 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/100/rootfs --skip-old-files --anchored --exclude './dev/*''
failed: exit code 2
# ls -al /var/spool/postfix/dev/random
crw-rw-rw- 1 root root 1, 8 Mar 25 15:48 /var/spool/postfix/dev/random
I've tried adding permissions under corresponding zfs pool:
Permissions -> Add -> User Permission -> User: root at pam -> Role:
Administrator
but when I click "Add" nothing appears on the list.
Any ideas?
Regards,
Adam
More information about the pve-user
mailing list