projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df18408
)
machine: add debug for systemd-nspawn@.service
author
Ivan Kruglov
<mail@ikruglov.com>
Tue, 19 Nov 2024 18:12:32 +0000
(19:12 +0100)
committer
Ivan Kruglov
<mail@ikruglov.com>
Tue, 19 Nov 2024 18:12:32 +0000
(19:12 +0100)
test/units/TEST-13-NSPAWN.machined.sh
patch
|
blob
|
history
diff --git
a/test/units/TEST-13-NSPAWN.machined.sh
b/test/units/TEST-13-NSPAWN.machined.sh
index 899a6a697964e961f0219556f4b4b009f48de395..59ba8c92db575a9b5e7f6a2e1df96eee6c75f142 100755
(executable)
--- 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