Making containers safer
Making containers safer
Posted Aug 30, 2019 10:26 UTC (Fri) by Margaret48 (guest, #129042)In reply to: Making containers safer by cyphar
Parent article: Making containers safer
Security focused distros patch userns to be restricted to root be default which blocks unprivileged usage. This is what Debian, Linux-hardened, Grsecurity do. Disabling userns is also official KSPP recommendation.
It's also worth noting that granting user membership to lxd group = root[1], same as for docker. That means the "unprivileged" term is meaningless.
Systemd maintainers rejected userns support for systemd-nspawn saying thjat they always rely on some privileged process running behind the curtain.
[1] https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1829071
