[Pkg-rust-maintainers] Bug#1115172: 1.9.0-3 systemd service still does not start as is

Cédric Boutillier boutil at debian.org
Mon Sep 15 18:17:34 BST 2025


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250915/05609c97/attachment.sig>


More information about the Pkg-rust-maintainers mailing list