Summary: | app-accessibility/brltty-6.1 missing install section systemd configuration | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rachid Achellal <rachid> |
Component: | Current packages | Assignee: | Gentoo Accessibility Team <accessibility> |
Status: | UNCONFIRMED --- | ||
Severity: | major | CC: | matthew |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rachid Achellal
2021-07-30 19:42:43 UTC
From reading the brltty docs, it seems like you aren't supposed to enable brltty.service but instead it uses path-based activation to start this service for you. See https://brltty.app/doc/Systemd.html. The systemd configuration is not correct. In the configuration there is on line 40: ExecStart=/usr/lib/brltty/systemd-wrapper. After installation the file /usr/lib/brltty/systemd-wrapper is missing. I think that the current package is not systemd ready and there is newer version 6.3. The missing systemd-wrapper script is tracked in https://bugs.gentoo.org/718118, it might be worth adding yourself to the CC list there so you can be notified when it gets fixed. In the meantime you might be able to download it manually from https://raw.githubusercontent.com/brltty/brltty/master/Autostart/Systemd/systemd-wrapper and place it in /usr/lib/brltty/systemd-wrapper, but I think that this bug should be closed (as the .unit file is fine and there's another bug tracking the problem you are running into now). If the workaround above fixes it for you please mention so in the linked bug, then it's only a commit away from being fixed for everyone else too :) Thanks There are new versions of the package that solves issues. Like in version 6.2 Linux security enhancements: BRLTTY can now run as an unprivileged user. Systemd management changes: The brltty-device@.service instance unit has been added. BRLTTY is now run as an unprivileged user with perks. The BRLTTY instance is now stopped correctly on USB disconnect. A USB device management problem introduced in Systemd 247 has been fixed. BRLTTY's needed directories are now created (if necessary). The brlapi group is now assumed (e.g. for /etc/brlapi.key ownership). For complete changelog: https://brltty.app/doc/ChangeLog.txt Please upgrade the package to the latest version 6.4. |