swh
November 24, 2025, 7:55am
1
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
xircon
November 24, 2025, 8:02am
2
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
swh
November 24, 2025, 9:05am
4
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
cactux
November 24, 2025, 9:12am
5
I would just omit the nvmf module in a drop-in file in /etc/dracut.conf.d
2 Likes
xircon
November 24, 2025, 9:18am
6
nvmf - one better than nvme
2 Likes
swh
November 24, 2025, 11:58am
7
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
swh
November 24, 2025, 12:05pm
9
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
swh
November 24, 2025, 12:07pm
10
Done. Thank you @MyNameIsRichard . Rebooted well
cactux
November 24, 2025, 12:54pm
11
swh:
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 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
dirn
November 24, 2025, 12:57pm
12
swh:
reinstall-kernels
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
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
dirn
November 24, 2025, 1:01pm
15
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
swh
November 24, 2025, 1:02pm
16
cactux:
nvmf
@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.
cactux
November 24, 2025, 1:02pm
17
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
3 Likes
swh
November 24, 2025, 1:10pm
19
No, that’s not an alias. Have you tried sudo kernel-reinstall?
cactux
November 24, 2025, 1:10pm
20
You may not be using systemd-boot?
2 Likes