When running TEST-22 under ASan, there's a chain of events which causes `stat` to output an extraneous ASan error message, causing following fail: ``` + test -d /tmp/d/1 ++ stat -c %U:%G:%a /tmp/d/1 ==82==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. + test = daemon:daemon:755 .//usr/lib/systemd/tests/testdata/units/testsuite-22.02.sh: line 24: test: =: unary operator expected ``` This is caused by `stat` calling nss which in Arch's configuration calls the nss-systemd module, that pulls in libasan which causes the $LD_PRELOAD error message, since `stat` is an uninstrumented binary. The $LD_PRELOAD variable is explicitly unset for all testsuite-* services since it causes various issues when calling uninstrumented libraries, so setting it globally is not an option. Another option would be to set $LD_PRELOAD for each `stat` call, but that would unnecessarily clutter the test code.
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.