Re: [PATCH] avoid race condition in gvfs monitors when multiple users logged in



В Fri, 24 May 2013 10:36:49 -0700
David Zeuthen <zeuthen gmail com> пишет:
I'm not going to
comment on your actual patch except to say that it's wrong on a number
of levels and it's a gross hack to "solve" this problem by avoiding to
emit signals.
Avoiding to emit all signals maybe a wrong way, but automatic mounting a
device into inactive session looks very weird. I prefer a usable
solution instead of right solution, sorry.

I'm not sure what your setup is like, but for your
information GNOME w/ udisks2 works just fine on multiple seats - only
sessions on the seat where the hardware is plugged in, will see
the device.
One seat (at least in logind terms) with multiple sessions on it (on
different vts). Just comfortable for shared home box. With this patch
it works fine: the device is automagically mounted for user who have
active vt with Xorg.

And only the active session on a seat is authorized to mount
the device.
But it appears a polkit auth dialog in inactive session and operation
is in pending state in all other sessions until this dialog cancelled.
Looks completely unusable.

-- 
Regards,
Anton


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]