<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cobra's bits (Posts about suse)</title><link>https://cobra.pdes-net.org</link><description></description><atom:link href="https://cobra.pdes-net.org/categories/suse.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:najahannah@gmail.com"&gt;Cobra&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="../images/by-nc-sa.svg"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 01 May 2024 12:19:59 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Backdoor in xz</title><link>https://cobra.pdes-net.org/posts/backdoor-in-xz.html</link><dc:creator>Cobra</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;&lt;a class="reference external" href="https://www.openwall.com/lists/oss-security/2024/03/29/4"&gt;The upstream xz repository and the xz tarballs have been backdoored.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27"&gt;This backdoor is very indirect and only shows up when a few known specific criteria are met. Others may be yet discovered! However, this backdoor is at least triggerable by remote unprivileged systems connecting to public SSH ports.&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This supply-chain attack targets .deb- and .rpm-based distributions, but the backdoored versions of xz or xz-utils (5.6.0 and 5.6.1) have made it only into rolling-release distributions such as Fedora Rawhide, Debian Testing/Sid, OpenSuse Tumbleweed, and Archlinux (&lt;a class="reference external" href="https://archlinux.org/news/the-xz-package-has-been-backdoored/"&gt;where it is inactive&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;The server of this blog is running Debian Testing and had the compromised version of xz-utils installed since March 17. The backdoor was &lt;a class="reference external" href="https://www.openwall.com/lists/oss-security/2024/03/29/4"&gt;reported&lt;/a&gt; last Friday, March 29. I've installed the patch provided by Debian on Saturday, March 30, and examined the system logs, which do not show any evidence that the system has been compromised in any way. In fact, according to my current understanding, the system did not meet all the &lt;a class="reference external" href="https://vulcan.io/blog/alert-cve-2024-3094/"&gt;requirements&lt;/a&gt; for the backdoor to be executed. However, I will remain vigilant and let the users of the server know if further action needs to be taken.&lt;/p&gt;
&lt;p&gt;More links (in German): &lt;a class="reference external" href="https://www.heise.de/news/Hintertuer-in-xz-Bibliothek-gefaehrdet-SSH-Verbindungen-9671317.html"&gt;Heise 30.03.2024 09:35&lt;/a&gt;, &lt;a class="reference external" href="https://www.heise.de/news/xz-Attacke-Hintertuer-entraetselt-weitere-Details-zu-betroffenen-Distros-9671588.html"&gt;Heise 30.03.2024 22:28&lt;/a&gt;, &lt;a class="reference external" href="https://www.heise.de/hintergrund/Die-xz-Hintertuer-das-verborgene-Oster-Drama-der-IT-9673038.html"&gt;Heise 02.04.2024 17:10&lt;/a&gt;&lt;/p&gt;</description><category>archlinux</category><category>debian</category><category>info</category><category>linux</category><category>suse</category><guid>https://cobra.pdes-net.org/posts/backdoor-in-xz.html</guid><pubDate>Mon, 01 Apr 2024 11:50:12 GMT</pubDate></item><item><title>Close call</title><link>https://cobra.pdes-net.org/posts/close-call.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;If you're using &lt;a href="https://cobra.pdes-net.org/posts/butter-bei-die-fische.html" title="btrfs and its snapshot function"&gt;btrfs and its snapshot function&lt;/a&gt;: stay away from kernel 3.17! &lt;a href="https://www.google.de/?gfe_rd=cr&amp;amp;ei=TCxKVPihOeaH8QehxIDQBw#q=btrfs+corruption+3.17" title="It may corrupt your filesystem"&gt;It may corrupt your filesystem&lt;/a&gt;. I've just spent the better part of the morning trying to coax my desktop into getting back to its normal self.&lt;/p&gt;
&lt;p&gt;After updating to 3.17 and editing syslinux.cfg to &lt;a href="https://www.archlinux.org/news/changes-to-intel-microcodeupdates/" title="take care of the now manual microcode updates"&gt;take care of the now manual microcode updates&lt;/a&gt;, I've noticed the following anomalies:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KDE needed several minutes to start, just as every KDE application afterwards&lt;/li&gt;
&lt;li&gt;System load was high (up to 5) despite the fact that the system was essentially idling (no CPU or I/O activities)&lt;/li&gt;
&lt;li&gt;the btrfs formatted system partition switched to RO mode after a few minutes of use. WTF?&lt;/li&gt;
&lt;li&gt;after a further reboot with the microcode updates disabled, avahi didn't come up and journald dumped one core after the other (105, to be precise).&lt;/li&gt;
&lt;li&gt;oh, and there was no network at this point 😒&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After rolling back to kernel 3.16.4, reinstalling systemd, and purging all (corrupted) journal files in /var/log/journal, the worst seems to be over.&lt;/p&gt;
&lt;p&gt;Note that this bug is not restricted to users of Archlinux, but was reported by users of Fedora 20, Debian Sid, Gentoo, and OpenSUSE Tumbleweed.&lt;/p&gt;</description><category>archlinux</category><category>backup</category><category>debian</category><category>linux</category><category>suse</category><guid>https://cobra.pdes-net.org/posts/close-call.html</guid><pubDate>Fri, 24 Oct 2014 12:36:24 GMT</pubDate></item><item><title>Chitty Chitty Bang Bang</title><link>https://cobra.pdes-net.org/posts/chitty-chitty-bang-bang.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;New hardware always has the effect that everything else suddenly feels slow and outdated. After experiencing the ease and effortlessness with which my &lt;a href="https://cobra.pdes-net.org/posts/custom-made.html" title="desktop"&gt;desktop&lt;/a&gt; handles everything I throw at it, my notebook (a Fujitsu Lifebook AH530) running &lt;a href="https://cobra.pdes-net.org/posts/bleeding-edge.html" title="OpenSuse 12.3"&gt;OpenSuse 12.3&lt;/a&gt; felt unresponsive and sluggish. Instead of updating to OpenSuse 13.1, I decided to install &lt;a href="http://archbang.org" title="Archbang"&gt;Archbang&lt;/a&gt;, a distribution I &lt;a href="https://cobra.pdes-net.org/posts/psychological-factors.html" title="always"&gt;always&lt;/a&gt; wanted to run on one of my systems. Similar to &lt;a href="http://crunchbang.org" title="Crunchbang"&gt;Crunchbang&lt;/a&gt; which &lt;a href="https://cobra.pdes-net.org/posts/turbo.html" title="runs on my Mini"&gt;runs on my Mini&lt;/a&gt;, Archbang offers an &lt;a href="https://en.wikipedia.org/wiki/Openbox" title="Openbox"&gt;Openbox&lt;/a&gt; powered desktop which is about as lightweight and snappy as it gets.&lt;/p&gt;
&lt;p&gt;Archbang, however, is even more frugal and spartan than Crunchbang. For example, there's no out-of-the-box support for Bluetooth devices.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://wiki.archlinux.org/" title="Archlinux Wiki"&gt;Archlinux Wiki&lt;/a&gt; has &lt;a href="https://wiki.archlinux.org/index.php/Bluetooth_Mouse" title="detailed instructions"&gt;detailed instructions&lt;/a&gt; as to the configuration of a Bluetooth mouse:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="n"&gt;systemctl&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;start&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;
&lt;span class="n"&gt;systemctl&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;enable&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;
&lt;span class="n"&gt;bluetoothctl&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;list&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;Controller&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;cmac&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;BlueZ&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;5.5&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;default&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;select&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;cmac&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;power&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;scan&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;devices&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;Device&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;mmac&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Bluetooth&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Mouse&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;trust&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;mmac&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;pairable&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;on&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;pair&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;mmac&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bluetooth&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;connect&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;mmac&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;After that, you only need to create a &lt;a href="https://bbs.archlinux.org/viewtopic.php?id=166362" title="new udev rule"&gt;new udev rule&lt;/a&gt; to activate the mouse upon a reboot:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;vim /etc/udev/rules.d/10-local.rules
# Set bluetooth power up
ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 up"
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;All that works well until I suspend the session by closing the lid of the laptop. After that, the bluetooth mouse is inactive until I reboot the system.&lt;/p&gt;
&lt;p&gt;Turns out that other people using Arch have the &lt;a href="https://bbs.archlinux.org/viewtopic.php?id=170970" title="same problem."&gt;same problem.&lt;/a&gt; They even file &lt;a href="https://bugs.archlinux.org/task/37320" title="bug reports."&gt;bug reports.&lt;/a&gt; Well, what's more, people using other distributions have this problem too, and they fill out reports on the respective (&lt;a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1213239" title="Ubuntu"&gt;Ubuntu&lt;/a&gt;, &lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=1010410" title="Fedora"&gt;Fedora&lt;/a&gt;) platform as well.&lt;/p&gt;
&lt;p&gt;There's even a &lt;a href="http://thread.gmane.org/gmane.linux.kernel.stable/65406/focus=66112" title="fix,"&gt;fix,&lt;/a&gt; but for reasons I don't understand it didn't even make it into the recently released 3.12. What a bummer. &lt;strong&gt;Update:&lt;/strong&gt; The fix has been included in 3.12.4. 😊&lt;/p&gt;
&lt;p&gt;Apart from this, everything's just perfect. In the spirit of the distro, I try to use lightweight applications. For example, I use aarchup, guake and geany instead of yapan, kuake and texmaker or kile. Other than that, I just moved tint2 to the top and changed the conkyrc, but I even kept the wallpaper.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://cobra.pdes-net.org/images/deepgreen_screenshot_90.webp"&gt;&lt;img alt="Desktop screenie" src="https://cobra.pdes-net.org/images/deepgreen_screenshot_scaled_90.webp"&gt;&lt;/a&gt;&lt;/p&gt;</description><category>archlinux</category><category>desktop</category><category>suse</category><guid>https://cobra.pdes-net.org/posts/chitty-chitty-bang-bang.html</guid><pubDate>Sun, 17 Nov 2013 15:39:11 GMT</pubDate></item><item><title>Bleeding edge</title><link>https://cobra.pdes-net.org/posts/bleeding-edge.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I've been a &lt;a href="http://www.trojaner-board.de/15636-zu-eurer-erbauung.html"&gt;a hard-core upgrade addict&lt;/a&gt; years ago, and that didn't change in the time since then. On the contrary, I've become allergic to outdated software, and I chose the distributions I'm using with particular attention to their closeness to the bleeding edge. I thus run Arch Linux on my desktop, Fedora on my office computer, and OpenSuse on my notebook.&lt;/p&gt;
&lt;p&gt;OpenSuse? Bleeding edge?&lt;/p&gt;
&lt;p&gt;Well, see for yourself:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Kernel version" src="https://cobra.pdes-net.org/images/kernel-version.png"&gt;&lt;/p&gt;
&lt;p&gt;With the tumbleweed repository, OpenSuse turns into a really very much up-to-date rolling-release distribution. Definitely worth a try.&lt;/p&gt;</description><category>linux</category><category>suse</category><guid>https://cobra.pdes-net.org/posts/bleeding-edge.html</guid><pubDate>Sun, 14 Jul 2013 12:31:52 GMT</pubDate></item><item><title>Butter bei die Fische</title><link>https://cobra.pdes-net.org/posts/butter-bei-die-fische.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;The root partition of my desktop and my notebook are formatted with &lt;a href="http://en.wikipedia.org/wiki/Btrfs" title="btrfs"&gt;btrfs&lt;/a&gt;, the B-tree file system (or 'Butterfuss' for ease of pronunciation). I've chosen btrfs mainly for one of its many outstanding features (compared to ext4), namely, the possibility to take snapshots of a partition (more precisely, a subvolume), and to return to them if, for example, an update proves to be troublesome.&lt;/p&gt;
&lt;p&gt;These snapshots can be managed either directly by the btrfs tools, or by &lt;a href="http://en.opensuse.org/Portal:Snapper" title="snapper"&gt;snapper&lt;/a&gt;, a tool developed by openSUSE. Snapper is automatically installed when choosing btrfs as filesystem during the installation of openSUSE, and that's where I've encountered it first. I've found that it greatly simplifies snapshot management, and I much recommend it also for users of other distributions.&lt;/p&gt;
&lt;h5&gt;openSUSE&lt;/h5&gt;
&lt;p&gt;If you happen to have an existing openSUSE installation &amp;gt; 12.1, and if you use btrfs as default file system, snapper may be already alive:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;snapper list-configs
snapper list
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If the lists are populated, snapper is active and you've got nothing to do. Excellent!&lt;/p&gt;
&lt;p&gt;Otherwise, issue&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;snapper create-config /
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Snapper should now automatically take hourly snapshots of your root partition. It will also automagically take snapshots just before and after an update performed by either zypper or yast, so in case anything goes wrong, you could resort to the latest sane state of your system.&lt;/p&gt;
&lt;h5&gt;Archlinux&lt;/h5&gt;
&lt;p&gt;Snapper is also available for other Linux distributions, and in particular, for Archlinux. The instructions available are outdated and do not work, but the following steps should.&lt;/p&gt;
&lt;p&gt;First of all, install snapper:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;yaourt -S snapper-git
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Next, create a subvolume (not a directory!) containing the snapshots with the mandatory (!) name .snapshots:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;btrfs subvolume create /.snapshots
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Then, configure snapper:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;cp /etc/snapper/config-templates/default /etc/snapper/configs/root

