diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-12-08 20:18:17 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-12-10 01:46:29 +0100 |
commit | 41b6486c9b24ef2582a74ae60eef9089ac8c7fb8 (patch) | |
tree | a83d42411dc06e83901abb0162e59459a460a787 /mkosi.sanitizers | |
parent | Revert "test: tentatively disable SELinux tests" (diff) | |
download | systemd-41b6486c9b24ef2582a74ae60eef9089ac8c7fb8.tar.xz systemd-41b6486c9b24ef2582a74ae60eef9089ac8c7fb8.zip |
mkosi: move drop-in config for sanitizers
Diffstat (limited to 'mkosi.sanitizers')
-rw-r--r-- | mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/iscsi-init.service.d/10-asan.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/iscsi-init.service.d/10-asan.conf b/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/iscsi-init.service.d/10-asan.conf new file mode 100644 index 0000000000..ebf7899a78 --- /dev/null +++ b/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/iscsi-init.service.d/10-asan.conf @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +# The iscsi-init.service calls `sh` which might, in certain circumstances, pull in instrumented systemd NSS +# modules causing `sh` to fail. Avoid the issue by setting LD_PRELOAD to load the sanitizer libraries if +# needed. +[Service] +EnvironmentFile=-/usr/lib/systemd/systemd-asan-env |