Re: [systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread David Herrmann
Hi On Wed, May 28, 2014 at 11:07 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, May 28, 2014 at 09:22:23PM +0200, Floris wrote: >> Op Wed, 28 May 2014 20:38:17 +0200 schreef Mantas Mikulėnas >> : >> >> > >> >So the seat assignment works fine – gdm is added to the ACL. >> > >> >The problem is th

Re: [systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 28, 2014 at 09:22:23PM +0200, Floris wrote: > Op Wed, 28 May 2014 20:38:17 +0200 schreef Mantas Mikulėnas > : > > > > >So the seat assignment works fine – gdm is added to the ACL. > > > >The problem is that the devnode is *world-readable*. > > and how can we fix this? It has "always"

Re: [systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread Floris
Op Wed, 28 May 2014 20:38:17 +0200 schreef Mantas Mikulėnas : So the seat assignment works fine – gdm is added to the ACL. The problem is that the devnode is *world-readable*. and how can we fix this? tia, floris___ systemd-devel mailing list s

Re: [systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread Mantas Mikulėnas
So the seat assignment works fine – gdm is added to the ACL. The problem is that the devnode is *world-readable*. -- Mantas Mikulėnas On May 28, 2014 8:57 PM, "Floris" wrote: > Op Wed, 28 May 2014 19:06:22 +0200 schreef Zbigniew Jędrzejewski-Szmek < > zbys...@in.waw.pl>: > > On Wed, May 28,

Re: [systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread Floris
Op Wed, 28 May 2014 19:06:22 +0200 schreef Zbigniew Jędrzejewski-Szmek : On Wed, May 28, 2014 at 05:45:01PM +0200, Floris wrote: >Are you logged in as the same user on both seats? > Nobody is logged in on seat1 >I think the difference is that with `jstest`, the device doesn't >interact with

Re: [systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 28, 2014 at 05:45:01PM +0200, Floris wrote: > >Are you logged in as the same user on both seats? > > > > Nobody is logged in on seat1 > > >I think the difference is that with `jstest`, the device doesn't > >interact with your seat, but *you* are interacting directly with its > >device

Re: [systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread Floris
Are you logged in as the same user on both seats? Nobody is logged in on seat1 I think the difference is that with `jstest`, the device doesn't interact with your seat, but *you* are interacting directly with its device node, so the only thing that's checked is devnode permissions... When

Re: [systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread Mantas Mikulėnas
On Wed, May 28, 2014 at 5:28 PM, Floris wrote: > Hey, > > I have created an udev rule for an usb hub with "loginctl attach" so every > device I plug-in will go to seat1 > $cat /etc/udev/rules.d/72-seat-usb-pci-_00_1a_0-usb-0_1_4.rules > TAG=="seat", ENV{ID_FOR_SEAT}=="usb-pci-_00_1a_0-usb-

[systemd-devel] joystick doesn't respect seat rule

2014-05-28 Thread Floris
Hey, I have created an udev rule for an usb hub with "loginctl attach" so every device I plug-in will go to seat1 $cat /etc/udev/rules.d/72-seat-usb-pci-_00_1a_0-usb-0_1_4.rules TAG=="seat", ENV{ID_FOR_SEAT}=="usb-pci-_00_1a_0-usb-0_1_4", ENV{ID_SEAT}="seat1" Nevertheless, when I p