[systemd-devel] logind device access weird behavior

2025-04-01 Thread serenissi
I noticed a phenomenon about logind managed devices (drm node). I have two users, localuser and testuser, the former has a session in seat0 (this is important). I attached drm card1 to new seat `seat1` and set 777 permission to the dev node /dev/dri/card1. Now the acl looks like # file: dev/dr

Re: [systemd-devel] logind device access weird behavior

2025-04-01 Thread Mantas Mikulėnas
It sounds as if your original user is in the "video" group, so it receives the 'group' permissions and not 'other' permissions. (They are not additive in the POSIX model like they would be in Windows.) Even though the device node had no specific ACL entries, it still *had* an ACL in general, so th

Re: [systemd-devel] repart: Value too large for defined data type

2025-04-01 Thread Thayne Harbaugh
On Thu, 2025-01-09 at 14:47 -0700, Thayne Harbaugh wrote: I *finally* got back around to investigating the below EOVERFLOW failure - additional details in-line: > I have a mkosi build that is failing with the following message: > >   >$ mkosi build >   ... >   /var/tmp/.#repart020c1a929b048b02 s

Re: [systemd-devel] logind device access weird behavior

2025-04-01 Thread serenissi
Right! Stupid me. It just occurred to me that it is debian (which adds local users to video) and `group::---` looks sus. I spun up the vm to confirm and saw this reply in my inbox. Thanks! ~serene On 4/1/25 19:36, Mantas Mikulėnas wrote: It sounds as if your original user is in the "video" gro