Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385677 - x11-misc/colord-0.1.13 bump, disable polkit, add patch for at_console authorization
Summary: x11-misc/colord-0.1.13 bump, disable polkit, add patch for at_console authori...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-05 00:29 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-10-19 05:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-05 00:29:28 UTC
colord-0.1.13 is out.

It appears that when colord is run as non-root user (as is the case on gentoo), using polkit for colord authentication does not work quite as intented, leading to authorization failures under gnome-3.2 [1] and a much degraded user experience (no color management for printers or monitors). See https://bugs.launchpad.net/ubuntu/+source/colord/+bug/837851 for Ubuntu's discussion on this topic.

Fortunately, the Ubuntu people had developed a simple solution: build colord without polkit support (this required a patch in colord-0.1.12, but now works out of the box in colord-0.1.13) and instead modify the dbus service config file (/etc/dbus-1/system.d/org.freedesktop.ColorManager.conf) to allow access for at_console and root, so that colord behaves the same as when running as root and using the default upstream polkit policy.

I have tested colord-0.1.13 with this setup on two different machines with gnome-3.2, and it appears to work correctly, unlike 0.1.12 (or unpatched 0.1.13).

Colord-0.1.13 with ubuntu patches and with polkit disabled is in the gnome overlay: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=tree;f=x11-misc/colord

[1]: typical example:
color-plugin-WARNING **: failed to create device: GDBus.Error:org.freedesktop.ColorManager.Failed: could not check org.freedesktop.color-manager.create-device for auth: GDBus.Error:org.freedesktop.PolicyKit1.Error.NotAuthorized: Only trusted callers (e.g. uid 0) can use CheckAuthorization() for subjects belonging to other identities
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-19 05:04:46 UTC
Moved colord-0.1.13 from overlay to gx86.