Dear Agathe,

> Thanks for reopening the bug after my last upload. I indeed have a local
> udev rule that I forgot to add into the package. I will add it, upload a
> new version, and that should be fixed.
>
>> Was the uinput group supposed to exist beforehand, or is it the
>> responsibility of kanata to create this uinput group if it does not
>> exist?
>
> Instead of creating a dedicated uinput group that might collide with
> existing groups of the system, I will add the /dev/uinput file to the
> input group, and since the new _kanata user is a member of that group,
> it should fix the access issue.
>
> Thanks for bug reporting and following!

Thanks for your reactivity. I had a last minor issue with 1.9.0-4. I got
an error at installation, because the uinput group was not existing. I
modified the kanata.posting with the following patch, and it now works
as expected thanks to your udev rule.

--- /tmp/kanata.postinst        2025-09-15 19:13:24.021349417 +0200
+++ kanata.postinst     2025-09-15 19:14:19.823344660 +0200
@@ -9,7 +9,7 @@
                        useradd --system _kanata
                fi
 
-               usermod -aG uinput,input _kanata
+               usermod -aG input _kanata
                deb-systemd-invoke restart systemd-udevd || true
 
                ;;


And thanks a lot again for packaging this cool software. It is so great
to be able to just apt install it!

Cédric

Attachment: signature.asc
Description: PGP signature

Reply via email to