Hello,
I'm currently trying the following:
Point 4 doesn't work yet. Here I'm currently struggling with the uid/gid mapping.
For example: To access the local proxmox ZFS/directory, I have to map
To get the transcoding working I may also need some similar mapping to:
Here the following mappings seem to overlap and I'm not sure how to handle it:
Can everyone point me into the right direction?
The ID mapper didn't help and articles explain it to some degree, but I couldn't find anything about overlapping mappings.
Bonusquestion:
lxc.idmap = u 1005 1005 1
lxc.idmap = g 1005 1005 1
This seems like a one to one mapping. How can I find out what uid/gui 1005 is?
I'm planning in the future to also have a nextcloud lxc with the ZFS mount and I want to make it as secure as possible. I read somewhere that one to one mappings should not necessarily be made, to avoid security problems. I assume it only refers to "0", the root user?
I'm currently trying the following:
- creating zfs mirror and directory in proxmox, using it as backup and filesharing locally
- debian lxc (unprivileged) with cockpit as my samba server. Here the the mirror and directory from 1. should be mounted
- Jellyfin Lxc (unprivileged). Sub folder of a directory of 1. is mounted.
- Jellyfin Lxc (unprivileged) iPGU passthrough for hardware transcoding
Point 4 doesn't work yet. Here I'm currently struggling with the uid/gid mapping.
For example: To access the local proxmox ZFS/directory, I have to map
Code:
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
To get the transcoding working I may also need some similar mapping to:
Code:
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 44
lxc.idmap: g 44 44 1
lxc.idmap: g 45 100045 62
lxc.idmap: g 107 104 1
lxc.idmap: g 108 100108 65428
Here the following mappings seem to overlap and I'm not sure how to handle it:
Code:
Mount
lxc.idmap = u 0 100000 1005
lxc.idmap = g 0 100000 1005
GPU
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 44
Can everyone point me into the right direction?
The ID mapper didn't help and articles explain it to some degree, but I couldn't find anything about overlapping mappings.
Bonusquestion:
lxc.idmap = u 1005 1005 1
lxc.idmap = g 1005 1005 1
This seems like a one to one mapping. How can I find out what uid/gui 1005 is?
I'm planning in the future to also have a nextcloud lxc with the ZFS mount and I want to make it as secure as possible. I read somewhere that one to one mappings should not necessarily be made, to avoid security problems. I assume it only refers to "0", the root user?