mirror of
https://github.com/systemd/systemd.git
synced 2025-02-28 05:57:33 +03:00
TEST-13-NSPAWN: enable debugging logs by nspawn run by systemd-run
Otherwise, it is hard to debug issue #35209.
This commit is contained in:
parent
1072618023
commit
472e3cce6e
@ -1238,7 +1238,7 @@ test_tun() {
|
||||
# Without DeviceAllow= for /dev/net/tun, see issue #35116.
|
||||
assert_rc \
|
||||
"$expect" \
|
||||
systemd-run --pty --wait -p DevicePolicy=closed -p DeviceAllow="char-pts rw" \
|
||||
systemd-run --wait -p Environment=SYSTEMD_LOG_LEVEL=debug -p DevicePolicy=closed -p DeviceAllow="char-pts rw" \
|
||||
systemd-nspawn "$@" bash -xec "$command"
|
||||
|
||||
[[ "$(stat /dev/net/tun --format=%u)" == 0 ]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user