[systemd-devel] user service dependency on udev's uaccess rules

Michael Kilburn crusader.mike at gmail.com
Sun Nov 24 18:35:46 UTC 2024


Hi,

OS: Pop!_OS 22.04 LTS (Debian-based distro). User service (fluidsynth)
fails to start on user login:

ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed:
Permission denied

because at that moment that device's ACL was not updated yet (to grant
access to the user being logged in).

When an active user logs in udev executes rules stored in
/lib/udev/rules.d/70-uaccess.rules (via 73-seat-late.rules) to grant that
user access to local devices (like soundcard, etc).

Is there a way to express this dependency between user service and
completion of execution of udev rules?

Or (if this is a wrong approach) -- what is the correct way to deal with
this?

Regards,
Michael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20241124/feced191/attachment.htm>


More information about the systemd-devel mailing list