<?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/"
	>

<channel>
	<title>Ed Baskerville &#187; xgridlite</title>
	<atom:link href="http://edbaskerville.com/category/xgridlite/feed/" rel="self" type="application/rss+xml" />
	<link>http://edbaskerville.com</link>
	<description>Yes, that&#039;s the default photo.</description>
	<lastBuildDate>Tue, 18 Aug 2009 01:26:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>XgridLite: Dual Tiger/Leopard Functionality?</title>
		<link>http://edbaskerville.com/2009/02/03/xgridlite-dual-tigerleopard-functionality/</link>
		<comments>http://edbaskerville.com/2009/02/03/xgridlite-dual-tigerleopard-functionality/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 02:44:03 +0000</pubDate>
		<dc:creator>ed</dc:creator>
				<category><![CDATA[xgridlite]]></category>

		<guid isPermaLink="false">http://code.edbaskerville.com/?p=83</guid>
		<description><![CDATA[After confirmation that things seem to work for others on Leopard, I went through and tried to make sure it would work on Tiger again too. I don&#8217;t have time to set up a Tiger test box right now, so &#8230; <a href="http://edbaskerville.com/2009/02/03/xgridlite-dual-tigerleopard-functionality/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After confirmation that things seem to work for others on Leopard, I went through and tried to make sure it would work on Tiger again too. I don&#8217;t have time to set up a Tiger test box right now, so I&#8217;d appreciate it someone who has a Tiger box would test this updated version:</p>
<p><a href="http://code.edbaskerville.com/xgridlite/XgridLite.prefPane.zip">XgridLite.prefPane.zip</a></p>
<p>Post your success/lack thereof in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://edbaskerville.com/2009/02/03/xgridlite-dual-tigerleopard-functionality/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XgridLite on Leopard, Test Version</title>
		<link>http://edbaskerville.com/2009/01/31/xgridlite-on-leopard-test-version/</link>
		<comments>http://edbaskerville.com/2009/01/31/xgridlite-on-leopard-test-version/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 21:05:21 +0000</pubDate>
		<dc:creator>ed</dc:creator>
				<category><![CDATA[xgridlite]]></category>

		<guid isPermaLink="false">http://code.edbaskerville.com/?p=81</guid>
		<description><![CDATA[After debugging some weirdness, I have a version of XgridLite that works on Leopard, I think. Brave testers, download this file: XgridLite.prefPane.zip Then decompress and drag the prefPane into your /Library/PreferencePanes or ~/Library/PreferencePanes Let me know how it goes! FYI, &#8230; <a href="http://edbaskerville.com/2009/01/31/xgridlite-on-leopard-test-version/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After debugging some weirdness, I have a version of XgridLite that works on Leopard, I think. Brave testers, download this file:</p>
<p><a href="http://code.edbaskerville.com/xgridlite/XgridLite.prefPane.zip">XgridLite.prefPane.zip</a></p>
<p>Then decompress and drag the prefPane into your /Library/PreferencePanes or ~/Library/PreferencePanes</p>
<p>Let me know how it goes!</p>
<p>FYI, the weirdness I ran into goes something like this (as described in a message I just sent to the xgrid-users mailing list):</p>
<blockquote><p>Hi everyone (particularly Apple folks),</p>
<p>After being out of the loop for a while, I finally got around to getting XgridLite working on Leopard. (Test version about to be posted at code.edbaskerville.com, official release probably by Monday.)</p>
<p>In doing so, I ran into one weirdness that I thought someone might be able to explain. XgridLite simply calls xgridctl to get and set controller state, which seems simple enough. In Tiger, it was sufficient to do this as root using a setuid tool.</p>
<p>In Leopard, however, I found that status calls always returned that the controller was off:</p>
<p>daemon              state               pid<br />
======              =====               ===<br />
xgridcontrollerd    stopped</p>
<p>This was happening inside the setuid tool even when querying it via sudo as a regular user worked fine:</p>
<p>Agnos:~ ebaskerv$ sudo xgridctl c status<br />
daemon              state               pid<br />
======              =====               ===<br />
xgridcontrollerd    running             12656</p>
<p>To get to the bottom of this, I activated the root user on my system and tried it from a root shell, and, sure enough, I&#8217;m being told the controller is stopped:</p>
<p>sh-3.2# xgridctl c status<br />
daemon              state               pid<br />
======              =====               ===<br />
xgridcontrollerd    stopped</p>
<p>Miraculously, though, if you run xgridctl via sudo as root, all is fine:</p>
<p>sh-3.2# sudo xgridctl c status<br />
daemon              state               pid<br />
======              =====               ===<br />
xgridcontrollerd    running             12656</p>
<p>This gave me the workaround I needed: run xgridctl via sudo as root inside XgridLite. But I still have no idea *why* this is happening, so I&#8217;m writing purely out of curiosity. Why is it that running xgridctl status via sudo gives the correct status, while running as root directly does not? One more wrinkle: running xgridctl c start/stop seem to work fine inside my setuid tool (WITHOUT running via sudo), but do NOT work via a root shell!</p>
<p>Any wisdom would be appreciated.</p>
<p>Thanks,<br />
Ed</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://edbaskerville.com/2009/01/31/xgridlite-on-leopard-test-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XgridLite on Leopard, continued&#8230;</title>
		<link>http://edbaskerville.com/2008/10/12/xgridlite-on-leopard-continued/</link>
		<comments>http://edbaskerville.com/2008/10/12/xgridlite-on-leopard-continued/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 05:41:02 +0000</pubDate>
		<dc:creator>ed</dc:creator>
				<category><![CDATA[xgridlite]]></category>

		<guid isPermaLink="false">http://code.edbaskerville.com/?p=79</guid>
		<description><![CDATA[As it turns out, the privilege failure mentioned in the last post was not being reported by the calls to xgridctl to start and stop the controller, but rather the ones that were trying to simply get what the current &#8230; <a href="http://edbaskerville.com/2008/10/12/xgridlite-on-leopard-continued/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As it turns out, the privilege failure mentioned in the last post was not being reported by the calls to <code>xgridctl</code> to start and stop the controller, but rather the ones that were trying to simply get what the current status was. In Leopard, you <strong>always</strong> need to run <code>xgridctl</code> as root, even just to get status.</p>
<p>However, when I recoded the status-getting code to use the privileged tool to do its work, it&#8217;s reporting that the controller is off when doing <code>xgridctl c status</code> at the command line reports that it&#8217;s running. One more roadblock, but this should be the last one. Given how my weeks go, it probably won&#8217;t be until next weekend (a long one, fall break).</p>
]]></content:encoded>
			<wfw:commentRss>http://edbaskerville.com/2008/10/12/xgridlite-on-leopard-continued/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>XgridLite on Leopard: almost there, hopefully</title>
		<link>http://edbaskerville.com/2008/10/11/xgridlite-on-leopard-almost-there-hopefully/</link>
		<comments>http://edbaskerville.com/2008/10/11/xgridlite-on-leopard-almost-there-hopefully/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 06:23:22 +0000</pubDate>
		<dc:creator>ed</dc:creator>
				<category><![CDATA[xgridlite]]></category>

		<guid isPermaLink="false">http://code.edbaskerville.com/?p=77</guid>
		<description><![CDATA[To those who have been requesting that XgridLite start working on Leopard: first of all, sorry it&#8217;s taken so long for me to think about it. I didn&#8217;t even upgrade myself to Leopard until the middle of this year, and &#8230; <a href="http://edbaskerville.com/2008/10/11/xgridlite-on-leopard-almost-there-hopefully/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To those who have been requesting that XgridLite start working on Leopard: first of all, sorry it&#8217;s taken so long for me to think about it. I didn&#8217;t even upgrade myself to Leopard until the middle of this year, and since then I&#8217;ve been pretty busy working, touring with my band, and finally starting a new life as an ecology grad student. The good news is that being a grad student means I&#8217;ll be running simulations again soon, so I&#8217;m selfishly motivated to have a working XgridLite on my machine.</p>
<p>I finally popped open the code after a long hiatus and tried it out. I was hoping the problem would just be a simple problem like the controller argument syntax changed, but I got this message in the console log:</p>
<p><code>ERROR: you must be running with root privileges</code></p>
<p>This is the same message you get when you run <code>xgridctl c start</code> as a regular user from the command line. So the mechanism I used to run as root under Tiger is clearly not working under Leopard. Perhaps this is related to the new security mechanisms (which I know nothing about) that Apple added.</p>
<p>I&#8217;ll try to tackle this tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://edbaskerville.com/2008/10/11/xgridlite-on-leopard-almost-there-hopefully/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XgridLite 1.0.2 Source Posted</title>
		<link>http://edbaskerville.com/2006/12/17/xgridlite-102-source-posted/</link>
		<comments>http://edbaskerville.com/2006/12/17/xgridlite-102-source-posted/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 00:54:39 +0000</pubDate>
		<dc:creator>ed</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[xgridlite]]></category>

		<guid isPermaLink="false">http://code.edbaskerville.com/2006/12/17/xgridlite-102-source-posted/</guid>
		<description><![CDATA[Spurred by an increasing devotion to free information and free culture and because I don&#8217;t want to write an automatic license-generation engine, I&#8217;m releasing XgridLite under the GNU GPL. Code available via WebSVN or just via: svn co http://code.edbaskerville.com/svn/xgridlite]]></description>
			<content:encoded><![CDATA[<p>Spurred by an increasing devotion to free information and free culture and because I don&#8217;t want to write an automatic license-generation engine, I&#8217;m releasing XgridLite under the GNU GPL. Code available via <a href="http://code.edbaskerville.com/websvn/listing.php?repname=XgridLite">WebSVN</a> or just via:</p>
<p><code>svn co http://code.edbaskerville.com/svn/xgridlite</code></p>
]]></content:encoded>
			<wfw:commentRss>http://edbaskerville.com/2006/12/17/xgridlite-102-source-posted/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
