]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/user-util.h
nspawn: make -U a tiny bit smarter
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Apr 2016 12:10:09 +0000 (14:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 10:16:02 +0000 (12:16 +0200)
commitccabee0d6465f06b9d339cf449fd8eea0db13373
treed9742d9281a08fa46d9840619ba21a4746a0b30a
parentd2e5535f9d945db3ca20ed264e1fe1ce99707bba
nspawn: make -U a tiny bit smarter

With this change -U will turn on user namespacing only if the kernel actually
supports it and otherwise gracefully degrade to non-userns mode.
man/systemd-nspawn.xml
src/basic/user-util.h
src/nspawn/nspawn.c