Hi there,
On PVE host I have users
guyf uid:gid 1001:1001
eveline uid:gid 1002:1002
urbackup uid:gid 1005:1005
qnap gid 1003
I have several containers running...
container 114 is used for urbackup with user urbackup uid/gid = 115:115
container 115 is used for motioneye where guyf runs motioneye with uid 1001 (LXC uid = host uid )
In /etc/pve/lxc/114.conf
This is used to let urbackup use mounted storage.
In this container the user urbackup has a guid of 115:115
So on my PVE/host I have
etc/subuid
etc/subgid
Anyway urback doesn't start in the container because of certain directory's belonging to nobody.
What am I doing wrong
On PVE host I have users
guyf uid:gid 1001:1001
eveline uid:gid 1002:1002
urbackup uid:gid 1005:1005
qnap gid 1003
I have several containers running...
container 114 is used for urbackup with user urbackup uid/gid = 115:115
container 115 is used for motioneye where guyf runs motioneye with uid 1001 (LXC uid = host uid )
In /etc/pve/lxc/114.conf
Code:
unprivileged: 1
lxc.idmap: u 0 100000 115
lxc.idmap: u 115 1005 1
lxc.idmap: u 0 100116 884
lxc.idmap: u 1001 1001 1
lxc.idmap: u 1002 1002 1
lxc.idmap: u 1003 1003 1
lxc.idmap: u 1004 1004 1
lxc.idmap: u 1005 1005 1
lxc.idmap: g 0 100000 1003
lxc.idmap: g 1003 1003 1
lxc.idmap: g 1004 101004 64532
This is used to let urbackup use mounted storage.
In this container the user urbackup has a guid of 115:115
So on my PVE/host I have
etc/subuid
Code:
root:115:1
root:1001:1
root:1005:1
root:100000:65536
etc/subgid
Code:
root:1001:1
root:1003:1
root:1005:1
root:100000:65536
Anyway urback doesn't start in the container because of certain directory's belonging to nobody.
What am I doing wrong
Last edited: