Dracut (EOS) 109 update, nvmf installation error message

I just wanted to update and got this error message.
Can I ignore it? Should I intervene manually?

@dalto , some thoughts?

 mat2-0.14.0-1-any                               87,9 KiB   692 KiB/s 00:00 [------------------------------------------] 100%
 parallel-20251122-1-any                        337,1 KiB  1466 KiB/s 00:00 [------------------------------------------] 100%
 device-mapper-2.03.37-1-x86_64                 281,6 KiB  1154 KiB/s 00:00 [------------------------------------------] 100%
 dracut-109_eos-1-x86_64                        488,4 KiB  1815 KiB/s 00:00 [------------------------------------------] 100%
 eos-bash-shared-25.11.4-1-any                   64,0 KiB   357 KiB/s 00:00 [------------------------------------------] 100%
 lvm2-2.03.37-1-x86_64                         1889,0 KiB  2,91 MiB/s 00:01 [------------------------------------------] 100%
 Gesamt (6/6)                                     3,1 MiB  4,58 MiB/s 00:01 [------------------------------------------] 100%
(6/6) SchlĂĽssel im SchlĂĽsselbund werden geprĂĽft                             [------------------------------------------] 100%
(6/6) Paket-Integrität wird überprüft                                       [------------------------------------------] 100%
(6/6) Paket-Dateien werden geladen                                          [------------------------------------------] 100%
(6/6) Auf Dateikonflikte wird geprĂĽft                                       [------------------------------------------] 100%
:: Paketänderungen werden verarbeitet …
(1/6) Aktualisiert wird device-mapper                                       [------------------------------------------] 100%
(2/6) Aktualisiert wird dracut                                              [------------------------------------------] 100%
(3/6) Aktualisiert wird eos-bash-shared                                     [------------------------------------------] 100%
(4/6) Aktualisiert wird lvm2                                                [------------------------------------------] 100%
(5/6) Aktualisiert wird mat2                                                [------------------------------------------] 100%
(6/6) Aktualisiert wird parallel                                            [------------------------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
(1/7) Reloading system manager configuration...
(2/7) Restarting marked services...
(3/7) Reloading device manager configuration...
(4/7) Arming ConditionNeedsUpdate...
(5/7) Running kernel-install...
Running kernel-install for 6.12.58-1-lts
dracut[E]: Module 'nvmf' depends on module 'network', which can't be installed
Running kernel-install for 6.17.8-zen1-1-zen
dracut[E]: Module 'nvmf' depends on module 'network', which can't be installed
Running kernel-install for 6.17.8-arch1-1
dracut[E]: Module 'nvmf' depends on module 'network', which can't be installed
(6/7) Updating icon theme caches...
(7/7) Checking which packages need to be rebuilt

I didn’t get any errors at 7:13am:

journalctl | grep -i dracut | grep -i  network

Returned nothing. Try running kernel-install manually.

2 Likes
2 Likes

Have to chekc it later. Need to go to work

 ~                                                                                                                                                                                                                        09:57 swh   on EndeavourOS   17ms
╰─❯ sudo reinstall-kernels
[sudo] Passwort fĂĽr swh: 
Installing kernel 6.12.58-1-lts
dracut[E]: Module 'nvmf' depends on module 'network', which can't be installed
Installing kernel 6.17.8-zen1-1-zen
dracut[E]: Module 'nvmf' depends on module 'network', which can't be installed
Installing kernel 6.17.8-arch1-1
dracut[E]: Module 'nvmf' depends on module 'network', which can't be installed

I would just omit the nvmf module in a drop-in file in /etc/dracut.conf.d

2 Likes

nvmf - one better than nvme :rofl:

2 Likes

This is how /etc/dracut.conf.d/eos-defaults.conf looks like

omit_dracutmodules+=" network cifs nfs nbd brltty "
compress="zstd"

I don’t know how to handle this

From what I’ve read in this thread, I would try removing network from the conf file and rebuilding.

1 Like

Ok thanks. Removed network

omit_dracutmodules+=" cifs nfs nbd brltty "
compress="zstd"

reinstalled kernels

╭ ~                                                                                                                                                                                                                    13:02 swh   on EndeavourOS   12s219ms
╰─❯  sudo reinstall-kernels
[sudo] Passwort fĂĽr swh: 
Installing kernel 6.12.58-1-lts
Installing kernel 6.17.8-zen1-1-zen
Installing kernel 6.17.8-arch1-1


Im going to reboot. fingerscross

Done. Thank you @MyNameIsRichard . Rebooted well

From the link I posted in my previous post:

We blacklist the network module by default because most people don’t need network support and it makes the initrd quite a bit bigger

Now you are building into the initrds two modules that you really don’t need. Adding nvmf to that line would have been the better option, IM(H)O.

1 Like

Noob question. Is this your alias? Because I’m getting command not found.

So should do something like this?

omit_dracutmodules+=" nvmf network cifs nfs nbd brltty "
1 Like

Yes.

1 Like

Yeah, that’s the other option. I figured it would be the more dangerous of the two as you’re removing something and I don’t know enough to say with any degree of certainty whether it’s needed.

1 Like

I already made the changes by removing it and reinstall the kernel.

sudo pacman -S linux linux-headers linux-lts linux-lts-headers

I haven’t restart. Is it okay if I made the changes by adding back network and add nvmf and reinstall then only restart?

1 Like

@MyNameIsRichard @cactux I have to rely on you guys. Unfortunately, I don’t have the knowledge to handle something like this.

Added nvmf to the line like @cactux suggested

╭ ~                                                                                                                                                                                                                            13:59 swh   on EndeavourOS   
╰─❯  sudo reinstall-kernels
[sudo] Passwort fĂĽr swh: 
Installing kernel 6.12.58-1-lts
Installing kernel 6.17.8-zen1-1-zen
Installing kernel 6.17.8-arch1-1

Rebuild each kernel well.

You are not removing something. The nvmf is not already getting built into the initrds. It is dependent on the network module which is already omitted.

That is why OP gets the following to begin with.

Omitting nvmf will just make the dracut message to go away with no implications in practice.

1 Like

Yeah, I know. I was thinking it could be a new dependency, but if it’s not needed, yours is the better solution. I just figured mine was safer :smiley:

3 Likes

No, that’s not an alias. Have you tried sudo kernel-reinstall?

You may not be using systemd-boot?

2 Likes