I am trying to map the GID of render group from host into lxc container.
I have a really weird error message:
Here's my config:
/etc/subuid
/etc/subgid
pveversion:
What I fail to understand is why the error message on container launch states I'm trying to map a range of 2 GIDs.
Also, I don't quite understand why it is failing.
I have a really weird error message:
Code:
lxc_map_ids: 3701 newgidmap failed to write mapping "newgidmap: gid range [108-109) -> [104-105) not allowed": newgidmap 2700 0 100000 108 108 104 1 109 100109 65427
Here's my config:
Code:
## Plex LXC
# ### https%3A//tteck.github.io/Proxmox/
# <a href='https%3A//ko-fi.com/D1D7EP4GF'><img src='https%3A//img.shields.io/badge/%E2%98%95-Buy me a coffee-red' /></a>
arch: amd64
cores: 2
features: nesting=1
hostname: plex
memory: 4096
<bunch of biding mounts>
net0: name=eth0,bridge=vmbr0,gw=192.168.0.3,hwaddr=8E:83:32:CD:5D:6F,ip=192.168.0.242/23,type=veth
net1: name=intra0,bridge=vmbr2,hwaddr=AA:28:A1:35:75:4A,ip=192.168.10.242/28,type=veth
onboot: 0
ostype: ubuntu
rootfs: local-lvm:vm-201-disk-0,size=8G
startup: order=2,up=60
swap: 512
tags: proxmox-helper-scripts
unprivileged: 1
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 108
lxc.idmap: g 108 104 1
lxc.idmap: g 109 100109 65427
/etc/subuid
Code:
root:100000:65536
root:44:1
root:108:1
/etc/subgid
Code:
root:100000:65536
root:104:1 # render group map
root:44:1 # video group map
pveversion:
Code:
pve-manager/8.0.4/d258a813cfa6b390 (running kernel: 6.2.16-10-pve)
What I fail to understand is why the error message on container launch states I'm trying to map a range of 2 GIDs.
Also, I don't quite understand why it is failing.