mirror of
https://github.com/systemd/systemd.git
synced 2025-02-27 01:57:35 +03:00
tests: enable logging for pid1, disable for other systemd services
systemd-udev generated an insane amount of log output at debug level. It would break TEST-02-CRYPTSETUP by filling the overflowing the disk (which seems to be a bug in itself!).
This commit is contained in:
parent
e14b866bc1
commit
61b480b68b
@ -64,7 +64,6 @@ run_qemu() {
|
||||
find_qemu_bin || return 1
|
||||
|
||||
KERNEL_APPEND="root=/dev/sda1 \
|
||||
systemd.log_level=debug \
|
||||
raid=noautodetect \
|
||||
loglevel=2 \
|
||||
init=$ROOTLIBDIR/systemd \
|
||||
@ -245,6 +244,9 @@ install_systemd() {
|
||||
# we strip binaries since debug symbols increase binaries size a lot
|
||||
# and it could fill the available space
|
||||
strip_binaries
|
||||
|
||||
# enable debug logging in PID1
|
||||
echo LogLevel=debug >> $initdir/etc/systemd/system.conf
|
||||
}
|
||||
|
||||
install_missing_libraries() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user