]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: Add UserNamespacePath=
authorQuentin Deslandes <qde@naccy.de>
Fri, 17 Oct 2025 13:37:02 +0000 (15:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 Nov 2025 09:55:04 +0000 (10:55 +0100)
commit79dd24cf14adc809620479d45a7b469cf3e82892
tree6b44e32b744a90e3e90d7684fe986cdb3ed29c84
parent9218e4eacc545a36a1275264013cb3d6b3eef41f
core: Add UserNamespacePath=

This allows a service to reuse the user namespace created for an
existing service, similarly to NetworkNamespacePath=. The configuration
is the initial user namespace (e.g. ID mapping) is preserved.
16 files changed:
man/org.freedesktop.systemd1.xml
man/systemd.exec.xml
src/core/dbus-execute.c
src/core/exec-invoke.c
src/core/execute-serialize.c
src/core/execute.c
src/core/execute.h
src/core/executor.c
src/core/fuzz-execute-serialize.c
src/core/load-fragment-gperf.gperf.in
src/core/socket.c
src/core/varlink-execute.c
src/shared/bus-unit-util.c
src/shared/varlink-io.systemd.Unit.c
test/fuzz/fuzz-unit-file/directives-all.service
test/units/TEST-07-PID1.user-namespace-path.sh [new file with mode: 0755]