Package Details: keyd 2.4.3-3

Git Clone URL: https://aur.archlinux.org/keyd.git (read-only, click to copy)
Package Base: keyd
Description: A key remapping daemon for linux.
Upstream URL: https://github.com/rvaiya/keyd
Licenses: MIT
Submitter: eNV25
Maintainer: eNV25
Last Packager: eNV25
Votes: 17
Popularity: 2.48
First Submitted: 2022-01-08 06:49 (UTC)
Last Updated: 2023-05-17 18:36 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

eNV25 commented on 2023-05-24 07:56 (UTC)

I'm aware of this issue. This package has had the sysusers.d file for a long time. Regarding upstream's Makefile, I have brought this up but they don't seem to think it's a problem and don't like the sysusers.d solution since it's specific to distros with systemd. Perhaps we should stop using the Makefile.

TrialnError commented on 2023-05-22 19:11 (UTC)

Hi.
One thing I noticed while creating the package and maybe it is worth taking this upstream.
Currently the Makefile tries to add the group keyd to /etc/group with make install.[0] Which is in itself a no go for creating a distribution package. Creating a package could possibly be change the base system (if the whole thing weren't running in a fakeroot). And the package manager wouldn't able to track such an added group.
And there is possibly a user/group missing for running this service. This can be dropped off to systemd via a file in /usr/lib/sysusers.d/. See for example how it is done for greetd[1][2].


[0] https://github.com/rvaiya/keyd/blob/7c4545b50cfced10766fad75939527347ded915f/Makefile#L69
[1] https://gitlab.archlinux.org/archlinux/packaging/packages/greetd/-/blob/main/PKGBUILD#L60
[2] https://gitlab.archlinux.org/archlinux/packaging/packages/greetd/-/blob/main/greetd.sysusers