summaryrefslogtreecommitdiffstats
path: root/test/units
diff options
context:
space:
mode:
authorIvan Kruglov <mail@ikruglov.com>2024-11-19 19:12:32 +0100
committerIvan Kruglov <mail@ikruglov.com>2024-11-19 19:12:32 +0100
commit3aa3f130c1a7f24ca28323c78e33b1bc26e057f7 (patch)
tree142c959a15b81c63b4db264235a713602bfebd71 /test/units
parentmachine: increase timeouts in attempt to fix #35115 (diff)
downloadsystemd-3aa3f130c1a7f24ca28323c78e33b1bc26e057f7.tar.xz
systemd-3aa3f130c1a7f24ca28323c78e33b1bc26e057f7.zip
machine: add debug for systemd-nspawn@.service
Diffstat (limited to 'test/units')
-rwxr-xr-xtest/units/TEST-13-NSPAWN.machined.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/units/TEST-13-NSPAWN.machined.sh b/test/units/TEST-13-NSPAWN.machined.sh
index 899a6a6979..59ba8c92db 100755
--- a/test/units/TEST-13-NSPAWN.machined.sh
+++ b/test/units/TEST-13-NSPAWN.machined.sh
@@ -22,6 +22,11 @@ trap at_exit EXIT
systemctl service-log-level systemd-machined debug
systemctl service-log-level systemd-importd debug
+# per request in https://github.com/systemd/systemd/pull/35117
+systemctl edit --runtime --stdin 'systemd-nspawn@.service' --drop-in=debug.conf <<EOF
+[Service]
+Environment=SYSTEMD_LOG_LEVEL=debug
+EOF
# Mount temporary directory over /var/lib/machines to not pollute the image
mkdir -p /var/lib/machines