]> git.ipfire.org Git - thirdparty/systemd.git/commit
log: make tools also read the kernel command line when run as a service
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 17 Jan 2021 05:52:22 +0000 (14:52 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Jan 2021 16:13:44 +0000 (01:13 +0900)
commit74189020eb2ec05336d93bdeeffbda1724ba1e07
tree03cabb071e5083b00299842bdc1562270ad4c3cc
parent8ccc31d498278cd1531f153ae1ebedf373b0e9dd
log: make tools also read the kernel command line when run as a service

This effectively reverts 41d1f469cf10f5f3e9cb4f4853ace9b0cfe5beae.

Before this, e.g., `networkctl reload` invoked by `systemctl reload systemd-networkd.service`
does not produce debugging logs even if systemd.log-level=debug is set. This fixes
the issue.
src/basic/log.c
src/basic/log.h
src/journal-remote/journal-remote-main.c
src/journal-remote/journal-upload.c
src/systemctl/systemctl.c