<?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>openSUSE Lizards &#187; Andreas Stieger</title>
	<atom:link href="http://lizards.opensuse.org/author/andreasstieger/feed/" rel="self" type="application/rss+xml" />
	<link>http://lizards.opensuse.org</link>
	<description>Blogs and Ramblings of the openSUSE Members</description>
	<lastBuildDate>Tue, 07 Feb 2012 11:48:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>subversion with libserf</title>
		<link>http://lizards.opensuse.org/2011/04/26/subversion-with-libserf/</link>
		<comments>http://lizards.opensuse.org/2011/04/26/subversion-with-libserf/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 22:09:05 +0000</pubDate>
		<dc:creator>Andreas Stieger</dc:creator>
				<category><![CDATA[Packaging]]></category>

		<guid isPermaLink="false">http://lizards.opensuse.org/?p=7242</guid>
		<description><![CDATA[I packaged subversion to built against libserf in addition to neon. This adds a second repository access module to handle http and https schemes with potential improvements. To enable, install the packages from my home repository and adjust your ~/.subversion/servers file: [global] http-library = serf Beyond this, the package tracks the package from devel:tools:scm:svn.]]></description>
			<content:encoded><![CDATA[<p>I packaged subversion to built against <a href="http://code.google.com/p/serf/">libserf</a> in addition to neon. This adds a second repository access module to handle http and https schemes with potential improvements. To enable, install the packages from my <a href="http://download.opensuse.org/repositories/home:/AndreasStieger/">home repository</a> and adjust your <code>~/.subversion/servers</code> file:</p>
<p><code><br />
[global]<br />
http-library = serf<br />
</code></p>
<p>Beyond this, the package tracks the <a href="https://build.opensuse.org/package/show?package=subversion&amp;project=devel%3Atools%3Ascm%3Asvn">package</a> from <a href="https://build.opensuse.org/project/show?project=devel%3Atools%3Ascm%3Asvn">devel:tools:scm:svn</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lizards.opensuse.org/2011/04/26/subversion-with-libserf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>license implications when packaging TrueCrypt</title>
		<link>http://lizards.opensuse.org/2011/03/06/license-implications-when-packaging-truecrypt/</link>
		<comments>http://lizards.opensuse.org/2011/03/06/license-implications-when-packaging-truecrypt/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 13:42:45 +0000</pubDate>
		<dc:creator>Andreas Stieger</dc:creator>
				<category><![CDATA[Packaging]]></category>

		<guid isPermaLink="false">http://lizards.opensuse.org/?p=6736</guid>
		<description><![CDATA[license implications when packaging non-OSI approved software TrueCrypt for openSUSE]]></description>
			<content:encoded><![CDATA[<p>I use an encrypted USB stick to carry credentials and data for production servers I look after when I&#8217;m on call. One requirement was portability between my work (Windows) and home (GNU/Linux) desktops, so <a href="http://www.truecrypt.org/">TrueCrypt</a> came to mind. I <a href="http://en.opensuse.org/Portal:Packaging">packaged</a> it all up an applied some patches to fix compiler issues and warnings. The <a href="http://www.truecrypt.org/legal/license">TrueCrypt license</a>, however, is not <a href="http://www.opensource.org/licenses/index.html">OSI-approved</a>, and as such the program cannot be built in the <a href="http://en.opensuse.org/Portal:Build_Service">openSUSE build service</a> (see <a href="http://en.opensuse.org/openSUSE:Build_Service_application_blacklist">blacklist</a>, <a href="http://lists.opensuse.org/opensuse-buildservice/2008-10/msg00055.html">discussion</a>).</p>
<p>I almost forgot about the whole thing until I upgraded the package for new dependencies in the upcoming release of openSUSE 11.4. I talked with people over at <a href="http://packman.links2linux.org/">packman</a>, a popular 3rd-party repository for software not included in openSUSE proper for one reason or another. We analysed the license a bit and concluded that if we shipped binaries built from non-pristine sources, the product would have to be re-branded as per the requirements of their license. I am usually pragmatic about these things as long as FLOSS and non-FLOSS licences can be adhered to, but didn&#8217;t want to go the route <a href="http://en.wikipedia.org/wiki/Mozilla_Corporation_software_rebranded_by_the_Debian_project">Debian took with Firefox</a> et al.</p>
<p>We contacted the TrueCrypt developers on this issue, we&#8217;ll see what comes out of that. Until then, if someone wants to build this package, here is what you need:</p>
<p><a href="http://paste.opensuse.org/57235480">truecrypt.spec</a><br />
<a href="http://paste.opensuse.org/97571864">truecrypt.desktop</a><br />
<a href="http://paste.opensuse.org/31118229">truecrypt-tc_token_err.patch</a><br />
<a href="http://paste.opensuse.org/32381059">truecrypt-NULL_PTR-redefinition-warning.patch</a><br />
<a href="http://paste.opensuse.org/89997853">truecrypt-undefined-operation-warning.patch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lizards.opensuse.org/2011/03/06/license-implications-when-packaging-truecrypt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>irssi on freenode with SSL verification</title>
		<link>http://lizards.opensuse.org/2010/01/30/irssi-on-freenode-with-ssl-verification/</link>
		<comments>http://lizards.opensuse.org/2010/01/30/irssi-on-freenode-with-ssl-verification/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 23:25:55 +0000</pubDate>
		<dc:creator>Andreas Stieger</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://lizards.opensuse.org/?p=3152</guid>
		<description><![CDATA[Those of you who frequent openSUSE&#8217;s support channels on freenode might be interested to know that with the ircd SSL encryption in now available. However some users had problems verifying the SSL certificate on connection when using irssi. Here is an example working server configuration section for your ~/.irssi/config: address = "chat.freenode.net"; chatnet = "freenode"; port [...]]]></description>
			<content:encoded><![CDATA[<p>Those of you who frequent <a href="http://en.opensuse.org/Communicate/IRC">openSUSE&#8217;s support channels</a> on <a href="http://freenode.net">freenode</a> might be interested to know that with the <a href="http://blog.freenode.net/2010/01/freenode-is-dead-long-live-freenode/">ircd</a> SSL encryption in now available. However some users had problems verifying the SSL certificate on connection when using irssi. Here is an example working server configuration section for your ~/.irssi/config: </p>
<p><code>address = "chat.freenode.net";<br />
chatnet = "freenode";<br />
port = "7000";<br />
use_ssl = "yes";<br />
ssl_verify = "yes";<br />
ssl_capath = "/etc/ssl/certs";</code></p>
]]></content:encoded>
			<wfw:commentRss>http://lizards.opensuse.org/2010/01/30/irssi-on-freenode-with-ssl-verification/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>suspend to disk with encrypted root file system on lvm</title>
		<link>http://lizards.opensuse.org/2009/07/13/suspend-to-disk-with-encrypted-root-file-system-on-lvm/</link>
		<comments>http://lizards.opensuse.org/2009/07/13/suspend-to-disk-with-encrypted-root-file-system-on-lvm/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 21:08:35 +0000</pubDate>
		<dc:creator>Andreas Stieger</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://lizards.opensuse.org/?p=1475</guid>
		<description><![CDATA[To make suspend to disk work with an encrypted root file system and swap on lvm on luks, add "luks" to the "#%depends:" line in /lib/mkinitrd/scripts/boot-lvm2.sh and recreate the initial ramdisk.]]></description>
			<content:encoded><![CDATA[<p><strong>Suspend to disk </strong>a.k.a. <strong>Hybernation</strong> doesn&#8217;t quite work when running openSUSE in an <strong>encrypted root</strong> file system and swap on <a href="http://en.wikipedia.org/wiki/Linux_Unified_Key_Setup">LUKS</a> on<strong> <a href="http://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)">LVM</a></strong>, as with <a href="http://lizards.opensuse.org/2009/03/18/encrypted-root-file-system-on-lvm/">Ludwig Nussel&#8217;s instructions</a>. The system is not able to resume from the swap area, because the initial ramdisk opens the lvm system before the luks. This results in only root logical volume being opened at that time, but not the swap volume. A regular boot follows.</p>
<p>Here&#8217;s the mkinitd boot scripts (or their symlinks, rather) in question:</p>
<p><code>$ ls -1 /lib/mkinitrd/boot<br />
...<br />
61-lvm2.sh<br />
71-luks.sh<br />
...</code></p>
<p>Until all this is <a href="https://features.opensuse.org/305633">properly supported</a>, here is a quirk to make it work: Make the lvm2 initrd boot script depend on the luks one*.</p>
<p>Edit <code>/lib/mkinitrd/scripts/boot-lvm2.sh</code> (this is what 61-lvm2.sh points to) and change the third line from<br />
<code>#%depends: evms</code><br />
to<br />
<code>#%depends: evms luks</code></p>
<p>Recreate the initrd.<br />
<code>$ cp -iv /boot/mkinitrd /boot/mkinitrd.backup<br />
$ mkinitrd</code></p>
<p>You will notice that the symlinks were renamed now:<br />
<code>71-luks.sh<br />
72-lvm2.sh</code></p>
<p>No try suspending to disk, you should be prompted for your luks password and resume from disk should work.</p>
<p><code> $ s2disk</code></p>
<p>*This of course assumes that you only have lvm devices inside luks, not the other way around. It&#8217;s not too hard to have both -  simply duplicate and adjust the luks script and run one instance before and one after lvm.</p>
]]></content:encoded>
			<wfw:commentRss>http://lizards.opensuse.org/2009/07/13/suspend-to-disk-with-encrypted-root-file-system-on-lvm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

