Re: How to suppress "A start job is running for offline-updates" knight-rider status output?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hans de Goede wrote on 27/02/2019 19:12:
> On 27-02-19 17:04, Lennart Poettering wrote:
>> Another option is to do this in your soruces btw:
>>
>> ```c
>> (void) kill(1, SIGRTMIN+21);
>> ```
>>
>> Sending SIGRTMIN+21 to PID 1 will disable the status output
>> explicitly. If you are sure you don't want it you can just do that, in
>> one line.
>>
>> Plymouth also sends that signal, hence make sure you don't run into
>> races with that.
> 
> That won't work, the primary use-case for the offline-updates
> status display is a user pressing ESC while plymouth is showing this:
> https://fedorapeople.org/~jwrdegoede/flickerfree-videos/installing.png
> 
> So that the user can see details if he/she wants that. In this case
> plymouth will send SIGRTMIN+22 when switching back to text-mode to
> have systemd resume its status messages, so having pk-offline-update send
> SIGRTMIN+21 when it starts will not help.

Could the plymouth theme somehow suppress the sending of SIGRTMIN+22?
e.g. in the case of the offline updates it's presumably integrating with
the pk-offline-update to get progress reports anyway, so it knows the
context in which it's run. I could simply suppress the sending of
SIGRTMIN+22 and leave just the pk-offline-update messages?

Obviously would need a tweak to plymouth, but perhaps it's not too
crazy? Just a thought.


Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux