idmap

  1. A

    LXC idmap bug

    After applying the following configuration to an Alpine LXC, mapping uid & gid from 0(root) CT to 1070(nextcloud) host. All files ownerships are shifted 1 place! What's going on here? lxc.idmap: u 0 1070 1 lxc.idmap: u 1 100000 65535 lxc.idmap: g 0 1070 1 lxc.idmap: g 1 100000 65535...
  2. E

    Using large range of UIDs/GIDs above 65535 in unprivileged LXC (crashing)

    Hello all, Yet another post about UID/GID mapping on unprivileged containers. Context Before referring me to wiki and forum, I am aware and have read these pages: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers https://forum.proxmox.com/threads/lxc-uid-mapping-woes.99376/...
  3. P

    [SOLVED] Cat get any gid mapping to work

    Hi, I'm trying to map a few groups ID in unprivileged containers. As much as I try, my container will not start. I'm trying to map group 44 on host to group 44 in a container. Error message when trying to start the container: explicitly configured lxc.apparmor.profile overrides the following...
  4. B

    Do idmaps for bind mounts in multiple unprivileged containers require separate users?

    Hi folks, I have been using the unprivileged containers wiki guide to bind mount a directory for containerA (uid+guid 1000), which works grand. When I tried to do a similar thing for a separate mount point for containerB (also uid+gid 1000), things went awry. Using the same idmap lxc config...
  5. M

    lxc.idmap differing from 100000

    Hi, for better auditing what's happening in our containers I'd like to change their idmaps to distinct values. Besides their filesystems, is there something I'd need to consider doing so? Will it break PVE and result in a flaming pile of hardware? Bests, Masin
  6. E

    idmap of roots

    Hello, I can't find anywhere how to idmap root in the host with root in a container. I do not have other users at the moment. Root uid and gid is 0 and all example expect some number which makes it confusing. Can somebody help? Regards Here is what I have: /etc/pve/lxc/101.conf: arch: amd64...
  7. V

    Understanding lxc.idmap, /etc/sub{u,g}id, cannot login as root, root lost permissions?

    Hi, I'm a proxmox-noob, been messing around with lxc.idmap, /etc/sub{u,g}id etc and I finally got something working but I cannot login as root and when I "cheat" using "pct enter 101" it's like the root user lost his root permissions so this is really weird and I've been googling around, trying...
  8. M

    newuidmap: uid range [1100-1101) -> [1100-1101) not allowed

    Hi Community, I'm trying to configure my unprivileged container with id mapping (PVE 6.2). Following the documentation here : https://pve.proxmox.com/wiki/Unprivileged_LXC_containers, my container failed to start with the error below : Is there a range that we cannot map ? In my container...
  9. D

    Tool to generate syntax for LXC unprivileged uid/gid mappings.

    Wrote it for myself, but others may benefit from it. https://github.com/ddimick/proxmox-lxc-idmapper
  10. V

    permissions in /home messed after adding some idmap

    Hello, I'd like to setup unprivileged containers with glusterfs mount in it. The idea is to have 1 ansible controller in each datacenter, so, in case we lost a datacenter connectivity, we still be able to run playbooks from the other datacenter. So, my lxc.idmap does the job for the bind mount...
  11. R

    Restoring a unprivileged container with custom idmap results in nouser/nobody folders

    Hi, I created a unprivileged container and created a user with ID 1003 (user1) in it. I wanted to map that user to a user with ID 200001 (user1) from the Host system, so I can attach a external hard drive and map it inside the container and administrate it from the Host with a meaningful user...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!