mooltipass / moolticute

Mooltipass crossplatform daemon/tools
GNU General Public License v3.0
143 stars 67 forks source link

Start working on doc for udev rule on non systemd linux #1094

Closed bobsaintcool closed 1 year ago

bobsaintcool commented 1 year ago

see[0].

[0] https://github.com/mooltipass/mooltipass-udev/pull/3#issuecomment-1329915978

bobsaintcool commented 1 year ago

Not tested, just inspiration for https://github.com/mooltipass/mooltipass-udev/pull/3#issuecomment-1329915978

limpkin commented 1 year ago

I'm OK to merge this as it is... simply give me the go ahead :)

bobsaintcool commented 1 year ago

Thanks, i'll wait until the weekend hopefully @PoroCYon can provide feedback as I don't have the environment to test

PoroCYon commented 1 year ago

It looks fine to me, though I'd change the wording/fix the spelling a bit:

Note: For Linux systems without systemd (eg. Gentoo, Void Linux), please refer to [this section](#non-systemd-linux).
##### Linux without systemd

The main [udev rules](https://aur.archlinux.org/packages/mooltipass-udev/)
rely on integration between systemd, systemd-login and systemd-udevd
to automatically allow any user logged in to access mooltipass devices.
This will not works on devices without systemd, one
workaround is to change the `TAG+="uaccess"` to
`GROUP="plugdev"` and add your interactive user to this group.

See [this issue](https://github.com/mooltipass/mooltipass-udev/pull/3) for more information and a possible patch.

(I wouldn't refer to my packages here, as those are specific to Void Linux, and also don't yet exist fully.)

bobsaintcool commented 1 year ago

Thanks for you review.

@limpkin I believe we are good to go on my side

limpkin commented 1 year ago

thanks everyone :)