<?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>Lunar Linux</title>
	<atom:link href="http://www.lunar-linux.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lunar-linux.org</link>
	<description>It&#039;s out of this world!</description>
	<lastBuildDate>Wed, 22 Feb 2012 02:27:09 +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>Lunar-Linux module site facelift</title>
		<link>http://striker.blogs.lunar-linux.org/2012/02/20/module-site-facelift/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=module-site-facelift</link>
		<comments>http://striker.blogs.lunar-linux.org/2012/02/20/module-site-facelift/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 22:55:07 +0000</pubDate>
		<dc:creator>Striker</dc:creator>
				<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://2.12</guid>
		<description><![CDATA[<p>Just in case nobody noticed, the <a title="Lunar-Linux Module Site" href="http://modules.lunar-linux.org/" target="_blank">Module Site</a> has received a much-needed face-lift, which uses the base template for the main <a class="zem_slink" title="Lunar Linux" href="http://www.lunar-linux.org" rel="homepage">Lunar-Linux</a> website. Some minor changes were also made to improve the overall speed and HTML-correctness since some areas actually had broken markup. The site&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 185px"><a href="http://commons.wikipedia.org/wiki/File:Apollo_11_Lunar_Module_Eagle_in_landing_configuration_in_lunar_orbit_from_the_Command_and_Service_Module_Columbia.jpg"><img class="zemanta-img-inserted zemanta-img-configured" title="English: The Apollo 11 Lunar Module Eagle, in ..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Apollo_11_Lunar_Module_Eagle_in_landing_configuration_in_lunar_orbit_from_the_Command_and_Service_Module_Columbia.jpg/300px-Apollo_11_Lunar_Module_Eagle_in_landing_configuration_in_lunar_orbit_from_the_Command_and_Service_Module_Columbia.jpg" alt="English: The Apollo 11 Lunar Module Eagle, in ..." width="175" /></a><p class="wp-caption-text">A Lunar Module (Wikipedia)</p></div>
<p>Just in case nobody noticed, the <a title="Lunar-Linux Module Site" href="http://modules.lunar-linux.org/" target="_blank">Module Site</a> has received a much-needed face-lift, which uses the base template for the main <a class="zem_slink" title="Lunar Linux" href="http://www.lunar-linux.org" rel="homepage">Lunar-Linux</a> website. Some minor changes were also made to improve the overall speed and HTML-correctness since some areas actually had broken markup. The site&#8217;s URL scheme was also updated to be more search-engine friendly and proper 404 pages/headers were added where needed. The color scheme and table layout remains, but this may change in the near future as I decide where I would like to go with things. Caching and compression is the next priority, as some dependency pages can take longer than wanted to generate and render.</p>
<p>Beyond that, the wiki and other sites may also receive the same treatment. The screenshots site also leaves a lot to be desired since no work went into the template after the Gallery update, but I am considering migrating it into the main website as a sub-blog. There are various good and bad things about that idea, though. If anyone has ideas, suggestions, grievances, etc. please feel free to share them.</p>
<p>Ever been curious about Lunar&#8217;s <a href="http://modules.lunar-linux.org/statistics/" target="_blank">module statistics</a>? Wonder no more.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="float: right;" src="http://img.zemanta.com/zemified_e.png?x-id=e7a7339b-4e91-4d73-a245-cd675377be7d" alt="Enhanced by Zemanta" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://striker.blogs.lunar-linux.org/2012/02/20/module-site-facelift/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lunar and network scripts</title>
		<link>http://dveatch.blogs.lunar-linux.org/2012/01/11/lunar-and-network-scripts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lunar-and-network-scripts</link>
		<comments>http://dveatch.blogs.lunar-linux.org/2012/01/11/lunar-and-network-scripts/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 17:29:03 +0000</pubDate>
		<dc:creator>dveatch</dc:creator>
				<category><![CDATA[Cogitations]]></category>

		<guid isPermaLink="false">http://4.16</guid>
		<description><![CDATA[<p>From the occasional IRC chats regarding the current state of our network scripts. Alternatives have been proposed such as;</p> Retain the basic concepts of the current scripts and improve them to handle additional network connection types. In general just make them better than their current state. Switch to wicd. Switch to NetworkManager Switch to connman [...]]]></description>
			<content:encoded><![CDATA[<p>From the occasional IRC chats regarding the current state of our network scripts. Alternatives have been proposed such as;</p>
<ol>
<li>Retain the basic concepts of the current scripts and improve them to handle additional network connection types. In general just make them better than their current state.</li>
<li>Switch to wicd.</li>
<li>Switch to NetworkManager</li>
<li>Switch to connman</li>
</ol>
<p>Item one sounds the most appealing since another application would not need adding to the ISO. Well that would be true if only the very basic of network connectivity is desired out of the box such as Ethernet and WiFi. Anything more like VPN and PPPoE will of course need adding to the default ISO. Staying with our own scripts does allow us some flexibility. A good example was a thought by Ratler to move away from the use of ifconfig and friends to iputils.</p>
<p>Wicd has some possibilities. I have used it in the past and for the simple setups I needed, it worked fine. However compared to Item three and four I do not know how well it stacks up with more complicated networks. If their Home page is correct it still does not support PPPoE/DSL.</p>
<p>The NetworkManager has never given me a warm fuzzy. Why I cannot say especially since I have never used it; it is what it is. Perhaps it is in the past I have tried to compile it with the aim of adding it to moonbase. Well there is a show stopper. Color me a newb but I cannot get past this configure error;</p>
<p style="padding-left: 30px"><strong>Your distribution (lunar linux) is not yet supported!  (patches welcome)</strong></p>
<p>Being the bright newb that I am the most obvious thing to try is this; &#8211;with-distro=none or some variant; nope. OK, what about &#8211;without-distro; nope. Now this confuses me since Mr. William claims it can be turned off; <a href="http://blogs.gnome.org/dcbw/2009/06/25/networkmanager-and-connman/">NetworkManager and ConnMan</a>. Perhaps I am being a dunderhead and not seeing the obvious. Let&#8217;s suppose that is not the case and a distro name must be supplied. Let me say it is not like our networking scripts change that often (ahem) but would any dev want to fiddle with sending them patches?</p>
<p>An alternative to maintaining a patch set specifically for them to incorporate we could <em>, shudder</em>, make our  /etc directory structure to fit one of the distros they do support. Some of you should know my position about such things as I have responded to some in IRC. On occasion we get a visitor and in short thrift begins to comment/complain why Lunar does not do $SOMETHING like $DISTRO. I need not comment further.</p>
<p>Now on to connman. Compared to NetworkManager it is less distro dependent and we do not need deal with restructuring /etc to fit some $DISTRO. AFAICT it does support more different types of network connections than wicd.</p>
<p>It seems to me we only have two real choices; rewrite our scripts or connman. On the former it could well be that we would need to restructure /etc in some fashion. That would tend to reduce (though not a lot) the negative I see with NetworkManager.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://dveatch.blogs.lunar-linux.org/2012/01/11/lunar-and-network-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Look!</title>
		<link>http://www.lunar-linux.org/2012/01/06/new-look/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-look</link>
		<comments>http://www.lunar-linux.org/2012/01/06/new-look/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 04:41:07 +0000</pubDate>
		<dc:creator>Striker</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.lunar-linux.org/?p=142</guid>
		<description><![CDATA[<p>Hopefully it&#8217;s quite obvious that the website has changed just a bit. This is because of our migration over to <a class="zem_slink" title="WordPress" href="http://wordpress.org" rel="homepage">WordPress</a> from <a class="zem_slink" title="Joomla" href="http://www.joomla.org/" rel="homepage">Joomla</a>, which was brought about due to a number of factors:</p> Easier to maintain once set up Easier to keep updated &#38; migrate to new [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 210px"><a href="http://www.flickr.com/photos/36642717@N00/276380757"><img class="zemanta-img-inserted zemanta-img-configured" title="WordPress" src="http://farm1.static.flickr.com/107/276380757_1ac950f28f_m.jpg" alt="WordPress" width="200" /></a><p class="wp-caption-text">Image by Adriano Gasparri via Flickr</p></div>
<p>Hopefully it&#8217;s quite obvious that the website has changed just a bit. This is because of our migration over to <a class="zem_slink" title="WordPress" href="http://wordpress.org" rel="homepage">WordPress</a> from <a class="zem_slink" title="Joomla" href="http://www.joomla.org/" rel="homepage">Joomla</a>, which was brought about due to a number of factors:</p>
<ul>
<li>Easier to maintain once set up</li>
<li>Easier to keep updated &amp; migrate to new versions</li>
<li>Better selection of ready-made themes and plugins</li>
</ul>
<p>Our site has been rather stale for a time, as we had not seen a fresh post since August, 2010 for the release of 1.6.5 however this was largely due to the main site only being used for news announcements and releases. Since our development team is rather small and the nature of Lunar-Linux&#8217;s moonbase of rolling updates without the need of a full release, new articles on the site had been few and far between. To liven things up, we decided it would be nice to have developers or users contribute articles by turning our main site into a &#8220;planet&#8221; of sorts.</p>
<p><span id="more-142"></span> As you will see (or already have), posts will be aggregated from other blogs belonging to our developers and perhaps a few users. The first of which is <a href="http://wdp.blogs.lunar-linux.org/" target="_blank">Jean Bruenn</a>, also known as &#8220;wdp&#8221; in our IRC channel who is a long-time contributor, mirror provider, and now one of our developers. <a href="http://jeanbruenn.info/about/" target="_blank">Jean&#8217;s personal blog</a> is where most of his posts originate, along side his own musings.</p>
<p>We are aware of some known issues about the migration. We weren&#8217;t able to bring over comments, but there were not many to begin with, so this should not be too much of a concern. Some articles or pages may have formatting issues, but we should be cleaning those up soon. Also of note, some new redirects have been made, some removed, others changed. Should you spot any issues that need our attention, please submit a bug report (yes, the website is on there) and let us know.</p>
<p>Lastly, if you would like your very own blog here, drop us a line on the <a title="Mailing Lists" href="http://www.lunar-linux.org/mailing-lists/">mailing lists</a>, or via IRC.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="float: right;" src="http://img.zemanta.com/zemified_e.png?x-id=1b2322e8-6585-40a0-b052-52e3f1228656" alt="Enhanced by Zemanta" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lunar-linux.org/2012/01/06/new-look/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A `lunar update` trick</title>
		<link>http://dveatch.blogs.lunar-linux.org/2012/01/06/hello-world/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hello-world-2</link>
		<comments>http://dveatch.blogs.lunar-linux.org/2012/01/06/hello-world/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 03:01:23 +0000</pubDate>
		<dc:creator>dveatch</dc:creator>
				<category><![CDATA[Cogitations]]></category>

		<guid isPermaLink="false">http://4.1</guid>
		<description><![CDATA[<p>There are many things I love about Lunar and here is a little trick that might save you some time.</p> <p>When `lunar update` is run it will of course sort through the modules installed on your system and present you with an editable list. As a Lunar developer, often times I know a module in [...]]]></description>
			<content:encoded><![CDATA[<p>There are many things I love about Lunar and here is a little trick that might save you some time.</p>
<p>When `lunar update` is run it will of course sort through the modules installed on your system and present you with an editable list. As a Lunar developer, often times I know a module in that list will fail its build because an optional dependency has changed. Sometimes I forget this until staring at the list and think &#8220;Oh poo, I know that one will fail&#8221;.</p>
<p>My first option might be to let the update run and tidy things up later. My second option might be; do a Ctrl C, then `lin -rc $MODULE` and rerun the update.  Yes, we are aware Lunar can do a better job of figuring out when a modules optional dependencies have been changed (it is on our ToDo list).</p>
<p>To say the least, interrupting an update is a bit annoying. So if you want to reconfigure the optional depends of a module while in edit mode, just add &#8220;-rc&#8221; to the beginning of that modules line. Using phonon as an example, just make it look like this;</p>
<p style="padding-left: 30px"><strong>-rc phonon</strong></p>
<p>And that&#8217;s it. Once the list is saved, Lunar will ask you again which optional depends it should use.</p>
]]></content:encoded>
			<wfw:commentRss>http://dveatch.blogs.lunar-linux.org/2012/01/06/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handling renamed modules &#8211; An idea</title>
		<link>http://wdp.blogs.lunar-linux.org/2011/10/15/handling-renamed-modules-an-idea/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=handling-renamed-modules-an-idea</link>
		<comments>http://wdp.blogs.lunar-linux.org/2011/10/15/handling-renamed-modules-an-idea/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 02:34:27 +0000</pubDate>
		<dc:creator>wdp</dc:creator>
				<category><![CDATA[the daily insanity]]></category>

		<guid isPermaLink="false">http://3.20</guid>
		<description><![CDATA[<p>A few days ago we had a little discussion on IRC how to handle renamed modules (once again). Due to the renamed KDE modules a few users had a broken Box because Lunar Linux isn’t keeping track of renamed modules – So, if a module gets renamed it looks like the module got removed and [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago we had a little discussion on IRC how to handle renamed modules (once again). Due to the renamed KDE modules a few users had a broken Box because Lunar Linux isn’t keeping track of renamed modules – So, if a module gets renamed it looks like the module got removed and nobody knows how the new module might be called, except he’s searching for that. That leads to a lot of missing modules after an update.<br />
<span id="more-100"></span><br />
zbiggy suggested the use of a table to keep track of such modules, his idea got rejected, tho. To read more about his initial idea/implementation <a href="http://foo-projects.org/pipermail/lunar-dev/2011-August/007323.html">take a look at this mail</a>.</p>
<p>However, we still need a solution to handle renamed modules better than we do currently, so I came up with the following snippets:</p>
<p><strong>Patch 1 to /var/lib/lunar/functions/modules.lunar</strong></p>
<pre>368a369,381
&gt; # function : module_superseeded
&gt; # usage    : module_superseeded $MODULE
&gt; # purpose  : checks if $MODULE is superseeded by another MODULE
&gt; # return   : returns 0 if superseeded, 255 else
&gt; module_superseeded() {
&gt;   if run_details $1 &amp;&gt;/dev/null ; then
&gt;     if [ ! -z "$SUPERSEEDED" ]; then
&gt;       return 0;
&gt;     fi
&gt;   fi
&gt;   return 255
&gt; }
&gt;
546a560,572
&gt;       fi
&gt;     else
&gt;       # run_details $MODULE worked; thus the module is installed
&gt;       # let's check if it got renamed.
&gt;       if module_superseeded $MODULE ; then
&gt;         message
&gt; "${MODULE_COLOR}$MODULE${DEFAULT_COLOR}${MESSAGE_COLOR} got renamed to
&gt; ${MODULE_COLOR}$SUPERSEEDED${DEFAULT_COLOR}";
&gt;         if query "Do you want to switch to
&gt; ${MODULE_COLOR}$SUPERSEEDED${DEFAULT_COLOR}${MESSAGE_COLOR} ?" y ; then
&gt;           lrm $MODULE
&gt;           lin $SUPERSEEDED
&gt;           continue
&gt;         else
&gt;           message
&gt; "${MODULE_COLOR}$MODULE${DEFAULT_COLOR}${MESSAGE_COLOR} is kept and can
&gt; be renamed manually later${DEFAULT_COLOR}";
&gt;         fi</pre>
<p><strong>Patch 2 to /sbin/lin</strong></p>
<pre>142a143,146
&gt;           elif module_superseeded $MODULE ; then
&gt;             error_message
&gt; "${LRM_COLOR}Notice:${DEFAULT_COLOR}${MESSAGE_COLOR} The module is
&gt; superseeded by
&gt; ${MODULE_COLOR}$SUPERSEEDED${DEFAULT_COLOR}${MESSAGE_COLOR}";
&gt;             error_message "please lin that one
&gt; instead.${DEFAULT_COLOR}"
&gt;             continue</pre>
<p>Remember, the goal was to keep it very simple. The above code changes the way, developers have to handle modules (if they rename them) a little bit. They have to set the SUPERSEEDED flag in DETAILS file to get it working. The devs I talked to have been okay with this approach.</p>
<p><strong>Example:</strong><br />
renamed gcc to wdp-rulez</p>
<pre>[lunar] root@lunar /var/lib/lunar/moonbase/compilers # purge_modules
+ Discovering modules that were removed from moonbase
flash-plugin-10 was removed from /var/lib/lunar/moonbase
flash-plugin-10: Do you want to remove flash-plugin-10 ? [y] n
flash-plugin-10 is kept and can be removed manually later
gcc got renamed to wdp-rulez
gcc: Do you want to switch to wdp-rulez ? [y] n
gcc is kept and can be renamed manually later
[lunar] root@lunar /var/lib/lunar/moonbase/compilers #</pre>
<p>For devs handling of modules changes to this:</p>
<p>The proper way to handle renamed modules is now:</p>
<ol>
<li>Copy the module to it’s new place and rename the copy.<br />
<em>e.g: cp -rva compilers/gcc compilers/newgcc</em></li>
<li>Move the old one to zdeprecated<br />
<em>e.g: mv compilers/gcc zdeprecated/gcc</em></li>
<li>Remove everything _except_ DETAILS from zdeprecated/gcc/*</li>
<li>Add: SUPERSEEDED=newgcc to DETAILS<br />
<em>e.g: echo “SUPERSEEDED=newgcc” &gt;&gt; zdeprecated/gcc/DETAILS</em></li>
</ol>
<p>El_Angelo suggested that we make sure that people can’t lin/get<br />
the new module if they “lin” the old one.</p>
<p>Example:</p>
<pre>root@lunar ~ # lin gcc
+ Spawning download manager
+ download queue:   gcc
Notice: The module is superseeded by  wdp-rulez
please lin that one instead.
root@lunar ~ #</pre>
<p>That way we’re making sure, that nobody installs a package which<br />
is superseeded by another.</p>
<p>Let’s see whether this will go into Lunar <img src='http://www.blogs.lunar-linux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://wdp.blogs.lunar-linux.org/2011/10/15/handling-renamed-modules-an-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Systemd &amp; Connman</title>
		<link>http://wdp.blogs.lunar-linux.org/2011/08/04/systemd-connman/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=systemd-connman</link>
		<comments>http://wdp.blogs.lunar-linux.org/2011/08/04/systemd-connman/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 02:24:15 +0000</pubDate>
		<dc:creator>wdp</dc:creator>
				<category><![CDATA[the daily insanity]]></category>

		<guid isPermaLink="false">http://3.11</guid>
		<description><![CDATA[<p>I wrote about a possible switch of the init-system in Lunar Linux some time ago. Today I’ll  show you how to replace your init-system with systemd and connman in Lunar Linux.<br /> <br /> First of all, systemd needs some kernel-options which you should enable. Some of them are optional, however, most of them are [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote about a possible switch of the init-system in Lunar Linux some time ago. Today I’ll  show you how to replace your init-system with systemd and connman in Lunar Linux.<br />
<span id="more-85"></span><br />
First of all, systemd needs some kernel-options which you should enable. Some of them are optional, however, most of them are recommended. So I’m starting with lin -cr linux-2.6 and I’m configuring the Kernel. You should make sure you have the following things enabled:</p>
<pre>CONFIG_DEVTMPFS=y
CONFIG_CGROUPS=y
CONFIG_AUTOFS4_FS=[y|m]
CONFIG_IPV6=[y|m]
CONFIG_RTC_DRV_CMOS=y
CONFIG_FANOTIFY=y
CONFIG_AUDIT=y</pre>
<p>AUDIT is not a requirenment. IPV6 is not a requirenment i.e. it’s recommended to have them, not needed though.</p>
<p>Now we can continue by installing systemd using the following command:</p>
<pre>lin systemd</pre>
<p>The installer will ask you, whether you want sysv-compatibility, for now you should say “yes”, because of a few reasons. For example networking wouldn’t work correctly without it, as of writing this article. If it asks you whether you want cryptsetup keep in mind that this will install lvm2, which is not what I want, because I use device-mapper which would conflict with lvm2. So I’ll say “no”.</p>
<p><strong>Suggestion</strong>: If compilation fails because of some error get it compiled by saying “no” to libnotify.</p>
<p>The next step in our list is removing everything not-needed from /etc/fstab. /etc/fstab should ONLY contain your real drives. That means, comment /dev/pts comment /proc comment /var* and tmp.. My fstab looks like this:</p>
<pre>#UUID=83f6bd55-9686-46e2-b793-74a3e13332cd
/dev/sda1               /       ext4            defaults,noatime        0 1
#UUID=e66bbf62-783b-4276-b2f8-5bd05bbfd542
/dev/sda5               /home   ext4            defaults,relatime       0 2
/dev/sda2               swap    swap            defaults                0 0</pre>
<p>There’s NOTHING ELSE in /etc/fstab. Now you need to add a symlink from /proc/self/mounts to /etc/mtab. If you don’t, you’ll get:</p>
<pre>Aug  4 14:07:24 localhost kernel: systemd[1]: /etc/mtab is not a symlink or not pointing to /proc/self/mounts. This is not supported anymore. Please make sure to replace this file by a symlink to avoid incorrect or misleading mount(8) output.</pre>
<p>so just do:</p>
<pre>rm /etc/mtab &amp;&amp; ln -s /proc/self/mounts /etc/mtab</pre>
<h2>The stuff below, is already integrated into lunar linux</h2>
<p>That means, you don’t need to do this. This is just here, so you can see what I had to do when I initially tried to integrate it. However; Skip to &#8220;Migrating Services&#8221; below <img src='http://www.blogs.lunar-linux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can try systemd now by adding init=/sbin/systemd to your bootloader. I hope it’s starting as fine for you as for me. However. Let’s configure systemd now. First we should set a nice hostname, in case you haven’t set one yet.</p>
<pre>echo "yourhostname" &gt; /etc/hostname</pre>
<p>Now let’s configure console font and such stuff. Open /etc/vconsole.conf with your favorite editor and write something like this to it:</p>
<pre>KEYMAP=de
FONT=sun12x22
FONT_MAP=8859-15_to_uni</pre>
<p>As a little hint: You can check available keymaps in /usr/share/kbd/keymaps/. DE is german. You can check for available fonts in: /usr/share/kbd/consolefonts. I love this font. And the font maps are located in: /usr/share/kbd/consoletrans. 8859-15 is euro charset.</p>
<p>You can add the following to /etc/os-release:</p>
<pre>NAME=Lunarlinux
ID=lunar
PRETTY_NAME=Lunar Linux
ANSI_COLOR=1;34</pre>
<p>Usually you shouldn’t touch this, but as it doesn’t exist yet… Now add the locales:</p>
<pre>LANG=en_US.utf8
LC_COLLATE=C</pre>
<p>to /etc/locale.conf – I dislike german locales.. if you like them, replace en_US with de_DE. Basically this was it. You could play around with module blacklisting and loading now but that’ll be explained by me another time.</p>
<h2>Migrating services</h2>
<p>I hope you’re willing to improve Lunar Linux also – Issue:</p>
<pre>systemctl</pre>
<p>and scroll down. You’ll see some lines with “failed”. Please report them or try to find out, why they failed, try to fix them and let us know on IRC or by mail. Also take a look at those lines containing SYSV. Those are the compatibility-sysv-services which needs to be replaced i.e. we need to write a service for them. I’ll show you one example. You can help us to improve Lunar by mailing such services to us or by giving them to us on irc (using pastebin or something). Anyway. Let’s imagine we want to write a service for “slim” my favorite graphical login manager. First let’s go into /etc/systemd/system as it’s a system-service and not a user-service. Now open “slim.service” in your favorite text editor.</p>
<pre>[Unit]
Description=slim - simple login manager
Requires=dev-tty7.device
After=dev-tty7.device systemd-user-sessions.service

[Service]
ExecStart=/usr/bin/slim -nodaemon
Restart=always
StandardOutput=syslog

[Install]
WantedBy=graphical.target</pre>
<p>I guess, the stuff is pretty self-explaining. Now issue:</p>
<pre>systemctl enable slim.service</pre>
<p>And you’re done. That was all about it.</p>
<h2>Connman</h2>
<p>Currently we’re using some bash scripts and lnet to setup networking. Using connman this can be simplified a lot. El_Angelo and me are working on some GUI for connman right now, will take some time till it’s in moonbase. However, if you got a dhcp router connman should easily configure your wired network automatically – wireless lan should work also. If you have any trouble with connman ask us on IRC and we’ll try to help.</p>
<pre>lin -cr connman
mv /etc/init.d/network /etc/init.d/network.old
/etc/init.d/network.old stop
systemctl enable connman.service
systemctl start connman.service</pre>
<p>This will install connman, make a backup of your network init script i.e. if networking fails with connman just do /etc/init.d/network.old start, enable the service and start connman.</p>
<p>Check if /etc/resolv.conf is correct, check if ifconfig is correct, check if internet connectivity/network works. If yes – Try a reboot and check if your network comes up automatically.</p>
<p>For wlan, unpack the source (/var/spool/lunar/connman*) to /usr/src, switch into that directory, and there switch into the directory “test” within that folder, you’ll find a few test-tools which are handy to configure connman:</p>
<pre>./list-services</pre>
<p>find out your service (the part after /service/ starting with wifi_)</p>
<pre>./test-connman enable service</pre>
<p>(replace service with wifi_yourservice)</p>
<p>to enable the stuff. Now you can set the Passphrase:</p>
<pre>./test-connman passphrase service the-phrase</pre>
<p>(replace service again, and put in your phrase at the-phrase)</p>
<p>and you can try to enable autoconnect:</p>
<p>./test-connman passphrase service</p>
<p><strong>hint #1</strong><br />
dveatch reported that he dislikes iptables and that connman moaned because of some xtable thingy. A simple lin of iptables solved that issue for him.</p>
<p><strong>hint #2</strong><br />
we did some work on the wpa_supplicant module, it might well be that you have to relin it, so that it uses the new dbus interface and so that it has the nl80bla-driver enabled. even if you just use wired networking, connman might moan that it wants wpa_supplicant &#8211; So just install it using lin -cr wpa_supplicant.</p>
<h2>Switching to non-sysv-compat systemd</h2>
<p>Basically you just had to do the following: install systemd. boot with systemd. Migrate your services to systemd (at least the important ones), get connman working (thus our old network init script is not used anymore and your network works without sysvinit), reboot and check for any errors, solve them if possible and if there are any, recompile systemd without sysv-compatibility, reboot &#8211; done.</p>
]]></content:encoded>
			<wfw:commentRss>http://wdp.blogs.lunar-linux.org/2011/08/04/systemd-connman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating old lunar installations: Getting rid of hal</title>
		<link>http://wdp.blogs.lunar-linux.org/2011/07/29/updating-old-lunar-installations-getting-rid-of-hal/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=updating-old-lunar-installations-getting-rid-of-hal</link>
		<comments>http://wdp.blogs.lunar-linux.org/2011/07/29/updating-old-lunar-installations-getting-rid-of-hal/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 02:33:14 +0000</pubDate>
		<dc:creator>wdp</dc:creator>
				<category><![CDATA[the daily insanity]]></category>

		<guid isPermaLink="false">http://3.15</guid>
		<description><![CDATA[<p>As hal is deprecated now, most new-installations don’t have it anymore. My netbook still has it, so how do I get rid of it easily? Read on, if you want to know..<br /> </p> lrm hal-info hal for i in `lsh list_installed_depending hal`; do lin -cr "$i"; done lunar fixdepends lunar fix <p>lunar fixdepends might [...]]]></description>
			<content:encoded><![CDATA[<p>As hal is deprecated now, most new-installations don’t have it anymore. My netbook still has it, so how do I get rid of it easily? Read on, if you want to know..<br />
<span id="more-96"></span></p>
<pre>lrm hal-info hal
for i in `lsh list_installed_depending hal`; do lin -cr "$i"; done
lunar fixdepends
lunar fix</pre>
<p>lunar fixdepends might not be needed; however. Basically I’m removing hal-info and hal. Then I’m going through all modules which have hal as dependency and I’m relinning them using lin -cr (which will ask me everything again so I can say no to hal). Right after doing so, I’m running lunar fixdepends to re-create the dependency stuff and lunar fix to resolve any other issues which might be there due to the removal of hal.</p>
<p><strong>lsh</strong> is lunar’s internal .. well. let’s name it “lunar shell” which is just a shell with lunar functions. Those functions you’ll find in /var/lib/lunar/functions/. You can use them for quite useful stuff.</p>
<p><strong>Note</strong> for correct “dependency” order it would be better to have the dependencies in “one” line instead of doing that “for”. I.e.:</p>
<pre>MODULES=""; for i in `lsh list_installed_depending hal`; do   VAR=$(echo "$MODULES" | grep "$i"); if [ -z "$VAR" ]; then      MODULES="$MODULES $i";   fi; done</pre>
]]></content:encoded>
			<wfw:commentRss>http://wdp.blogs.lunar-linux.org/2011/07/29/updating-old-lunar-installations-getting-rid-of-hal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cache database for moonbase</title>
		<link>http://wdp.blogs.lunar-linux.org/2011/02/06/cache-database-for-moonbase/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cache-database-for-moonbase</link>
		<comments>http://wdp.blogs.lunar-linux.org/2011/02/06/cache-database-for-moonbase/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 02:12:45 +0000</pubDate>
		<dc:creator>wdp</dc:creator>
				<category><![CDATA[the daily insanity]]></category>

		<guid isPermaLink="false">http://3.5</guid>
		<description><![CDATA[<p>We&#8217;ve had a few talks regarding the use of a database to speed up some processing/end-user-tools. Let&#8217;s say &#8220;lvu search&#8221;, the module searching when issuing &#8220;lunar renew&#8221; (which should be module_expired() and run_details()). Also things like &#8220;lvu depends&#8221;. However. Lunar&#8217;s package management is as good as it is, because it&#8217;s easy. All you need to [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve had a few talks regarding the use of a database to speed up some processing/end-user-tools. Let&#8217;s say &#8220;lvu search&#8221;, the module searching when issuing &#8220;lunar renew&#8221; (which should be module_expired() and run_details()). Also things like &#8220;lvu depends&#8221;. However. Lunar&#8217;s package management is as good as it is, because it&#8217;s easy. All you need to know is Bash (and not even that correctly). The moonbase (the heart of our package management) resides in /var/lib/lunar/moonbase and contains categories, modules and bash scripts like DETAILS, DEPENDS, PRE_INSTALL just to name a few. Placing all this into a database would make it more difficult to play around with the package management and thats why some people would dislike a database and others would prefer one. And as a result we only talk about it, without doing anything. A year ago (April 2010) I started to work on a cached variant of moonbase, it works by syncing moonbase into a sqlite3 database and optionally using this database instead of the slow file-operations. Yesterday (February 2011) Ratler and I were improving the script I made a lot.<br />
<span id="more-83"></span><br />
The original script (version 0.1) took 15 minutes to do the initial sync and every other sync of moonbase with the db. Currently we’re at version 0.3 and the script takes around 18 seconds per sync on our test-environment. So this is a somewhat big improvement. However – The question which remains is: Is using sqlite really faster than using lunar&#8217;s tools (which use file-operations)? Let’s see:</p>
<p>sqlite</p>
<pre>time sqlite3 cache.db " select t1.id, t1.name, t2.category from lunar_modules t1 join lunar_modules_categories t2 on t1.category_id = t2.id where t2.category = 'shells';"

real    0m0.010s</pre>
<p>lunar’s tools</p>
<pre>time lvu section shells

real    0m0.093s</pre>
<p>Looks like sqlite is 9 times faster than the lunar-tools. That’s not bad at all. However, these are just some pseudo numbers, we’re working on a patch so that everyone can test that. There’s a todo list with this db:</p>
<ol>
<li>Implement dependency tracking</li>
<li>Write functions to do usual tasks (lvu depends, lvu where, lvu search, lvu website, lvu depends, get_all_modules, lvu expired, etc)</li>
<li>Write an entry in lunar features where users can enable this cached db optionally</li>
<li>Enhance the lunar tools (lvu, lin, lunar, etc) to use this database and the file-operations as fallback</li>
</ol>
<p>The good thing about this solution is: It’s just a starting point. We can enhance this as much as we want. While just using it to improve some simple things now, we can use it also for complex things in the future. Also: Any changes made is non intrusive to the old behavior, they would co-exist and sqlite would be optional if implemented.</p>
]]></content:encoded>
			<wfw:commentRss>http://wdp.blogs.lunar-linux.org/2011/02/06/cache-database-for-moonbase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lunar Linux 1.6.5 (i686 &amp; x86_64) ISO&#8217;s released</title>
		<link>http://www.lunar-linux.org/2010/08/22/lunar-linux-165-i686-a-x8664-isos-released/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lunar-linux-165-i686-a-x8664-isos-released</link>
		<comments>http://www.lunar-linux.org/2010/08/22/lunar-linux-165-i686-a-x8664-isos-released/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 07:56:43 +0000</pubDate>
		<dc:creator>ratler</dc:creator>
				<category><![CDATA[Stable Releases]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[x86]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://www.blogs.lunar-linux.org/2010/08/22/lunar-linux-165-i686-a-x8664-isos-released/</guid>
		<description><![CDATA[<p>Dear users,</p> <p>The Lunar team proudly announce the final release of Lunar Linux 1.6.5 codename &#8216;Mare Ingenii&#8217;!</p> <p>The last known issues with the ISO have been resolved. We added support for hybrid ISO in the last minute, which mean it&#8217;s a lot more easy to install lunar from an usb-stick from now on. The developers [...]]]></description>
			<content:encoded><![CDATA[<p>Dear users,</p>
<p>The Lunar team proudly announce the final release of Lunar Linux 1.6.5 codename &#8216;Mare Ingenii&#8217;!</p>
<p>The last known issues with the ISO have been resolved. We added support for hybrid ISO in the last minute, which mean it&#8217;s a lot more easy to install lunar from an usb-stick from now on. The developers are currently brainstorming and voting on ideas to further improve the state of Lunar, an announcement about this will be made later. We also plan to let our users, yes you, to chip in with ideas that will be up for voting within our community, but more on that later. Enjoy the release of Lunar 1.6.5!
</p>
</p>
<p>- The Lunar team</p>
<h3>New features in 1.6.5</h3>
<ul>
<li>Based on kernel 2.6.35.3 and glibc 2.11.2</li>
<li>Hybrid ISO support</li>
<li>Added support for EXT4 filesystem</li>
<li>Added option to change preferred /etc/fstab style; UUID, LABEL or device name</li>
<li>Openssh and screen is now part of the LiveCD to allow remote assistance during install</li>
</ul>
<p><span id="more-29"></span></p>
<p>Give us feedback through the <a href="http://bugs.lunar-linux.org/">bugtracker</a>. You can also inform us directly on <a href="irc://irc.freenode.net/lunar">IRC</a> and via our <a href="http://www.lunar-linux.org/index.php?option=com_content&#038;view=article&#038;id=25&#038;Itemid=68〈=en">mailing lists</a>, though the bug tracker is preferred.</p>
<h3>Summary of changes since 1.6.4:</h3>
<ul>
<li>Isolinux updated</li>
<li>All modules refreshed</li>
<li>Custom compilation of the kernel during install should once again be working</li>
<li>Pre-compiled kernels now properly generate an install and md5sum log</li>
<li>Added modules: yasm, gperf, libusb-compat, usbutils, xz, gmp, mpfr, cron-common, logrotate, rsyslog, iwlwifi-3945-ucode, iwlwifi-4965-ucode, iwlwifi-5000-ucode, screen, slang and mc</li>
<li>Removed modules: mktemp, lard and device-mapper</li>
<li>Grub2 tarball is available on the LiveCD for manual install</li>
<li>Fixed a few minor bugs with the installer</li>
<li>Rsyslog is now the new default syslog daemon</li>
<li>Wireless firmware available on the liveCD</li>
</ul>
<h3>Download here:</h3>
<h4>Mirror(s)</h4>
<ul>
<li><a href="http://www.lunar-linux.org/lunar/lunar-1.6.5-i686.iso.bz2">http://lunar-linux.org/lunar/lunar-1.6.5-i686.iso.bz2</a></li>
<li><a href="http://www.lunar-linux.org/lunar/lunar-1.6.5-x86_64.iso.bz2">http://lunar-linux.org/lunar/lunar-1.6.5-x86_64.iso.bz2</a></li>
</ul>
<h4>SHA1sums</h4>
<ul>
<li><a href="http://www.lunar-linux.org/lunar/lunar-1.6.5-i686.iso.bz2.sha1">http://lunar-linux.org/lunar/lunar-1.6.5-i686.iso.bz2.sha1</a></li>
<li><a href="http://www.lunar-linux.org/lunar/lunar-1.6.5-i686.iso.sha1">http://lunar-linux.org/lunar/lunar-1.6.5-i686.iso.sha1</a></li>
<li><a href="http://www.lunar-linux.org/lunar/lunar-1.6.5-x86_64.iso.bz2.sha1">http://lunar-linux.org/lunar/lunar-1.6.5-x86_64.iso.bz2.sha1</a></li>
<li><a href="http://www.lunar-linux.org/lunar/lunar-1.6.5-x86_64.iso.sha1">http://lunar-linux.org/lunar/lunar-1.6.5-x86_64.iso.sha1</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lunar-linux.org/2010/08/22/lunar-linux-165-i686-a-x8664-isos-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lunar Linux 1.6.5-rc1 (i686 &amp; x86-64) ISO&#8217;s released</title>
		<link>http://www.lunar-linux.org/2010/07/09/lunar-linux-165-rc1-i686-a-x86-64-isos-released/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lunar-linux-165-rc1-i686-a-x86-64-isos-released</link>
		<comments>http://www.lunar-linux.org/2010/07/09/lunar-linux-165-rc1-i686-a-x86-64-isos-released/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 07:21:46 +0000</pubDate>
		<dc:creator>ratler</dc:creator>
				<category><![CDATA[Release Candidates]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[rc]]></category>
		<category><![CDATA[x86]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://www.blogs.lunar-linux.org/2010/07/09/lunar-linux-165-rc1-i686-a-x86-64-isos-released/</guid>
		<description><![CDATA[<p>Dear users,</p> <p>The Lunar team proudly announce the release of Lunar Linux 1.6.5-rc1 codename &#8216;Mare Ingenii&#8217;!</p> <p>This project is still alive and we don&#8217;t intend to change that!</p> <p>While news and updates on our main site may have been next to nil we assure you that the wheels have been turning behind the scenes. The [...]]]></description>
			<content:encoded><![CDATA[<p>Dear users,</p>
<p>The Lunar team proudly announce the release of Lunar Linux 1.6.5-rc1 codename &#8216;Mare Ingenii&#8217;!</p>
<p>This project is still alive and we don&#8217;t intend to change that!</p>
<p>While news and updates on our main site may have been next to nil we assure you that the wheels have been turning behind the scenes. The Lunar team have been busy<br />
keeping the modules up to date. The new ISO is also a proof that we are still in the game. Come on and help us test 1.6.5-rc1 and don&#8217;t be afraid to give us suggestions on how to make Lunar even better!
</p>
</p>
<p>- The Lunar team</p>
<h3>New features in 1.6.5</h3>
<ul>
<li>Based on kernel 2.6.34.1 and glibc 2.11.2</li>
<li>Added support for EXT4 filesystem</li>
<li>Added option to change preferred /etc/fstab style; UUID, LABEL or device name</li>
<li>Openssh and screen is now part of the LiveCD to allow remote assistance during install</li>
</ul>
<p><span id="more-28"></span></p>
<p>Give us feedback through the <a href="http://bugs.lunar-linux.org/">bugtracker</a>. You can also inform us directly on <a href="irc://irc.freenode.net/lunar">IRC</a> and via our <a href="http://www.lunar-linux.org/index.php?option=com_content&#038;view=article&#038;id=25&#038;Itemid=68&#038;lang=en">mailing lists</a>, though the bug tracker is preferred.</p>
<h3>Summary of changes since 1.6.4:</h3>
<ul>
<li>Isolinux updated</li>
<li>All modules refreshed</li>
<li>Custom compilation of the kernel during install should once again be working</li>
<li>Pre-compiled kernels now properly generate an install and md5sum log</li>
<li>Added modules: yasm, gperf, libusb-compat, usbutils, xz, gmp, mpfr, cron-common, logrotate, rsyslog, iwlwifi-3945-ucode, iwlwifi-4965-ucode, iwlwifi-5000-ucode, screen, slang and mc</li>
<li>Removed modules: mktemp, lard and device-mapper</li>
<li>Grub2 tarball is available on the LiveCD for manual install</li>
<li>Fixed a few minor bugs with the installer</li>
<li>Rsyslog is now the new default syslog daemon</li>
</ul>
<h3>Download here:</h3>
<h4>Mirror(s)</h4>
<ul>
<li><a href="http://www.lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-i686.iso.bz2">http://lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-i686.iso.bz2</a></li>
<li><a href="http://www.lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-x86_64.iso.bz2">http://lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-x86_64.iso.bz2</a></li>
</ul>
<h4>SHA1sums</h4>
<ul>
<li><a href="http://www.lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-i686.iso.bz2.sha1">http://lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-i686.iso.bz2.sha1</a></li>
<li><a href="http://www.lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-i686.iso.sha1">http://lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-i686.iso.sha1</a></li>
<li><a href="http://www.lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-x86_64.iso.bz2.sha1">http://lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-x86_64.iso.bz2.sha1</a></li>
<li><a href="http://www.lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-x86_64.iso.sha1">http://lunar-linux.org/lunar/testing/lunar-1.6.5-rc1-x86_64.iso.sha1</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lunar-linux.org/2010/07/09/lunar-linux-165-rc1-i686-a-x86-64-isos-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

