]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
machine: add debug for systemd-nspawn@.service 35117/head
authorIvan Kruglov <mail@ikruglov.com>
Tue, 19 Nov 2024 18:12:32 +0000 (19:12 +0100)
committerIvan Kruglov <mail@ikruglov.com>
Tue, 19 Nov 2024 18:12:32 +0000 (19:12 +0100)
test/units/TEST-13-NSPAWN.machined.sh

index 899a6a697964e961f0219556f4b4b009f48de395..59ba8c92db575a9b5e7f6a2e1df96eee6c75f142 100755 (executable)
@@ -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