During debugging a startup issue I started using systemd debug shell. The shell would be a lot more useful if systemd wouldn’t write its status about units to console, because the output disturbs the output of commands in the debug shell.
Especially the update of the time while waiting for a unit to finish (which is written every second) I found really annoying.
I searched for a way to disable this output or even better have it only printed every x seconds, but didn’t find anything.
Also scrolling back in console while startup is impossible, because with every update it jumps back to the end.
or other less brutal choices of log target.
Or, presumably equivalently, kernel command line
Looks as if you can use signals to change the setting on the fly, which may be a more sophisticated approach.
Thanks for pointing me in that direction - it looked promising. But it didn’t work.
My kernel command line contained
systemd.log_target=journal systemd.default_standard_output=journal systemd.default_standard_error=journal nosplash noresume loglevel=7 systemd.debug-shell for testing, but it didn’t change the behaviour.
Here’s a screenshot of tty1:
And here’s one that shows the debug console of systemd on tty9:
One can see that the status of the waiting unit (swap that does not work) is still disturbing the use of the debug shell.
So I’m still looking for a solution…
would be great if PURI.SM would actually provide the line
linux /boot/vmlinuz root=UUID=3… console=tty3
by default, so as to not let customers run into this problem one after another. I don’t think that everyone needs those systemd-messages, nor the dreaded Cylon (animated red stars in screenshot above) on EVERY virtTerminal ! seeing those on tty3 only is quite enough.
Why don’t you file an issue proposing it?
I consider it a valid option to keep a viable Alt-F9 shell, I use it a lot. Upstream was kind of hesitant fearing that users might not be notified of important notifications, but I feel that does not justify to make the F9 shell unworkable. I applied for that Phabricator of puri.sm maybe it works out.