diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-10 19:44:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-17 10:22:28 +0100 |
commit | 3401419bb8215612cf8db33d930a64a54b19dcb3 (patch) | |
tree | 46bf341034214d5c25d4c211e61831e6b5d488b2 /src/tmpfiles/tmpfiles.c | |
parent | f73e6ee687213d8f78a93a9519901d0fe314c228 (diff) |
machined: expose "UID shift" concept for containers
UID/GID mapping with userns can be arbitrarily complex. Let's break this
down to a single admin-friendly parameter: let's expose the UID/GID
shift of a container via a new bus call for each container, and let's
show this as part of "machinectl status" if it is not 0.
This should work for pretty much all real-life full OS container setups
(i.e. the stuff machined is suppose to be useful for). For everything
else we generate a clean error, clarifying that we can't expose the
mapping.
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
0 files changed, 0 insertions, 0 deletions