Do dracut error messages matter?

I keep getting them when I update. I looked up dracut and it doesn’t seem important since my system boots fine. Should I try to resolve the problem or ignore it? I’ll copy and paste a sample of some error messages. There are a lot of them but I won’t waste space pasting them all

dracut: dracut module ‘iscsi’ will not be installed, because command ‘iscsiadm’ could not be found!

dracut: dracut module ‘connman’ will not be installed, because command ‘connmanctl’ could not be found!

dracut: dracut module ‘rngd’ will not be installed, because command ‘rngd’ could not be found!

These are normal. dracut is just informing in verbose mode that what is not installed in your system will not be part of the initrds.

You could, if you wanted to, make dracut less verbose:

Making dracut less verbose

Edit config file located at /etc/eos-dracut.conf or /etc/kernel-install-for-dracut.conf and set DRACUT_QUIET to DRACUT_QUIET="true"

This will enable dracut’s quiet mode which will suppress most output.

https://discovery.endeavouros.com/installation/dracut/2022/12/

1 Like

Thanks. It doesn’t really bother me. It’s kind of like those ACPI errors that always appear during the boot. I just ignore them

1 Like

Yes, they do. Depending on what the error says, they could indicate a major issue. Your output is not showing an example of an error though.

Those are not error messages, although the fact that they add those exclamation marks does make it seem like they are. Dracut just announces what it is adding or not adding to your initramfs as it goes. Basically dracut is letting you know it doesn’t look like you need that module, so it is skipping it when building the new image.

[Foo] module isn’t getting added, because we checked for [Bar] package and didn’t find it!”

The output is useful if you are troubleshooting a dracut issue, but not really for much else. Normally I put it in the “quiet” mode @pebcak mentioned.

An error message will be announced differently, for example like this: Updated my system and got a bunch of errors

If you disable the full verbosity with the conflig flag above, you will still see error messages like this so you can still see if there is a problem when you are building the initramfs.

1 Like