[systemd-devel] [udev] Scanner rule not applied during boot

Lennart Poettering lennart at poettering.net
Tue Oct 20 18:05:28 UTC 2020


On Di, 20.10.20 18:47, Marcin Kocur (marcin2006 at gmail.com) wrote:

> I don't how how this uaccess tag works, but I can assume that my scanner
> which is libsane_matched (as set by
> /usr/lib/udev/rules.d/49-sane.rules) gets ACL permission added somewhere
> later thanks to this uaccess tag.
>
> The question is if it works on manual trigger, why doesn't on boot time?

Devices that are marked with "uaccess" get an ACL installed that
always points to the user who owns the foreground session. This should
be applied whenever you log in or switch foreground session.

If this doesn't work at login time there must be something borked with
your display manager, or possibly systemd-logind.

Which systemd version is this? Which distro? Which display manager?

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list