mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
main: log to the journal in container mode, by default
This commit is contained in:
parent
21dbe43aec
commit
a0a3844815
6
TODO
6
TODO
@ -24,6 +24,10 @@ Features:
|
||||
|
||||
* selinux: merge systemd selinux access controls (dwalsh)
|
||||
|
||||
* ConditionSecurity= should learn about IMA
|
||||
|
||||
* add RequiredBy to [Install]
|
||||
|
||||
* cg_shorten_controllers() misuses alloca()
|
||||
|
||||
* suspend/hibernate/hybrid support, auto-suspend logic with idle hint
|
||||
@ -153,8 +157,6 @@ Features:
|
||||
|
||||
* support "systemctl stop foobar@.service" to stop all units matching a certain template
|
||||
|
||||
* move to LGPL2+
|
||||
|
||||
* logind: allow showing logout dialog from system
|
||||
|
||||
* document that %% can be used to write % in a string that is specifier extended
|
||||
|
@ -1211,7 +1211,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
if (getpid() == 1) {
|
||||
arg_running_as = MANAGER_SYSTEM;
|
||||
log_set_target(detect_container(NULL) > 0 ? LOG_TARGET_CONSOLE : LOG_TARGET_JOURNAL_OR_KMSG);
|
||||
log_set_target(detect_container(NULL) > 0 ? LOG_TARGET_JOURNAL : LOG_TARGET_JOURNAL_OR_KMSG);
|
||||
|
||||
if (!is_reexec) {
|
||||
if (selinux_setup(&loaded_policy) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user