From a866073d35dea05e6f3e56328d3eb6436943e7e6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 17 Sep 2012 17:42:13 +0200 Subject: 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.) --- TODO | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 10f43d7d25..ec31f1d466 100644 --- a/TODO +++ b/TODO @@ -28,8 +28,6 @@ F18: * refuse automount triggers when automount is queued for stop, much like we refuse socket triggers when sockets are queued for stop -* perfomance messages for selinux are gone from debug log? - * There's something wrong with escaping unit names: http://lists.freedesktop.org/archives/systemd-devel/2012-August/006292.html * logind: different policy actions for idle, suspend, shutdown blockers: allow idle blockers by default, don't allow suspend blockers by default -- cgit v1.2.3