]> git.ipfire.org Git - thirdparty/systemd.git/commit
run: Don't make executable absolute when --root-directory= is used
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Nov 2025 18:52:40 +0000 (19:52 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 25 Nov 2025 23:37:17 +0000 (00:37 +0100)
commit2ba910ab06e5970e9e2dc6d28a8d38a4adcd4a16
treec51994c2b4602c45ad2e81d4e5f054b7201001e9
parentade882f16f67ffc7a9b73231e401e30bb61cbcfb
run: Don't make executable absolute when --root-directory= is used

Also, unless --same-root-dir was specified, don't make the executable
absolute if we're running in a chroot. Situations like this are still iffy,
but we might as well handle them a little more gracefully.
src/run/run.c