Package Details: dracut-hook 0.5.3-1

Git Clone URL: https://aur.archlinux.org/dracut-hook.git (read-only, click to copy)
Package Base: dracut-hook
Description: Install/remove hooks for dracut
Upstream URL: https://dracut.wiki.kernel.org/index.php/Main_Page
Keywords: initramfs initrd
Licenses: BSD
Submitter: kageurufu
Maintainer: jpegxguy
Last Packager: jpegxguy
Votes: 22
Popularity: 0.041024
First Submitted: 2020-01-30 21:42 (UTC)
Last Updated: 2022-02-19 23:34 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

merlock commented on 2021-01-24 13:01 (UTC)

@Nocifer:

See https://lists.archlinux.org/pipermail/arch-general/2021-January/048534.html

Nocifer commented on 2021-01-24 12:30 (UTC) (edited on 2021-01-24 12:45 (UTC) by Nocifer)

Hello,

As of today I've been getting errors on system boot and shutdown that can be traced back to dracut and brltty. Trying to rebuild my initramfs resulted in the following:

dracut: *** Including module: brltty ***
brltty-lsinc: missing file
brltty-lsinc: cannot open file: /etc/brltty/Input/al/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/bm/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/bn/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/cn/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/eu/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/fs/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/hd/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/hm/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/ht/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/hw/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/ic/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/mt/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/pg/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/pm/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/sk/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/vo/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/md/*.ktb: No such file or directory
brltty-lsinc: cannot open file: /etc/brltty/Input/mm/*.ktb: No such file or directory

This is due to the brltty package's update to version 6.2; downgrading to 6.1 fixes the problem.

I know the dracut-hook package has absolutely nothing to do with either the problem itself or its solution, but seeing as I don't really know the nitty-gritty internals of dracut, and also that brltty's 6.2 update supposedly brings the Arch version closer to upstream, I'm not really sure what to report this as: a brltty package bug (probably not if the change was deliberate in order to sync with upstream), a dracut package bug, or a dracut upstream bug?

EDIT: Hmmm, on the other hand this brltty-lsinc binary that dracut calls is owned by the brltty package, so now I'm thinking it's probably a brltty bug after all; maybe the binary was compiled with the wrong paths, because all those files can actually be found at /usr/share/brltty/Input/ instead.

I've reported it as a brltty package bug.

chandradeepdey commented on 2021-01-03 15:29 (UTC)

The commands create images with microcode images embedded. intel-ucode and amd-ucode should be added as targets.

chandradeepdey commented on 2021-01-03 11:43 (UTC) (edited on 2021-01-03 11:44 (UTC) by chandradeepdey)

Please change line 33 of dracut-install to

dracut -f --hostonly --no-hostonly-cmdline "/boot/initramfs-${kernel}.img" --kver "${version}"

and line 35 to

dracut -f "/boot/initramfs-${kernel}-fallback.img" --kver "${version}"

Currently both commands create the same fallback image.

And1G commented on 2020-09-26 22:46 (UTC)

Oh, that was the hint to what I was missing. I also have kernel-modules-hook ( https://aur.archlinux.org/packages/kernel-modules-hook/ ) installed but it does a plain copy of the modules directory. I have just tested, and both versions of the modules have the pkgbase file existing, despite the error message. It seems like these two packages are not compatible, are they?

quebin31 commented on 2020-09-26 22:39 (UTC)

Yeah, but it looks like you have two versions 5.8.5 and 5.8.10.

And1G commented on 2020-09-26 22:37 (UTC)

Just the plain standard linux package from the core repo, nothing fancy. See the edited comment, the pkgbase actually does exist, so I do not understand the error message.

quebin31 commented on 2020-09-26 14:16 (UTC)

@And1G which kernels do you have installed? It's weird that one of those doesn't have a pkgbase file.

And1G commented on 2020-09-26 09:28 (UTC) (edited on 2020-09-26 09:29 (UTC) by And1G)

dracut-hook 0.4.2-1 fails for me, did I do something wrong? I reverted to the hook from the Wiki and it works as expected... I am not that kind of a bash pro, so I was not able to start any further investigation.

(4/4) Updating linux initcpios... /usr/share/libalpm/scripts/dracut-install: line 28: /usr/lib/modules/5.8.10-arch1-1/pkgbase /usr/lib/modules/5.8.5-arch1-1/pkgbase: No such file or directory error: command failed to execute correctly

(/usr/lib/modules/5.8.5-arch1-1/pkgbase does exist)