TASK ERROR: unable to create CT 100 - command 'lxc-usernsexec

Discussion in 'Proxmox VE: Installation and configuration' started by Marcos Mendez, Mar 15, 2019 at 17:49.

  1. Marcos Mendez

    Marcos Mendez New Member

    May 19, 2017
    Likes Received:
    Hey guys, just installed PROXMOX following this instructions right here:

    Also I want to provide an NGNIX to dns resolving to my LXC inside the Cluster. I downloaded a Turnkey image of it and when i try to create the LXC it happens>

    Virtual Environment 5.3-11

    You are logged in as 'root@pam'


    Task viewer: CT 100 - Create


    Formatting '/var/lib/vz/images/100/vm-100-disk-0.raw', fmt=raw size=8589934592
    mke2fs 1.43.4 (31-Jan-2017)
    Discarding device blocks: 4096/2097152 done
    Creating filesystem with 2097152 4k blocks and 524288 inodes
    Filesystem UUID: 0e141454-9c13-43f0-a1a5-b69b7e41f8fc
    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-nginx-php-fastcgi_15.1-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: 823572480 (786MiB, 109MiB/s)
    tar: Exiting with failure status due to previous errors
    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

    SORRY if the question is out of place.
  2. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Feb 1, 2016
    Likes Received:
    it seems that the image contains device nodes, this cannot work when creating unprivileged containers -> use a different image or create them as privileged
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice