]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: PrivateUsers=true for (unprivileged) user managers
authorAnita Zhang <the.anitazha@gmail.com>
Wed, 23 Oct 2019 00:37:47 +0000 (17:37 -0700)
committerAnita Zhang <the.anitazha@gmail.com>
Wed, 18 Dec 2019 19:09:30 +0000 (11:09 -0800)
commit5749f855a76bedba942768b82cfc15a440b8e064
tree53f120f9358c595a82610b54ac0ef88ad207567e
parentecb040643d948a6cab878e6cbff1f3c57cab9281
core: PrivateUsers=true for (unprivileged) user managers

Let per-user service managers have user namespaces too.

For unprivileged users, user namespaces are set up much earlier
(before the mount, network, and UTS namespaces vs after) in
order to obtain capbilities in the new user namespace and enable use of
the other listed namespaces. However for privileged users (root), the
set up for the user namspace is still done at the end to avoid any
restrictions with combining namespaces inside a user namespace (see
inline comments).

Closes #10576
man/systemd.exec.xml
src/core/execute.c