]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: Add ExecSearchPath parameter to specify the directory relative to which binarie...
authoralexlzhu <alexlzhu@devvm2387.atn0.facebook.com>
Fri, 9 Jul 2021 00:10:47 +0000 (17:10 -0700)
committerChris Down <chris@chrisdown.name>
Tue, 28 Sep 2021 13:52:27 +0000 (14:52 +0100)
commit8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938
treebe87626fe62937be49a7b3388d75d44623ed2c5d
parent5b32e48f6e3753600b9f6c44446b313294270f48
core: Add ExecSearchPath parameter to specify the directory relative to which binaries executed by Exec*= should be found

Currently there does not exist a way to specify a path relative to which
all binaries executed by Exec should be found. The only way is to
specify the absolute path.

This change implements the functionality to specify a path relative to which
binaries executed by Exec*= can be found.

Closes #6308
27 files changed:
man/org.freedesktop.systemd1.xml
man/systemd.exec.xml
src/analyze/analyze-verify.c
src/basic/path-util.c
src/basic/path-util.h
src/core/dbus-execute.c
src/core/execute.c
src/core/execute.h
src/core/load-fragment-gperf.gperf.in
src/core/load-fragment.c
src/core/load-fragment.h
src/run/run.c
src/shared/bus-unit-util.c
src/test/test-execute.c
src/test/test-path-util.c
test/fuzz/fuzz-unit-file/directives.mount
test/fuzz/fuzz-unit-file/directives.service
test/fuzz/fuzz-unit-file/directives.socket
test/fuzz/fuzz-unit-file/directives.swap
test/test-execute/exec-execsearchpath-environment-path-set.service [new file with mode: 0644]
test/test-execute/exec-execsearchpath-environment.service [new file with mode: 0644]
test/test-execute/exec-execsearchpath-environmentfile-set.service [new file with mode: 0644]
test/test-execute/exec-execsearchpath-environmentfile.service [new file with mode: 0644]
test/test-execute/exec-execsearchpath-passenvironment-set.service [new file with mode: 0644]
test/test-execute/exec-execsearchpath-passenvironment.service [new file with mode: 0644]
test/test-execute/exec-execsearchpath-unit-specifier.service [new file with mode: 0644]
test/test-execute/exec-execsearchpath.service [new file with mode: 0644]