<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Patryk Zawadzki &#187; PolicyKit</title>
	<atom:link href="http://blogs.gnome.org/patrys/category/policykit/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/patrys</link>
	<description>Tales of a whining gnome</description>
	<lastBuildDate>Mon, 14 Mar 2011 01:23:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/pl/</creativeCommons:license>		<item>
		<title>Happy hamsters</title>
		<link>http://blogs.gnome.org/patrys/2008/08/05/happy-hamsters/</link>
		<comments>http://blogs.gnome.org/patrys/2008/08/05/happy-hamsters/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 10:40:14 +0000</pubDate>
		<dc:creator>patrys</dc:creator>
				<category><![CDATA[Empathy]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[PolicyKit]]></category>
		<category><![CDATA[Project Hamster]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/patrys/2008/08/05/happy-hamsters/</guid>
		<description><![CDATA[Project Hamster is now part of GNOME! Along with Empathy and some blessed external dependencies. Do not underestimate them however for they are some truly powerful libs including libcanberra, Clutter, Conduit and PolicyKit. Some new pains are now (temporarily) part of my life. As PH&#8217;s father, Toms, is away I am the one responsible for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://live.gnome.org/ProjectHamster">Project Hamster</a> is now <a href="http://mail.gnome.org/archives/devel-announce-list/2008-August/msg00001.html">part of GNOME</a>! Along with Empathy and some blessed external dependencies. Do not underestimate them however for they are some truly powerful libs including libcanberra, Clutter, Conduit and PolicyKit.</p>
<p>Some new pains are now (temporarily) part of my life. As PH&#8217;s father, Toms, is away I am the one responsible for the SVN migration, releasing 2.23.6 and cooperating with i18n and a11y teams. I think we should start by making the stats accessible but I&#8217;ll concentrate on moving to GNOME infrastructure for now. Hope the rest of the team gets their SVN accounts up and running soon.</p>
<p>As for Empathy, great stuff. If you like it as much as I do, you can help me convince Xavier to <a href="http://bugzilla.gnome.org/show_bug.cgi?id=545678">make it a bit prettier and more readable</a>. Hooray for lobbying!</p>
<p><strong>Edit:</strong> hamster-applet 2.23.6 is out, following the upcoming GNOME 2.23.6 release.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/patrys/2008/08/05/happy-hamsters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A good example of a bad trend</title>
		<link>http://blogs.gnome.org/patrys/2008/06/24/a-good-example-of-a-bad-trend/</link>
		<comments>http://blogs.gnome.org/patrys/2008/06/24/a-good-example-of-a-bad-trend/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 09:59:58 +0000</pubDate>
		<dc:creator>patrys</dc:creator>
				<category><![CDATA[ConsoleKit]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[PolicyKit]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/patrys/2008/06/24/a-good-example-of-a-bad-trend/</guid>
		<description><![CDATA[To add an example to my last note, here&#8217;s what happened recently. One user posted the following: I&#8217;ve noticed FOO desktop is no longer able to mount removable drives. I get the following: org.freedesktop.hal.storage.mount-removable no &#60;-- (action, result ) What do I do? And here&#8217;s the proposed solution: Just edit /etc/PolicyKit/PolicyKit.conf and add the following [...]]]></description>
			<content:encoded><![CDATA[<p>To add an example to <a href="http://blogs.gnome.org/patrys/2008/06/23/why-forums-are-a-bad-way-to-help-the-community/">my last note</a>, here&#8217;s what happened recently.</p>
<p>One user posted the following:</p>
<blockquote><p>I&#8217;ve noticed FOO desktop is no longer able to mount removable drives. I get the following:</p>
<pre>org.freedesktop.hal.storage.mount-removable no &lt;-- (action, result )</pre>
<p>What do I do?</p>
</blockquote>
<p>And here&#8217;s the proposed solution:</p>
<blockquote><p>Just edit <code>/etc/PolicyKit/PolicyKit.conf</code> and add the following part:</p>
<pre>&lt;match action="org.freedesktop.hal.*"&gt;
&lt;return result="yes"/&gt;
&lt;/match&gt;</pre>
</blockquote>
<p>And they lived happily ever after, right? Wrong. This is a great example of why asking the uneducated crowd to help you solve technical challenges is the best way to shoot yourself in the foot.</p>
<p>I doesn&#8217;t take rocket surgery to figure out that PolicyKit won&#8217;t allow certain actions to be accessed by certain users. In this case it only allows <em>active local sessions</em> to <em>mount removable volumes</em>. What constitutes an active local session? A session logged in locally (which is the case) and connected to ConsoleKit (which is not the case since FOO desktop environment does not seem to use ConsoleKit).</p>
<p>Now if the user asked in the proper place (file a bug or send the question to the proper mailing list) instead of the forums there would be two good answers:</p>
<ul>
<li>Teach FOO desktop how to register itself with ConsoleKit (by fixing the code or using means of <code>pam_consolekit</code>)</li>
<li>Tell PolicyKit to allow certain users to access the action (<code>polkit-auth --user foo --grant org.freedesktop.hal.storage.mount-removable</code>)</li>
</ul>
<p>Now do you see the problem? The original thread in a more illustrative form: <q>if my aunt comes to visit and she does not have the keys, how does she come in?</q> <q>Oh, that&#8217;s easy, just remove the locks.</q></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/patrys/2008/06/24/a-good-example-of-a-bad-trend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/patrys/category/policykit/feed/ ) in 1.21059 seconds, on Feb 11th, 2012 at 7:50 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 11th, 2012 at 8:50 pm UTC -->
