Hello! I followed the tutorial for bind mounts exactly, point to point, link: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers#Using_local_directory_bind_mount_points
but I am getting this error:
lxc-start -F -n 100
lxc-start: 100: ../src/lxc/idmap_utils.c: lxc_map_ids: 245 newuidmap failed to write mapping "newuidmap: write to uid_map failed: Invalid argument": newuidmap 34361 0 100000 1005 0 100000 1005
lxc-start: 100: ../src/lxc/start.c: lxc_spawn: 1795 Failed to set up id mapping.
lxc-start: 100: ../src/lxc/start.c: __lxc_start: 2114 Failed to spawn container "100"
lxc-start: 100: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start
lxc-start: 100: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options
For some reason its angry with the UID permissions. Here is my full config file:
# uid map%3A from uid 0 map 1005 uids (in the ct) to the range starting 100000 (on the host), s>
# we map 1 uid starting from uid 1005 onto 1005, so 1005 %E2%86%92 1005
# we map the rest of 65535 from 1006 upto 101006, so 1006..65535 %E2%86%92 101006..165535
# uid map%3A from uid 0 map 1005 uids (in the ct) to the range starting 100000 (on the host), s>
# we map 1 uid starting from uid 1005 onto 1005, so 1005 %E2%86%92 1005
# we map the rest of 65535 from 1006 upto 101006, so 1006..65535 %E2%86%92 101006..165535
arch: amd64
cores: 1
features: nesting=1
hostname: CT100
memory: 2048
mp0: /mnt/big_bertha/samba/movie_share,mp=/mnt/movie_share
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:46:29:C8,ip=dhcp,ip6=dhcp,type=veth
ostype: archlinux
rootfs: big_bertha:100/vm-100-disk-0.raw,size=8G
swap: 2048
tags: jellyfin
unprivileged: 1
lxc.idmap: u 0 100000 1005
lxc.idmap: g 0 100000 1005
lxc.idmap: u 1005 1005 1
lxc.idmap: g 1005 1005 1
lxc.idmap: u 1006 101006 64530
lxc.idmap: g 1006 101006 64530
but I am getting this error:
lxc-start -F -n 100
lxc-start: 100: ../src/lxc/idmap_utils.c: lxc_map_ids: 245 newuidmap failed to write mapping "newuidmap: write to uid_map failed: Invalid argument": newuidmap 34361 0 100000 1005 0 100000 1005
lxc-start: 100: ../src/lxc/start.c: lxc_spawn: 1795 Failed to set up id mapping.
lxc-start: 100: ../src/lxc/start.c: __lxc_start: 2114 Failed to spawn container "100"
lxc-start: 100: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start
lxc-start: 100: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options
For some reason its angry with the UID permissions. Here is my full config file:
# uid map%3A from uid 0 map 1005 uids (in the ct) to the range starting 100000 (on the host), s>
# we map 1 uid starting from uid 1005 onto 1005, so 1005 %E2%86%92 1005
# we map the rest of 65535 from 1006 upto 101006, so 1006..65535 %E2%86%92 101006..165535
# uid map%3A from uid 0 map 1005 uids (in the ct) to the range starting 100000 (on the host), s>
# we map 1 uid starting from uid 1005 onto 1005, so 1005 %E2%86%92 1005
# we map the rest of 65535 from 1006 upto 101006, so 1006..65535 %E2%86%92 101006..165535
arch: amd64
cores: 1
features: nesting=1
hostname: CT100
memory: 2048
mp0: /mnt/big_bertha/samba/movie_share,mp=/mnt/movie_share
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:46:29:C8,ip=dhcp,ip6=dhcp,type=veth
ostype: archlinux
rootfs: big_bertha:100/vm-100-disk-0.raw,size=8G
swap: 2048
tags: jellyfin
unprivileged: 1
lxc.idmap: u 0 100000 1005
lxc.idmap: g 0 100000 1005
lxc.idmap: u 1005 1005 1
lxc.idmap: g 1005 1005 1
lxc.idmap: u 1006 101006 64530
lxc.idmap: g 1006 101006 64530