I ended up upgrading the Dracut package from Dracut 112_eos-1 to Dracut 113_eos-1 and got the following during the kernel rebuild:
:: Running post-transaction hooks...
(1/9) Creating temporary files...
(2/9) Reloading system manager configuration...
(3/9) Reloading user manager configuration...
(4/9) Enqueuing marked services...
(5/9) Arming ConditionNeedsUpdate...
(6/9) Running kernel-install...
Running kernel-install for 7.3.5-zen1-1-zen
dracut[W]: hwdb: module not automatically included in strict hostonly mode, udev rules that use the built-in hwdb program will fail.
dracut[W]: hwdb: module not automatically included in strict hostonly mode, udev rules that use the built-in hwdb program will fail.
(7/9) Updating icon theme caches...
(8/9) Checking which packages need to be rebuilt
foreign zen-browser-bin
(9/9) Updating the desktop file MIME type cache...
I did try adding hwdb and re-build:
❯ sudo dracut-rebuild
Running dracut for linux-zen-7.3.5-zen1-1-zen
dracut[W]: hwdb: module not automatically included in strict hostonly mode, udev rules that use the built-in hwdb program will fail.
sed: can't read /var/tmp/dracut.d25SZIW/initramfs/usr/lib/systemd/system/systemd-tmpfiles-setup.service: No such file or directory
sed: can't read /var/tmp/dracut.dOCfcCI/initramfs/usr/lib/systemd/system/systemd-tmpfiles-setup.service: No such file or directory
I have since downgraded to Dracut 112_eos-1
@dalto , just in case you have feedback on the issue. Thanks.
Assume yes based on the setting. This is being used on my Thinkpad T470s laptop.
Also, that it is only a warning. Was it causing any problems?
I’m not sure if it is causing a problem. I saw the error, then tried add hwdb manually and then got the sed errors:
sed: can't read /var/tmp/dracut.d25SZIW/initramfs/usr/lib/systemd/system/systemd-tmpfiles-setup.service: No such file or directory
sed: can't read /var/tmp/dracut.dOCfcCI/initramfs/usr/lib/systemd/system/systemd-tmpfiles-setup.service: No such file or directory
I went ahead and changed to the proper settiing add_dracutmodules+=" hwdb " and then upgraded dracut again and got the same warning:
❯ sudo pacman -S dracut
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
endeavouros/dracut 112-1 113_eos-1 0.02 MiB
Total Installed Size: 1.45 MiB
Net Upgrade Size: 0.02 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [-----------------------------------] 100%
(1/1) checking package integrity [-----------------------------------] 100%
(1/1) loading package files [-----------------------------------] 100%
(1/1) checking for file conflicts [-----------------------------------] 100%
:: Processing package changes...
(1/1) upgrading dracut [-----------------------------------] 100%
:: Running post-transaction hooks...
(1/5) Reloading system manager configuration...
(2/5) Enqueuing marked services...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Running kernel-install...
Running kernel-install for 7.3.5-zen1-1-zen
dracut[W]: hwdb: module not automatically included in strict hostonly mode, udev rules that use the built-in hwdb program will fail.
(5/5) Checking which packages need to be rebuilt
/etc/dracut.conf.d took 46s
❯ sudo dracut --force --regenerate-all
dracut[W]: hwdb: module not automatically included in strict hostonly mode, udev rules that use the built-in hwdb program will fail.
I feel it should not give the warning now that I have manually added it.
Just checked dracut 103 release notes and they separated hwdb.