Created attachment 89608 [details] 0001-pkexec-Work-around-systemd-injecting-broken-XDG_RUNT.patch This workaround isn't too much code, and it's often better to fix bugs in two places anyways. For more information: See https://bugzilla.redhat.com/show_bug.cgi?id=753882 See http://lists.freedesktop.org/archives/systemd-devel/2013-November/014370.html
One nit, the bugzilla link in the patch is wrong.
Comment on attachment 89608 [details] 0001-pkexec-Work-around-systemd-injecting-broken-XDG_RUNT.patch ACK on the patch in general.
Sorry, confused... The function comment should lead to https://bugzilla.redhat.com/show_bug.cgi?id=753882 . Stylistically I'd prefer the function to express the predicate that is true when it returns TRUE, e.g. xdg_runtime_dir_is_valid().
(In reply to comment #3) > The function comment should lead to > https://bugzilla.redhat.com/show_bug.cgi?id=753882 . Oops, too many Bugzilla tabs open, fixed. > Stylistically I'd prefer the function to express the predicate that is true > when it returns TRUE, e.g. xdg_runtime_dir_is_valid(). I called it xdg_runtime_dir_is_owned_by() which seems even clearer. Thanks for the review!
http://cgit.freedesktop.org/polkit/commit/?id=8635ffc16aeff6a07d675f861fe0dea03ea81d7e
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.