[systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

Colin Guthrie gmane at colin.guthr.ie
Wed Mar 13 15:13:13 PDT 2013


'Twas brillig, and Reindl Harald at 13/03/13 17:37 did gyre and gimble:
> Am 13.03.2013 17:44, schrieb Kay Sievers:
>> On Wed, Mar 13, 2013 at 5:30 PM, Kok, Auke-jan H
>> <auke-jan.h.kok at intel.com> wrote:
>>> On Wednesday, March 13, 2013, Kay Sievers <kay at vrfy.org> wrote:
>>>> On Wed, Mar 13, 2013 at 3:17 PM, Reindl Harald <h.reindl at thelounge.net>
>>>> wrote:
>>>>
>>>>> so and what are you guys saying if i explain you that
>>>>> i WANT THIS MESSAGES bedcause I WANT to SEE
>>>>> /dev/sda2: clean, 435608/1310720 files
>>>>
>>>> Now, that you ask, I would say: I don't care. :)
>>
>>> This is one of those cases where more information isn't actually providing
>>> you with useful data. We should print out errors and warnings, but if
>>> everything is working as it should, then nobody should care, and it should
>>> remain silent.
>>>
>>> If you do care, then the right solution is to implement some notification
>>> mechanism that can be added or is optional, and disabled by default.
>>>
>>> I'd rather spend my time figuring out how to get fsck issues all the way to
>>> admin users instead... That seems much more useful.
>>
>> Right, as always, it is about sane defaults, and "clean" isn't any
>> sane default to print, ever.
>>
>> If wanted, tools can support --verbose and print all their stuff, but
>> there is no case to clutter the console with nonsense like "clean". We
>> don't print "OK" for all other tools as well
> 
> so all the green OK messages at boot are existing only in my brain
> hint: disable rhgb and quiet

If you read my original mail again you'll see that this message is
showing up for me inside plymouth and gdm screens. This is a graphical
boot, it shouldn't clutter that up by printing out console messages over
the top. I've explicitly set quiet and splash on the kernel command
line, but it's still printed.

It provides me with zero useful information - if it was failing then,
yes, I'd like to see that, but having some text pop up during my nice
graphical boot just looks totally wrong (obviously).

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/


More information about the systemd-devel mailing list