You are not logged in.

#1 2020-04-11 08:29:24

djzin
Member
Registered: 2020-04-11
Posts: 4

"Starting version..." message seems out of place

I'm sure we're all familiar with this, it's the first line printed in the initrd and all that shows up with `quiet` on the kernel command line.
It just feels a little out of place to me. It comes from systemd-udev (https://github.com/systemd/systemd/blob … vd.c#L1807). It's not a "welcome to arch" message, it just happens to have -arch in the version string for the systemd build.
I found that adding

rd.udev.log_priority=warning

to the kernel command line will remove it (see man 8 systemd-udevd and note that it is printed as log_info).
N.B. rd.udev.log_priority=warn does NOT work; "warn" as a log level is depreciated anyway.

I say silencing this output and adding an optional "motd" initcpio hook would be a good default.

Offline

#2 2020-04-11 08:59:24

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,866
Website

Re: "Starting version..." message seems out of place

I think you're missing the point of Arch. If you want to hide that message and add an MOTD instead, go ahead, but if upstream show this message by default, then Arch will show it too.

https://wiki.archlinux.org/index.php/Arch_Linux


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-04-11 09:30:48

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 3,932

Re: "Starting version..." message seems out of place

This is already covered in the wiki...
https://wiki.archlinux.org/index.php/Silent_boot


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2020-04-11 09:39:03

djzin
Member
Registered: 2020-04-11
Posts: 4

Re: "Starting version..." message seems out of place

If you want to hide that message and add an MOTD instead, go ahead

This is what I've done

if upstream show this message by default, then Arch will show it too.

Hm yes you have a good point here, this is part of the Arch philosophy. Changing the default log level definitely violates that.

Maybe another way to quiet the output to the console (e.g. when quiet is set, redirect the output to /dev/null in the udev hook) could work?
After all, the init scripts already do this for cryptsetup (see the encrypt hook).

Offline

#5 2020-04-11 10:07:12

djzin
Member
Registered: 2020-04-11
Posts: 4

Re: "Starting version..." message seems out of place

This is already covered in the wiki...

Thanks, I actually hadn't seen this. I've actually just edited the init_functions script in initcpio instead of using systemd-fsck to squelch fsck warnings (when quiet is set). I'll try and think of an upgrade-safe way to do it and then add it to the wiki.

Offline

#6 2020-04-11 11:57:48

djzin
Member
Registered: 2020-04-11
Posts: 4

Re: "Starting version..." message seems out of place

I'll try and think of an upgrade-safe way to do it and then add it to the wiki.

I added this section to the slient boot page on the wiki: https://wiki.archlinux.org/index.php/Si … tcpio_hook

Offline

Board footer

Powered by FluxBB