Search results for query: idmap

  1. S

    Access via nfs bindmount in an unprivileged LXC

    ...without success, i.e.: 1) groupmod -g 100100 immich_nas && usermod -aG immich_nas root 2) different combinations of id_mappings (lxc.idmap = u 0 1003 1, lxc.idmap = g 0 100 1) in the container .conf plus /etc/subuid & /etc/subgid inside the LXC-container But I didn't find the right...
  2. 2

    Windows VM, network traffic crashes host network

    ...FS-Cache loaded Apr 10 12:50:58 BIO-TRI-HOST-1 kernel: Key type cifs.spnego registered Apr 10 12:50:58 BIO-TRI-HOST-1 kernel: Key type cifs.idmap registered Apr 10 12:50:58 BIO-TRI-HOST-1 kernel: CIFS: Attempting to mount //192.168.2.21/backup-group-01 Apr 10 12:51:09 BIO-TRI-HOST-1...
  3. N

    lxc idmap changes ownership in rootfs "wrong", but mounted directories are good: Why ?

    ...and therefore jellyfin cannot change the mounted directories. My aim is to make the mounted files writable by jellyfin. I introduced idmap which sets the ownership of the mounted directories of the container correctly, the container starts without error. The ownership of `jellyfin`'s own...
  4. J

    Configure secondary USB to ethernet NIC for use in LXC container

    ...swap: 4096 unprivileged: 1 lxc.cgroup2.devices.allow: c 116:* rwm lxc.mount.entry: /dev/snd dev/snd none bind,create=dir lxc.idmap: u 0 100000 65536 lxc.idmap: g 0 100000 63 lxc.idmap: g 63 29 1 lxc.idmap: g 64 100064 65472 Note that the lxc.idmap , lxc.cgroup2.devices.allow, and...
  5. T

    [SOLVED] Bind mount in a nonprivileged container of a FUSE mount in the host

    ...onboot: 1 ostype: debian rootfs: local:109/vm-109-disk-0.raw,size=8G swap: 512 tags: 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 Both mp point to...
  6. R

    Writing to mount help needed (Docker, Frigate, Proxmox)

    ...dev/dri/renderD128 none bind,optional,create=file lxc.mount.entry: /atlas/step/frigate mnt/frigate none rbind,create=dir 0 0 lxc.idmap: u 0 100000 65536 lxc.idmap: g 0 100000 106 lxc.idmap: g 107 100107 65429 Findmt command in CT finds the mount Frigate...
  7. C

    [SOLVED] Can't log in to lxc containers w/ AD creds after joining to AD

    .../etc/subuid root:100000:1000000000 root@hyv-host:~# cat /etc/subgid root:100000:1000000000 root@hyv-host:~# cat /etc/pve/lxc/157.conf .... lxc.idmap: u 0 100000 1000000000 lxc.idmap: g 0 100000 1000000000 There was a bunch of trial an error involved, so I think I copied all of the relevant...
  8. Y

    Understanding bind mount point permissions

    Thank you very much for your explanation. I feel like I understand but obiously I don't because I can't replicate it to my case, sorry. I'll keep trying things.
  9. dakralex

    Understanding bind mount point permissions

    Welcome to the Proxmox forum, YamiGhor! First, these should probably be lxc.idmap and second these id mappings say, that the container's uid and gid 100000 should be mapped to the host's uid and gid 100000, which is probably not what you want. These high-numbered ids are usually reserved...
  10. D

    Problem starting LXC container after mapping user to allow writing to NAS mnt

    ...onboot: 1 ostype: debian rootfs: local-lvm:vm-101-disk-0,size=500G swap: 512 tags: community-script;docker unprivileged: 1 lxc.idmap: u 0 100000 1000 lxc.idmap: u 1000 1000 2000 lxc.idmap: u 65534 165534 1 lxc.idmap: g 0 100000 100 lxc.idmap: g 100 100 1 lxc.idmap: g 101 100100 899 lxc.idmap...
  11. E

    LXC mount idmap

    Hello! I have a proxmox VE with mounted nfs shares. I want to mounz it to an Ubuntu lxc. The mount works with lxc.mount.entry: /mnt/pve/folder mnt/folder_in_lxc none bind,rw 0 0 But I need write access from the container. I know that I need to edit the uid mapping, but I don't know which is the...
  12. S

    Problem mit NFS-Share und Samba-Server

    ...smb.conf des Univention Corporate Servers sieht so aus: ; ---------------------</smb service configuration>---------------------- ; idmap/winbind winbind separator = + template shell = /bin/bash template homedir = /home/%D-%U idmap config * ...
  13. H

    CT container does't work after change to privileged

    Thanks so much, finally I resolved by backup and restore.
  14. H

    CT container does't work after change to privileged

    ...drwxr-xr-x 14 100000 100000 4.0K Nov 19 20:31 usr drwxr-xr-x 11 100000 100000 4.0K Mar 2 17:55 var Then I found some fix method like add lxc.idmap: cat /etc/pve/lxc/100.conf arch: amd64 cores: 4 features: mount=nfs,nesting=1 hostname: base lock: mounted memory: 4096 net0...
  15. P

    Understanding LXC UID Mappings

    Hi, I can't quite piece it together 1. On my host, I have some files are owned by `root` 2. In my LXC, I see these files owned by `nobody:nogroup` 3. I would like to see them as owned by UID 4000 and GID 4000 in the LXC Possible? What kind of `lxc.idmap` do I have to write?
  16. C

    Synology NAS NFS Share LXC Unprivileged Mount

    ...have: # uid map: from uid 0 map 1005 uids (in the ct) to the range starting 100000 (on the host), so 0..1004 (ct) → 100000..101004 (host) lxc.idmap = u 0 100000 1005 lxc.idmap = g 0 100000 1005 # we map 1 uid starting from uid 1005 onto 1005, so 1005 → 1005 lxc.idmap = u 1005 1005 1...
  17. Z

    giving LXC direct GPU access for host/lxc CUDA+vGPU?

    ...using 535 but i don't want to be stuck on windows vms only) i am guessing maybe this is a permissions issue, possibly to be solved with lxc.idmap: and/or permissions corrections on the host? but everything i have tried doesnt work.... does anyone have LXC cuda/encoding in docker/jellyfin...
  18. S

    How to download LXC version of OpenWRT and run it on Proxmox

    You might have to use the lxc.mount.entry and/or lxc.idmap along with adjusting the permission for the device files on your host. Here is how I did that for my gpu drivers when I did a kind of passthrough or whatever it is called.. LXC_CONF_FILE="/etc/pve/nodes/proxmox/lxc/$vmid.conf" echo...
  19. J

    bind mapping in a lxc

    ...ostype: ubuntu rootfs: local-lvm:vm-105-disk-0,size=20G swap: 1024 tags: media unprivileged: 1 I've red a lot about lxc.idmap, but it seems I'm to dumb to get it. All posts and wiki entries are talking about id 1005 and 1006 and entries like this: lxc.idmap = u 1005 1005 1 I just want to map...
  20. S

    How to download LXC version of OpenWRT and run it on Proxmox

    ...lxc.include = /usr/share/lxc/config/userns.conf lxc.arch = linux64 # find your ids via # cat /etc/s*id|grep $USER lxc.idmap = u 0 100000 65536 lxc.idmap = g 0 100000 65536 lxc.mount.auto = proc:mixed sys:ro cgroup:mixed # lan interface lxc.net.0.type = veth # wan interface lxc.net.1.type...