<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: On over-engineering</title>
	<atom:link href="http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/feed/" rel="self" type="application/rss+xml" />
	<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/</link>
	<description>Linux hacker, recovering mathematician, former athlete</description>
	<lastBuildDate>Wed, 25 Aug 2010 23:50:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: roland</title>
		<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/comment-page-1/#comment-641</link>
		<dc:creator>roland</dc:creator>
		<pubDate>Thu, 25 Dec 2008 15:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://digitalvampire.org/blog/?p=60#comment-641</guid>
		<description>@Adam: Sadly, not in this case.  Look at the bug I link to and check out who the replies are coming from.</description>
		<content:encoded><![CDATA[<p>@Adam: Sadly, not in this case.  Look at the bug I link to and check out who the replies are coming from.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam G</title>
		<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/comment-page-1/#comment-640</link>
		<dc:creator>Adam G</dc:creator>
		<pubDate>Thu, 25 Dec 2008 02:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://digitalvampire.org/blog/?p=60#comment-640</guid>
		<description>I blame idiots doing bug triage. If you can get the attention of someone who actually does work (not the copy and paste brigade), they&#039;ll probably agree to the sensible thing you propose.</description>
		<content:encoded><![CDATA[<p>I blame idiots doing bug triage. If you can get the attention of someone who actually does work (not the copy and paste brigade), they&#8217;ll probably agree to the sensible thing you propose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Nicholson</title>
		<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/comment-page-1/#comment-615</link>
		<dc:creator>Dan Nicholson</dc:creator>
		<pubDate>Thu, 20 Nov 2008 20:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://digitalvampire.org/blog/?p=60#comment-615</guid>
		<description>I don&#039;t see why both ways can&#039;t be used. For a desktop user who is only going to use gui tools to access the device, then having HAL and PolicyKit manage the interaction is probably a smart way to go since it can handle much finer grained permissions like knowing whether the accessing user is in an active session or not.

But certainly every tool is not going to grow PolicyKit integration, so setting reasonable Unix ACLs seems wise. After all, this is already how most devices are handled, like CDs and USB devices. Saying that RDMA access is either root or via PolicyKit just denies a class of users for no apparent reason.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t see why both ways can&#8217;t be used. For a desktop user who is only going to use gui tools to access the device, then having HAL and PolicyKit manage the interaction is probably a smart way to go since it can handle much finer grained permissions like knowing whether the accessing user is in an active session or not.</p>
<p>But certainly every tool is not going to grow PolicyKit integration, so setting reasonable Unix ACLs seems wise. After all, this is already how most devices are handled, like CDs and USB devices. Saying that RDMA access is either root or via PolicyKit just denies a class of users for no apparent reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/comment-page-1/#comment-613</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Thu, 20 Nov 2008 05:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://digitalvampire.org/blog/?p=60#comment-613</guid>
		<description>Ya. That seems a bit backwards from my understanding of the purpose behind policykit and such.

The idea I have is that you have some daemons that are operating under different privileges from end users and then you have policykit setup as a way to manage permissions of users interacting with those daemons via dbus IPC.

This way you can hide a big hunk of code running with extra permissions behind a audited dbus interface, eliminate the need for end users to be granted extra permissions that they only need for certain tasks, and make it easy for administrators to manage those permissions through standard interface.

So if your users have a specific task, and you want to take advantage of policykit,  then you create a daemon to perform that task on their behalf and have those users communicate with that daemon through dbus.

Now if you want to allow a certain class of users general use of certain files or devices then going through policykit to manage file system permissions is a bit perverse.</description>
		<content:encoded><![CDATA[<p>Ya. That seems a bit backwards from my understanding of the purpose behind policykit and such.</p>
<p>The idea I have is that you have some daemons that are operating under different privileges from end users and then you have policykit setup as a way to manage permissions of users interacting with those daemons via dbus IPC.</p>
<p>This way you can hide a big hunk of code running with extra permissions behind a audited dbus interface, eliminate the need for end users to be granted extra permissions that they only need for certain tasks, and make it easy for administrators to manage those permissions through standard interface.</p>
<p>So if your users have a specific task, and you want to take advantage of policykit,  then you create a daemon to perform that task on their behalf and have those users communicate with that daemon through dbus.</p>
<p>Now if you want to allow a certain class of users general use of certain files or devices then going through policykit to manage file system permissions is a bit perverse.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roland</title>
		<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/comment-page-1/#comment-611</link>
		<dc:creator>roland</dc:creator>
		<pubDate>Wed, 19 Nov 2008 23:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://digitalvampire.org/blog/?p=60#comment-611</guid>
		<description>@jh: yes, the end result is that I give up on fixing this for Ubuntu.  Debian and others have the right group permissions in their udev rules already, and I don&#039;t have the energy to fight anyone who doesn&#039;t want me to help.

@Tomasz/@Anonymous: being morbidly curious I did lshal on a system with the rdma_ucm module loaded (so the /dev/infiniband/rdma_cm node existed).  And I don&#039;t see anything in the output that looks related to rdma_cm.  So specifying permissions with hal/PolicyKit is going to be a lot of &quot;fun.&quot;

And the whole ConsoleKit/PolicyKit/hal thing is just stupid anyway for systems where users log in remotely (or submit batch jobs through a queuing system), as you point out.</description>
		<content:encoded><![CDATA[<p>@jh: yes, the end result is that I give up on fixing this for Ubuntu.  Debian and others have the right group permissions in their udev rules already, and I don&#8217;t have the energy to fight anyone who doesn&#8217;t want me to help.</p>
<p>@Tomasz/@Anonymous: being morbidly curious I did lshal on a system with the rdma_ucm module loaded (so the /dev/infiniband/rdma_cm node existed).  And I don&#8217;t see anything in the output that looks related to rdma_cm.  So specifying permissions with hal/PolicyKit is going to be a lot of &#8220;fun.&#8221;</p>
<p>And the whole ConsoleKit/PolicyKit/hal thing is just stupid anyway for systems where users log in remotely (or submit batch jobs through a queuing system), as you point out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/comment-page-1/#comment-610</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 19 Nov 2008 22:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://digitalvampire.org/blog/?p=60#comment-610</guid>
		<description>just add something to /usr/share/hal/fdi/policy/10osvendor/20-acl-management.fdi

if Ubuntu uses that.

For Fedora that file can be made set the perms for each logged in user and also does the right thing on fast user switch.</description>
		<content:encoded><![CDATA[<p>just add something to /usr/share/hal/fdi/policy/10osvendor/20-acl-management.fdi</p>
<p>if Ubuntu uses that.</p>
<p>For Fedora that file can be made set the perms for each logged in user and also does the right thing on fast user switch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomasz</title>
		<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/comment-page-1/#comment-608</link>
		<dc:creator>Tomasz</dc:creator>
		<pubDate>Wed, 19 Nov 2008 19:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://digitalvampire.org/blog/?p=60#comment-608</guid>
		<description>First, it&#039;s typical experience with Ubuntu bugs... month of waiting for useless answer.

For the second. Well welcome to the future. PolicyKit with hal (to be replace with DeviceKit) is the new way, pushed by major distributions, of managing permissions. But now it&#039;s generally used for multiuser desktop (along with ConsoleKit tracking active users), not for servers with remote logins, where group-based permissions should be used. Good luck with explaining that in launchpad. I bet you won&#039;t have it resolved thsi year.</description>
		<content:encoded><![CDATA[<p>First, it&#8217;s typical experience with Ubuntu bugs&#8230; month of waiting for useless answer.</p>
<p>For the second. Well welcome to the future. PolicyKit with hal (to be replace with DeviceKit) is the new way, pushed by major distributions, of managing permissions. But now it&#8217;s generally used for multiuser desktop (along with ConsoleKit tracking active users), not for servers with remote logins, where group-based permissions should be used. Good luck with explaining that in launchpad. I bet you won&#8217;t have it resolved thsi year.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jh</title>
		<link>http://digitalvampire.org/blog/index.php/2008/11/19/on-over-engineering/comment-page-1/#comment-607</link>
		<dc:creator>jh</dc:creator>
		<pubDate>Wed, 19 Nov 2008 18:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://digitalvampire.org/blog/?p=60#comment-607</guid>
		<description>and that&#039;s why you never use a OS built by children. there are much more sane distro&#039;s that do the right thing rather than the trendy.</description>
		<content:encoded><![CDATA[<p>and that&#8217;s why you never use a OS built by children. there are much more sane distro&#8217;s that do the right thing rather than the trendy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