vim /etc/conf.d/snapper
SNAPPER_CONFIGS="root"

vim /etc/cron.hourly/snapper
:%s/sysconfig/conf.d/g
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Test the configuration by:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;snapper list-configs
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Do you see your config?&lt;/p&gt;
&lt;p&gt;Try to create a snapshot:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;snapper create -d "First manual snapshot." -c timeline
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Look at your first snapshot:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;snapper list
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now let snapper take care of the following snapshots. 😊&lt;/p&gt;</description><category>archlinux</category><category>backup</category><category>linux</category><category>suse</category><guid>https://cobra.pdes-net.org/posts/butter-bei-die-fische.html</guid><pubDate>Sat, 06 Apr 2013 14:05:13 GMT</pubDate></item><item><title>No more buntu</title><link>https://cobra.pdes-net.org/posts/no-more-buntu.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;A few days ago, the Kubuntu 12.10 on my wife's notebook received a regular update but did not, upon the obligatory reboot, return to its regular operation: the display resolution was changed to 1024x768 and neither WiFi nor Bluetooth were avaliable.&lt;/p&gt;
&lt;p&gt;I didn't even think twice (my wife said I was just waiting for such an opportunity, and she may be right) : let's replace this sad imitation of GNU/Linux with something I can rely on!&lt;/p&gt;
&lt;p&gt;And what would that be? My wife asked for something really established, with an easy, graphical install routine, up-to-date packages and preferably offering a rolling release scheme. And it should not be related in any way to any kind of *buntu *shudder*.&lt;/p&gt;
&lt;p&gt;What does that leave?&lt;/p&gt;
&lt;p&gt;OpenSUSE, a descendant of Slackware. 😉 Of course, installation (12.3) is a breeze, and activating the Tumbleweed repository (and thus the rolling release scheme) too. Equally expected is the fact that all the hardware of this Fujitsu Lifebook AH 530 is recognized and supported out of the box. The lifebook falls asleep and gracefully wakes up, as desired, and the frequent hiccups and lockups due to the power management under *buntu are a thing of the past.&lt;/p&gt;
&lt;p&gt;That leaves me with Archlinux on my main system, Crunchbang on the Mini, openSUSE on the lifebook, Fedora for my office desktop, and Debian Wheezy for the workstations. Pity I can't fit a Gentoo in between. 😉&lt;/p&gt;</description><category>debian</category><category>suse</category><category>ubuntu</category><guid>https://cobra.pdes-net.org/posts/no-more-buntu.html</guid><pubDate>Fri, 22 Mar 2013 20:30:41 GMT</pubDate></item><item><title>Psychological factors</title><link>https://cobra.pdes-net.org/posts/psychological-factors.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I'm now using Arch Linux as my primary operating system on my desktop computer at home since 5 month. Time for a little review and comparison.&lt;/p&gt;
&lt;h4&gt;Were my initial expectations fulfilled?&lt;/h4&gt;
&lt;p&gt;More than that, they were exceeded. Arch proved to be a truly up-to-date distribution which simultaneously manages to be stable as the proverbial rock. My problems at the beginning were easily corrected by adding a script to /home/cobra/.kde4/Autostart, as actually described in the &lt;a href="https://wiki.archlinux.org/index.php/Kde_Wallet"&gt;ArchWiki&lt;/a&gt;. Since then, I didn't experience any problem. Everything just works the way I intend it to do.&lt;/p&gt;
&lt;h4&gt;What are my future expectations/hopes?&lt;/h4&gt;
&lt;p&gt;A month ago I would have voted for package signing. That, however, has been implemented in pacman 4, and I'm currently entirely satisfied.&lt;/p&gt;
&lt;h4&gt;How does it compare to other distributions?&lt;/h4&gt;
&lt;p&gt;Oh my. That's really where I went wrong. See, Arch is great, but it does require some time to set it up properly. So I argued that I'd need an easier-to-set-up distribution for the office, where I manage time in slots of minutes. A mandatory requirement was that the distribution offers TeXLive 2011, and this excluded most distributions (foremost Debian, which I would have much preferred). So I've chosen Fedora Scientific, which comes prepackaged with most I need. Indeed, installation was a breeze and finished in 30 min. But after that...well, let's just say that I'm not enthusiastic about the Fedora way. The distribution is outdated (compared to Arch), offers a quite limited set of packages (compared to Arch), and its package manager is the slowest I've ever seen. Well, perhaps zypper is even slower, but not much.&lt;/p&gt;
&lt;p&gt;Let's do some ranking (from 0 to 10) of the distributions I'm using every day:&lt;/p&gt;
&lt;table border="1" style="width: 100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br&gt;&lt;/td&gt;
&lt;td&gt;Arch Linux&lt;br&gt;&lt;/td&gt;
&lt;td&gt;Fedora&lt;br&gt;
Verne&lt;br&gt;&lt;/td&gt;
&lt;td&gt;Ubuntu&lt;br&gt;
Oneiric&lt;br&gt;&lt;/td&gt;
&lt;td&gt;Debian&lt;br&gt;
Wheezy&lt;br&gt;&lt;/td&gt;
&lt;td&gt;OpenSuse&lt;br&gt;
Asparagus&lt;br&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Actuality&lt;br&gt;&lt;/td&gt;
&lt;td&gt;9&lt;br&gt;&lt;/td&gt;
&lt;td&gt;7&lt;br&gt;&lt;/td&gt;
&lt;td&gt;3&lt;br&gt;&lt;/td&gt;
&lt;td&gt;5&lt;br&gt;&lt;/td&gt;
&lt;td&gt;4&lt;br&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stability&lt;br&gt;&lt;/td&gt;
&lt;td&gt;8&lt;br&gt;&lt;/td&gt;
&lt;td&gt;6&lt;br&gt;&lt;/td&gt;
&lt;td&gt;4&lt;br&gt;&lt;/td&gt;
&lt;td&gt;9&lt;br&gt;&lt;/td&gt;
&lt;td&gt;7&lt;br&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Responsiveness&lt;br&gt;&lt;/td&gt;
&lt;td&gt;9&lt;br&gt;&lt;/td&gt;
&lt;td&gt;3&lt;br&gt;&lt;/td&gt;
&lt;td&gt;7&lt;br&gt;&lt;/td&gt;
&lt;td&gt;8&lt;br&gt;&lt;/td&gt;
&lt;td&gt;2&lt;br&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Trust&lt;br&gt;&lt;/td&gt;
&lt;td&gt;8&lt;br&gt;&lt;/td&gt;
&lt;td&gt;6&lt;br&gt;&lt;/td&gt;
&lt;td&gt;1&lt;br&gt;&lt;/td&gt;
&lt;td&gt;9&lt;br&gt;&lt;/td&gt;
&lt;td&gt;2&lt;br&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Now, "actuality" describes how close the distribution stays to the current upstream. "Stability" is proportional to the frequency of curses uttered because of segfaults and their cousins during the use of the respective distribution. But WTF are "responsiveness" and "trust"?&lt;/p&gt;
&lt;p&gt;Well, if you look deep within yourself, you'll find that there are reasons more important than the two objective criteria above for choosing a particular operating system. If it would only be about actuality and stability, Windows would score pretty high, which would be absurd. The question to ask is how do you feel when you use your computer? Do you feel comfortable? At home? Does it feel right? Do you like it?&lt;/p&gt;
&lt;p&gt;"Responsiveness" is a soft criterion intended to reflect the user experience when doing administrative work, such as updating/upgrading, starting and stopping services, change system-wide settings, etc. Simplicity, speed, and transparency is what counts in this discipline. Windows with a value of 0 is used as reference.&lt;/p&gt;
&lt;p&gt;"Trust" is an entirely subjective criterion with political dimensions. Do you trust the good intentions of Google? Perhaps not, but do you trust their intentions to create a fast and safe browser? You may not care for the former, but very much for the latter. "Trust" as used here contains both of these elements. As a reference, we use Windows with a value of 0.&lt;/p&gt;
&lt;p&gt;These reflections will have a consequence. Particularly for Dell Minis hiding underneath Fujitsu Lifebooks...ArchBang is waiting for you, my little friend.&lt;/p&gt;</description><category>archlinux</category><category>suse</category><category>thoughts</category><category>ubuntu</category><category>windows</category><guid>https://cobra.pdes-net.org/posts/psychological-factors.html</guid><pubDate>Sun, 19 Feb 2012 16:01:08 GMT</pubDate></item><item><title>Small steps</title><link>https://cobra.pdes-net.org/posts/small-steps.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;A command in the spirit of those discussed &lt;a href="https://cobra.pdes-net.org/posts/search-the-package.html"&gt;previously&lt;/a&gt;. Not as universal, as it finds only executables. But still: another small step for OpenSuse towards a usable distribution.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" src="https://cobra.pdes-net.org/images/command-not-found.png"&gt;&lt;/p&gt;</description><category>suse</category><guid>https://cobra.pdes-net.org/posts/small-steps.html</guid><pubDate>Sat, 19 Dec 2009 15:52:54 GMT</pubDate></item><item><title>make: don't know how to make love</title><link>https://cobra.pdes-net.org/posts/make-dont-know-how-to-make-love.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;The title of this entry is an old joke born in times when package managers were not yet invented. All administrators thus had to know how to install programs from the source with the now well-known, and even famous sequence of commands, the "rule of three":&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;./configure
make
make install
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now, you can still install programs in this old-fashioned but canonical way. But aren't there better ways?&lt;/p&gt;
&lt;p&gt;Oh yes, and we are all using them: they are called &lt;a href="http://en.wikipedia.org/wiki/Package_management"&gt;package managers.&lt;/a&gt; They did away with the &lt;a href="http://en.wikipedia.org/wiki/Dependency_hell"&gt;d&lt;/a&gt;&lt;a href="http://en.wikipedia.org/wiki/Dependency_hell"&gt;ependency hell&lt;/a&gt;, which was the source of constant irritation in the early days of Unix before the development of package managers dealing with dependencies (that, by the way, is just a decade ago). &lt;a href="http://en.wikipedia.org/wiki/Ian_Murdock"&gt;Ian Murdock&lt;/a&gt; called package management the &lt;a href="http://ianmurdock.com/solaris/how-package-management-changed-everything/"&gt;single biggest advancement Linux has brought to the industry&lt;/a&gt;, and I fully agree. It's the prime reason why I'm using Linux and not MacOS.&lt;/p&gt;
&lt;p&gt;You now may understand why I principally consider the above "rule of three" as the last resort. Bypassing the package management is always possible, and in the rare cases I do that, I install everything in /usr/local as recommended. Yet, this should be done in exceptional cases only, and not become the standard. Remember that these self-installed packages are not part of the automatic security updates offered by your package manager, nor can they be cleany removed in an automated way. In other words, these packages need to be looked after and pampered, and I just don't want that on my system.&lt;/p&gt;
&lt;p&gt;But what to do if your distribution simply doesn't offer a package you're interested in, or only a grossly outdated version? &lt;/p&gt;
&lt;p&gt;There are a number of possibilities, and there's an helpful &lt;a href="http://www.philippwesche.org/200811/whohas/intro.html"&gt;tool&lt;/a&gt; which helps to explore some of them.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First of all, I always check whether the tarball of the program I've just downloaded contains a *.spec file. Then, a simple 'rpmbuild -ta &lt;bla&gt;.tar.gz' might suffice to create a binary rpm out of the tarball &lt;bla&gt;. You can then install this rpm with the package manager of your liking. 😉&lt;/bla&gt;&lt;/bla&gt;&lt;/li&gt;
&lt;li&gt;Second, if there's no *.spec, or if compilation fails, there's a high chance that &lt;a href="http://en.wikipedia.org/wiki/Alien_(software)"&gt;alien&lt;/a&gt; will work. For example, my versions of gdis and gwyddion are both the offspring of a conversion from a debian/sid package to an rpm by alien. To find out whether the desired program is somewhere out there, you can use &lt;a href="http://www.philippwesche.org/200811/whohas/intro.html"&gt;whohas &lt;/a&gt;as mentioned above. Beware: the script does not run out of the box. One needs to specify the version numbers of current distributions in line 50 ff, and currently it is also advisable to deactivate mandriva and slackware (just underneath, switch to zero). In any case, after you found the package you need by whohas (which tells you the address!) and downloaded it, simply run 'alien --to-rpm --scripts &lt;bla&gt;.deb' and install the resulting rpm by your package manager. Or vice versa: 'alien --to-deb --scripts &lt;bla&gt;.rpm'&lt;/bla&gt;&lt;/bla&gt;&lt;/li&gt;
&lt;li&gt;Third, you may, in exceptional cases, also install packages build for another distribution. Fedora packages, for example, can often be installed on Mandriva and vice versa. However, you should only do that if you're versed in this business, as it can easily wreck your system.&lt;/li&gt;
&lt;/ul&gt;</description><category>debian</category><category>linux</category><category>mandriva</category><category>suse</category><category>ubuntu</category><guid>https://cobra.pdes-net.org/posts/make-dont-know-how-to-make-love.html</guid><pubDate>Sat, 28 Nov 2009 13:12:23 GMT</pubDate></item><item><title>Murphy</title><link>https://cobra.pdes-net.org/posts/murphy.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;What's quite unlikely in these times? A power failure.&lt;br&gt;
What's even more unlikely? Me upgrading at the exact minute of the power failure to the first release candidate of Mandriva 2010.&lt;/p&gt;
&lt;p&gt;System didn't boot at first, but that could be fixed by a straightforward repair of grub. After that, it became obvious that all further updates were complicated by the fact that the rpm database contained more than 600 duplicates, i.e., the system believed to have the same package installed in both 2009.1 and 2010.0 version. An 'rpm --rebuilddb' didn't help. What to do?&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;rpm -qa --queryformat '%{NAME}-%{VERSION}\n' | sort | uniq -d &amp;gt; duplicates_0
while read pkg; do rpm -q "$pkg" &amp;gt; duplicates_1; done &amp;lt; duplicates_0
sed -i '/2010/d' duplicates_1
while read pkg; do urpme "$pkg" &amp;amp;&amp;amp; echo "$pkg"; done &amp;lt; duplicates_1
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Instead of the sed command, you can also load duplicates_1 in vim, and:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;:g/2010/delete
ZZ
&lt;/pre&gt;&lt;/div&gt;</description><category>linux</category><category>mandriva</category><category>suse</category><guid>https://cobra.pdes-net.org/posts/murphy.html</guid><pubDate>Sat, 03 Oct 2009 19:01:13 GMT</pubDate></item></channel></rss>