Metainformationen zur Seite
  •  

Unprivileged TurnKey containers on LXC

https://github.com/turnkeylinux/tracker/issues/855

… solution from bogo22 in the proxmox forum works for me: https://forum.proxmox.com/threads/unprivileged-containers.26148/page-2

root at turnkey container

rm /var/spool/postfix/dev/random
rm /var/spool/postfix/dev/urandom
touch /var/spool/postfix/dev/random
touch /var/spool/postfix/dev/urandom

root at proxmox node - add the following lines to container config (e.g. at /etc/pve/lxc/ct100.conf)

    lxc.mount.entry: /dev/random dev/random none bind,ro 0 0
    lxc.mount.entry: /dev/urandom dev/urandom none bind,ro 0 0
    lxc.mount.entry: /dev/random var/spool/postfix/dev/random none bind,ro 0 0
    lxc.mount.entry: /dev/urandom var/spool/postfix/dev/urandom none bind,ro 0 0
  • backup container
  • restore backup with option unprivileged container checked