FS#69424 - [brltty] Update 6.2 breaks dracut with 'brltty-lsinc: missing file' errors
Attached to Project:
Arch Linux
Opened by Alexander Michalopoulos (Nocifer) - Sunday, 24 January 2021, 12:42 GMT
Last edited by David Runge (dvzrv) - Saturday, 19 February 2022, 12:53 GMT
Opened by Alexander Michalopoulos (Nocifer) - Sunday, 24 January 2021, 12:42 GMT
Last edited by David Runge (dvzrv) - Saturday, 19 February 2022, 12:53 GMT
|
Details
As of version 6.2, rebuilding the initramfs with dracut
results 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 The "missing" files can all be found at /usr/share/brltty/Input/ instead. |
This task depends upon
Closed by David Runge (dvzrv)
Saturday, 19 February 2022, 12:53 GMT
Reason for closing: Not a bug
Additional comments about closing: Use omit_dracutmodules+=" brltty " to omit brltty.
Saturday, 19 February 2022, 12:53 GMT
Reason for closing: Not a bug
Additional comments about closing: Use omit_dracutmodules+=" brltty " to omit brltty.
It would be immensely helpful if you and @xuanrui could help testing the functionality for an upcoming (upstream) release.
I'm not sure yet whether the dracut integration will live in a split package or how it is best handled, but I'll surely move the package to testing first. May I ping you then to try it?
Please give it a spin and report back, if the issues are resolved.
dracut-pre-pivot: brltty: kernel module not installed: uinput
dracut-pre-pivot: brltty: pid file open error: /run/brltty.pid: No such file or directory
...
dracut-cmdline: brltty: kernel module not installed: uinput
The error about uinput is easily fixed by adding
add_drivers+=" uinput "
to /usr/share/brltty/Initramfs/cmdline; the PID error is probably not something I can control from my side.
At first, when I had brltty complain about uinput missing, I actually added it through a .conf file in /etc/dracut.conf.d/ rather than through /usr/share/brltty/Initramfs/cmdline.
Afterwards, I discovered the existence of /usr/share/brltty/Initramfs/cmdline, and I made the previous comment before proceeding to move uinput's inclusion from the former file to the latter one, being certain that the behavior would be the same. Well... no. I got the following error on reboot (along with the one about the PID):
dracut-cmdline: //lib/dracut/hooks/cmdline/05-brltty-start.sh: line 33 error
I then removed add_drivers+=" uinput " from /usr/share/brltty/Initramfs/cmdline and the new error disappeared... but the error about uinput missing did not come back! So now I can build the initramfs seemingly without uinput included, and no errors are produced. The only error I've been getting in all cases is the one about the PID file.
So either I'm doing something wrong (possible, since dracut is something new to me) or there's something weird going on here.
dracut-cmdline[338]: BRLTTY 6.3 rev BRLTTY-6.3 [http://brltty.app/]
dracut-cmdline[338]: brltty: executing as the invoking user: root
The shutdown stucks some time waiting for the brltty process ends.
I believe the remaining issues should be cleared up with upstream.
I'm relieved to hear that booting is not broken using dracut anymore :)
This breaks booting with encrypted zfs. brltty, which is now a dependency of qemu, never starts so the password prompt for the encryption never shows and the system fails to boot.
Probably the same happens with LUKS.
Also: brltty has been a dependency for qemu for *a long time* and I fail to see what this has to do with dracut boot issues.
Please provide information on what exactly is the output that you are seeing. If it is not the same as the output described by @Nocifer please open a new ticket. However, please note that ZFS is not supported.
omit_dracutmodules+=" brltty "
to dracut configuration.
I use LUKS. The password prompt does appear, though I do see "
dracut-cmdline[338]: BRLTTY 6.3 rev BRLTTY-6.3 [http://brltty.app/]", so I doubt that is the same issue.
> The shutdown stucks some time waiting for the brltty process ends.
I do get hangs on shut down, and uninstalling qemu, and it's dependency brltty, made the problem go away as does: omit_dracutmodules+=" brltty "