You are not logged in.
How do I make grub2 be more quiet than "quiet"?
With "quiet" in the kernel command line, I would expect it to display only [FAIL] messages. However, what actually happens is that all boot status messages get printed to the console screen starting with a [FAIL] (i.e., even if only one thing fails, the boot process prints that failure and all the [OK]'s that follow).
(I am trying to recreate the old /var/log/boot but it would be simpler if I didn't have to deal with the scrollback buffer. See here: https://bbs.archlinux.org/viewtopic.php … 1#p1439361)
Last edited by bdantas (2014-08-23 02:06:45)
Offline
Have you tried https://bbs.archlinux.org/viewtopic.php … 6#p1439196 ?
Offline
I just did thanks to your tip. Unfortunately, now it does not even show my one [FAIL]--no boot status messages at all.
I also tried "systemd.show_status=1" for good measure but, as expected, it shows all the [FAIL] and [OK] messages from the beginning (i.e., behavior of "quiet" + "systemd.show_status=1" is the same as having neither parameter).
Offline
Does 'systemctl --failed' show the [FAIL]ed units?
Offline
It does not. Among "systemctl --failed," "sudo systemctl --failed," "journalctl -b -p err," and "sudo journalctl -b -p err" only the last one mentions the [FAIL]ed unit.
Last edited by bdantas (2014-07-24 13:32:04)
Offline
Have you tried 'systemd.show_status=auto'?
systemd.show_status=
Takes a boolean argument or the constant auto. If true, shows terse service status updates on the
console during bootup. auto behaves like false until a service fails or there is a significant delay
in boot. Defaults to true, unless quiet is passed as kernel command line option in which case it
defaults to auto.
Last edited by karol (2014-07-24 13:32:21)
Offline
Just tried it. It seems that's the default behavior, as the output is identical to just having "quiet" (i.e., with "quiet" + "systemd.show_status=auto" there are no boot status messages until [FAIL] shows up, but then it prints all the [OK]'s that follow).
I am starting to get a sinking feeling that what I am looking for is not possible.
Last edited by bdantas (2014-07-24 13:48:03)
Offline
It would be nice to at least get a clarification if that's the intended behavior, or is it a bug.
Offline
I agree, but I wouldn't know who or where to ask.
Offline
See http://www.freedesktop.org/wiki/Software/systemd/
The quickest might be asking about this on IRC.
Offline
I asked systemd's Lennart Poettering by email: "Is it possible to display only [FAIL]ed units during boot?"
His answer: "No, we currently don't have such a mode. But I think this would be quite useful, so I have added this to the TODO list now!"
Offline
Offline
Looks about right
Since this is an upstream issue, I'll mark as solved.
Last edited by bdantas (2014-08-23 02:06:08)
Offline