Bug#780004: udisks2: rules for devices on this seat / other seat interact poorly with dbus-user-session

2015-03-09 Thread Simon McVittie
Control: forwarded 780004 https://bugs.freedesktop.org/show_bug.cgi?id=89501 On Sun, 08 Mar 2015 at 13:50:07 +, Simon McVittie wrote: Here is a possible patch. Not tagging it +patch just yet because I'd like to get a second opinion on this before we commit to it as API, either from a

Bug#780004: udisks2: rules for devices on this seat / other seat interact poorly with dbus-user-session

2015-03-08 Thread Simon McVittie
On 07/03/15 23:43, Simon McVittie wrote: One possibility for fixing this would be to change the pseudocode to this: let device_seat = device-seat if (device_seat) { for session in requesting uid's active sessions { if session-seat session-seat == device_seat {

Bug#780004: udisks2: rules for devices on this seat / other seat interact poorly with dbus-user-session

2015-03-07 Thread Simon McVittie
Package: udisks2 Version: 2.1.3-5 Severity: normal Tags: upstream udisks2's logic for whether I may do something to a device looks like this pseudocode: let requesting_seat = requesting process - session - seat let device_seat = device - seat if (device_seat requesting_seat