diff options
author | Ivan Kruglov <mail@ikruglov.com> | 2024-11-19 19:12:32 +0100 |
---|---|---|
committer | Ivan Kruglov <mail@ikruglov.com> | 2024-11-19 19:12:32 +0100 |
commit | 3aa3f130c1a7f24ca28323c78e33b1bc26e057f7 (patch) | |
tree | 142c959a15b81c63b4db264235a713602bfebd71 /test/units | |
parent | machine: increase timeouts in attempt to fix #35115 (diff) | |
download | systemd-3aa3f130c1a7f24ca28323c78e33b1bc26e057f7.tar.xz systemd-3aa3f130c1a7f24ca28323c78e33b1bc26e057f7.zip |
machine: add debug for systemd-nspawn@.service
Diffstat (limited to 'test/units')
-rwxr-xr-x | test/units/TEST-13-NSPAWN.machined.sh | 5 |
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 |