This forum has been archived. All content is frozen. Please use KDE Discuss instead.

udev/uaccess maybe not working?

Tags: None
(comma "," separated)
yosa
Registered Member
Posts
4
Karma
0

udev/uaccess maybe not working?

Sun Aug 15, 2021 2:15 pm
Hi all.

First: I'm on neon/focal/unstable (which I'm generally quite happy with - thanks for the work!).

Since about 2 days I lost access to basically everything seat related (sound, USB gadgets, removable storage). As far as I can tell, udev's builtin 'uaccess' is not setting ACLs. I have modified one of my udev rules (the one from Solaar [https://github.com/pwr-Solaar/Solaar], to be more precise) to use MODE/GROUP (in addition to TAG+="uaccess", TAG+="udev-acl") - with this I can access the device as expected (through plugdev group membership), ACLs are not set at all, however.

I'm very happy to dig deeper - any suggestions are welcome.

Cheers.
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: udev/uaccess maybe not working?

Sun Aug 15, 2021 4:41 pm
Hi!

You can use the `udevadm` tool to perform tests, monitor and/or trigger events. That should get you some exact error messages to handle.
yosa
Registered Member
Posts
4
Karma
0

Re: udev/uaccess maybe not working?

Sun Aug 15, 2021 5:40 pm
Thanks (und Grüße)

I tried the whole udevadm dance. It does RUN 'uaccess' - just to be informed that it retains the ownership (which is root/0600 without MODE/GROUP setting as described above).

Y.

P.S.: I didn't try any of the other now "missing" sub-systems as long as I have the "Solaar" target (which is a Logitech unifying receiver) ...
yosa
Registered Member
Posts
4
Karma
0
For testing I switched temporarily to GDM3 - et voilà, everything is back.

So, it seems to be an issue with SDDM (I assume, it was the update on Aug 13th to sddm;0.19.0+p20.04+tunstable+git20210813.0153-0). I can't see anything obvious in the logs.
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: udev/uaccess maybe not working?

Mon Aug 16, 2021 1:51 pm
You could check the changes login scripts. Does the --login change lead to problems due to default tools triggered by .bashrc/.profile/.whatever? Can you try login with a fresh added user?
User avatar
apachelogger
KDE Developer
Posts
525
Karma
5
OS


Annoyed with bbcode since 1999.
yosa
Registered Member
Posts
4
Karma
0

Re: udev/uaccess maybe not working?

Tue Aug 17, 2021 10:42 am
apachelogger wrote:https://github.com/sddm/sddm/pull/1437 should address this


Kudos!


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]