From: Cathy Hu Date: Fri, 23 Jan 2026 09:52:36 +0000 (+0100) Subject: journal-remote test: add -Z for mkdir in general X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3761f15090cf7bd1088af81d7f6be1dcc4e3292;p=thirdparty%2Fsystemd.git journal-remote test: add -Z for mkdir in general Otherwise on SELinux enabled systems with the "targeted" policy the type is not set correctly when run via unconfined user and the test fails. --- diff --git a/test/units/TEST-04-JOURNAL.journal-remote.sh b/test/units/TEST-04-JOURNAL.journal-remote.sh index 7a36df190a8..5d4b13d70e0 100755 --- a/test/units/TEST-04-JOURNAL.journal-remote.sh +++ b/test/units/TEST-04-JOURNAL.journal-remote.sh @@ -41,7 +41,7 @@ journalctl --sync # # Note: older OpenSSL requires a config file with some extra options, unfortunately # Note2: /run here is used on purpose, since the systemd-journal-remote service uses PrivateTmp=yes -mkdir -p /run/systemd/journal-remote-tls +mkdir -pZ /run/systemd/journal-remote-tls cat >/tmp/openssl.conf </run/systemd/remote-pki/ca.conf <