<div dir="ltr"><div dir="ltr"><div dir="ltr">On Tue, Feb 26, 2019 at 7:29 PM Hans de Goede <<a href="mailto:hdegoede@redhat.com">hdegoede@redhat.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi All,<br>
<br>
As part of improving the boot experience:<br>
<a href="https://fedoraproject.org/wiki/Changes/FlickerFreeBoot" rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Changes/FlickerFreeBoot</a><br>
<a href="https://hansdegoede.livejournal.com/20119.html" rel="noreferrer" target="_blank">https://hansdegoede.livejournal.com/20119.html</a><br>
<br>
I took a look at how applying offline updates looks<br>
when pressing ESC to get the detailed view, pk-offline-update<br>
then prints "dnf update" like output, but at the same time<br>
systemd is printing:<br>
<br>
[ ***] A start job is running for offline-updates<br>
<br>
Messages to the console, the 2 get intermixed and this looks<br>
quite bad and makes the status update of the actual<br>
update process almost impossible to follow.<br>
<br>
Is there something which I can put in the<br>
/lib/systemd/system/system-update.target.wants/packagekit-offline-update.service<br>
service file to suppress the knightrider status updates ?<br><br></blockquote><div><br></div><div>I think the official name is "cylon eye status updates".</div></div><div><br class="gmail-Apple-interchange-newline">Hmm, I *thought* it was possible to disable this by something like flock()'ing the console device, and systemd-fsck was supposed to do that in order to avoid the job status from mixing with the "fsck: x% complete" output. But it looks like that functionality was lost, or never present, and indeed even systemd-fsck's output is trashed by the "job is running" messages, from what I remember.</div><div><br></div><div>Looking at source code (manager_get_show_status, unit_needs_console, exec_context_may_touch_console), the output should be disabled if at least one currently active unit has a tty as its stdin/stdout, and/or any of the tty_reset/tty_vhangup options enabled. So maybe StandardOutput=tty, TTYPath=/dev/console would achieve this?</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div></div>