diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-17 17:42:13 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-17 17:47:47 +0200 |
commit | a866073d35dea05e6f3e56328d3eb6436943e7e6 (patch) | |
tree | 8d8fbadda92216a862b9411d82d5bfb866939ed0 /src/udev/udevadm.c | |
parent | 72edcff5db936e54cfc322d9392ec46e2428fd9b (diff) |
main: when transitioning from initrd to the main system log to kmsg
When the new PID is invoked the journal socket from the initrd might
still be around. Due to the default log target being journal we'd log to
that initially when the new main systemd initializes even if the kernel
command line included a directive to redirect systemd's logging
elsewhere.
With this fix we initially always log to kmsg now, if we are PID1, and
only after parsing the kernel cmdline try to open the journal if that's
desired.
(The effective benefit of this is that SELinux performance data is now
logged again to kmsg like it used to be.)
Diffstat (limited to 'src/udev/udevadm.c')
0 files changed, 0 insertions, 0 deletions