Summary: | rules for devices on this seat / other seat interact poorly with systemd user-sessions | ||
---|---|---|---|
Product: | udisks | Reporter: | Simon McVittie <smcv> |
Component: | general | Assignee: | Martin Pitt <martin.pitt> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | bugzilla |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Decide whether devices are on the same seat by uid, not pid |
Description
Simon McVittie
2015-03-09 12:27:11 UTC
Created attachment 114161 [details] [review] Decide whether devices are on the same seat by uid, not pid (long commit message omitted here, see the actual patch) --- This is what I propose to do if my assumptions are correct. This is a respin of the patch on the Debian bug, correcting some minor things my colleague Philip Withnall spotted: I'll test this one next. (In reply to Simon McVittie from comment #1) > This is what I propose to do if my assumptions are correct. This is a respin > of the patch on the Debian bug, correcting some minor things my colleague > Philip Withnall spotted: I'll test this one next. That patch appears to work fine, so I would very much appreciate an opinion on whether this is the right direction to be going / a reasonable representation of udisks' security model, even if there isn't time for a detailed review of the implementation right now. See also Bug #76358, which is a similar thing in polkit, and David Hermann's message at <http://lists.freedesktop.org/archives/systemd-devel/2015-March/029322.html>. Based on David's feedback, I'm going to ship this patch in Debian soon, unless someone from udisks has a reason to veto it. Sorry for the delay! I agree that this makes sense in an user bus world, and I don't see a realistic breakage in the session bus world too. Applied, thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.