mirror of
https://github.com/systemd/systemd.git
synced 2026-08-12 22:17:19 +00:00
journal-remote test: add -Z in mkdir for journal-{remote,upload}.conf.d
Otherwise on SELinux enabled systems with the "targeted" policy
the type is not set correctly when run via unconfined user and
the test fails.
(cherry picked from commit 57202fd181)
This commit is contained in:
@@ -61,7 +61,7 @@ openssl req -x509 -nodes -newkey rsa:2048 -sha256 -days 7 \
|
||||
chown -R systemd-journal-remote /run/systemd/journal-remote-tls
|
||||
|
||||
# Configure journal-upload to upload journals to journal-remote without client certificates
|
||||
mkdir -p /run/systemd/journal-{remote,upload}.conf.d
|
||||
mkdir -pZ /run/systemd/journal-{remote,upload}.conf.d
|
||||
cat >/run/systemd/journal-remote.conf.d/99-test.conf <<EOF
|
||||
[Remote]
|
||||
SplitMode=host
|
||||
|
||||
Reference in New Issue
Block a user