unprivileged

  1. ppp_generic module missing proxmox 7

    I'm trying to create a pptp vpn gateway to my nated webserver in a unprivileged container, but there is no ppp_generic module in the proxmox server to make available to the container. I tested the same configuration in a vm, but I don't want the overhead and the security of the pptp protocol...
  2. LXC Unprivileged enabling docker - Security risk?

    We would like to enbable nesting and keyctl for our LXC containers. Our customers demand these features so they can install and use Docker. There are (fairly old) posts suggesting this would be a security risk and we should be careful if we really want to do it as it could be possible for an...
  3. Linux 5.12 - ID Maping for Unprivileged CTs!

    https://kernelnewbies.org/Linux_5.12#ID_mapping_in_mounts They just released Linux 5.12, which can remap UIDs/GIDs of mountpoints. This is absolutely awesome feature which would mean that we don't really need to backup/restore or otherwise convert CT's filesystem when switching containers...
  4. [SOLVED] can not 'chown' folder or file in unprivileged lxc container proxmox ve 6.2

    Hello, I recently created an lxc container in the proxmox 6.2 gui and installed a freeipa server on it. I used a centos 7 template for this. The ipa-server runs fine, but I see some unexpected behaviour in the logs and I found that I as root can not change owner or group from any created file...
  5. Restoring failed

    After trying to restore zst backup I got: TASK ERROR: unable to restore CT 606 - command 'set -o pipefail && cstream -t 41943040 | lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs...
  6. Neue USB Gerätenummer nach jedem Einschalten (USB Scanner als headless scan station in LXC)

    Hallo zusammen, je länger ich mich mit Proxmox beschäftige, desto begeisterter bin ich von den Möglichkeiten. Gleich vorab, ich bin recht neu auch im Bereich Linux. Eine Frage vorab (falls der lange Text abschreckt :-)): Wie bekomme ich SANE dazu, den USB Scanner in /dev/usb/scanner zu finden...
  7. ZFS (NFS) dataset shared inside of unprivileged LXC/VM

    Hi guys, I'm trying to configure a share in my unprivileged container with id mapping. In host (Proxmox 6.2): - created user ctuser (1003:1003 in host) - both /etc/subuid, /etc/subgid look like this: root:100000:65536 ctuser:362144:65536 root:1003:1 - in...
  8. [SOLVED] Lxc unprivileged - mount from /etc/fstab file

    Hi Community, I don't know if it's possible but I'm trying to add an nfs mountpoint in my container via the /etc/fstab file. This one is not mounted when starting the container, if I run manually /bin/mount -a, I have the following error: mount.nfs: Operation not permitted Host server logs ...
  9. NFS mount inside an unprivileged container

    Hello, I have an NFS share mounted to proxmox host and I want to mount that share from host to an unprivileged container. So I added a line "mp0: /location/on/host,mp=/location/on/container" In privileged mode everything works and permissions are ok. When I switch to unprivileged mode...
  10. 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. Samba secondary DC in an unprivileged LXC container with Debian Buster

    Hello together, Currently I'm running Proxmox VE 5.4-2 (running kernel: 4.15.18-20-pve) and I wanted to have a secondary Samba 4 domain controller in an unprivileged LXC container. I installed in a container the debian-10.0-standard_10.0-1_amd64.tar.gz and upgraded it afterwards to Debian...
  12. Samba secondary DC in an unprivileged LXC container with Debian Buster - ..."security.NTACL") failed: Operation not permitted (1)

    Hello together, Currently I'm running Proxmox VE 5.4-2 (running kernel: 4.15.18-20-pve) and I wanted to have a secondary Samba 4 domain controller in an unprivileged LXC container. I installed in a container the debian-10.0-standard_10.0-1_amd64.tar.gz and upgraded it afterwards to Debian...
  13. Permission issue with mounting USB

    I'm trying to mount a USB Zwave device in a container and I had this configuration working in an older installation but now I'm running into permission issues. Here is my conf file for the container: arch: amd64 cores: 2 hostname: hass memory: 8192 net0...
  14. Can I ask an uid range not to be mapped in an unprivileged container

    Hi, I'm running FreeIPA and I would like to use unprivileged containers so I can use Docker in containers. My Proxmox host is joined to IPA, and my containers too. My FreeIPA install uses 1284000000-1284200000 for uids and gids. This breaks with: $ cat /etc/subuid root:100000:65536 $ cat...
  15. FreeIPA and unprivileged containers

    Hi, I'm toying with unprivileged containers in order to be able to use Docker inside them. This seems to work, but it break my FreeIPA setup. My Proxmox host is joined to FreeIPA, and my provisioning procedure for containers also joins them to FreeIPA. This means that my user is in a very...
  16. [SOLVED] Why is unprivileged container not the default?

    Reading https://pve.proxmox.com/wiki/Linux_Container#_privileged_containers both Proxmox and the LXC team are recommending that we use unprivileged containers, and stop using privileged containers. So why is not the default?
  17. Cannot create Unprivledged container - not permitted on urandom and random

    I am trying to create a Nextcloud container, but it is saying it is not permitted to mknod urandom and random. I don't know what this means, but I am having trouble finding the solution. I do not know what you need to know to help me, so please let me know. Thanks in advance. Formatting...
  18. User mapping breaks unprivileged containers

    Hi, I'm trying to bind-mount a folder in an unprivileged container and be able to read-write-create files on that mount. But so far I was only able to mount the folder but from within the container it is not possible to even see the contents of the folder (nobody permissions). So I'm trying...
  19. Mount LVM in Unprivileged LXC Containers

    I am trying to mount a host LVM to multiple unprivileged containers but having little luck. Here is the relevant parts of my unprivileged container conf file. What I have done: Created a uid/gid on the HOST and CONTAINER for app-files (1005) mp0: local-lvm:vm-108-disk-3,mp=/mnt/MYDIR...
  20. Permission issues when administering unpriviliged containers

    On a completely fresh install of Proxmox VE 5.1, I'm unable to create unprivileged containers from templates and creating backups. I get permission errors when I try. The issue with creating the containers seems to be that templates gets saved with root ownership and strict permissions that...

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 your own in 60 seconds.

Buy now!