<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Zugschlusbeobachtungen (Entries tagged as debian)</title>
    <link>http://blog.zugschlus.de/</link>
    <description>Das persönliche Blog von Marc Haber</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:mh+blog-zugschlus-de@zugschlus.de" />
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <pubDate>Sat, 23 Jun 2012 18:08:14 GMT</pubDate>

    <image>
        <url>http://blog.zugschlus.de/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Zugschlusbeobachtungen - Das persönliche Blog von Marc Haber</title>
        <link>http://blog.zugschlus.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Heute mal wieder Debian</title>
    <link>http://blog.zugschlus.de/archives/950-Heute-mal-wieder-Debian.html</link>
            <category>Debian</category>
    
    <comments>http://blog.zugschlus.de/archives/950-Heute-mal-wieder-Debian.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=950</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=950</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
In den letzten 24 Stunden habe ich endlich mal wieder was für Debian gemacht: dnstop und sipcalc vom bisherigen
Maintainer übernommen, auf Vordermann gebracht und uploaded, und immerhin einen Alibi-Upload von pdns-recursor, damit
auch der recursor mit der neuen Maintainer-Mailingliste im Maintainerfeld und dem korrekten Alioth-Vcs-Link im
debian/control nach Wheezy kommt.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Mon, 18 Jun 2012 18:53:44 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/950-guid.html</guid>
    <category>debian</category>

</item>
<item>
    <title>Next PowerDNS version for Debian ready for testing</title>
    <link>http://blog.zugschlus.de/archives/949-Next-PowerDNS-version-for-Debian-ready-for-testing.html</link>
            <category>Debian</category>
    
    <comments>http://blog.zugschlus.de/archives/949-Next-PowerDNS-version-for-Debian-ready-for-testing.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=949</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=949</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
I have published &lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2434&amp;amp;entry_id=949&quot;  onmouseover=&quot;window.status=&#039;http://www.powerdns.com/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external link to PowerDNS&quot;&gt;PowerDNS&lt;/a&gt; version 3.1-1.0 on &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2435&amp;amp;entry_id=949&quot;  onmouseover=&quot;window.status=&#039;https://ivanova.notwork.de/~mh/debian/pdns/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;link to the file
server&quot;&gt;https://ivanova.notwork.de/~mh/debian/pdns/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
This is a preliminary package and a release candidate to be 3.1-2 in Debian. If you&amp;#8217;re interested in PowerDNS on
Debian, please test this package.
&lt;/p&gt;
&lt;p&gt;
I plan to upload next week. This package will vanish from the web server once the package is visible in Debian.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Sun, 17 Jun 2012 17:34:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/949-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>powerdns</category>

</item>
<item>
    <title>atop in unstable</title>
    <link>http://blog.zugschlus.de/archives/942-atop-in-unstable.html</link>
            <category>Debian</category>
    
    <comments>http://blog.zugschlus.de/archives/942-atop-in-unstable.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=942</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=942</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Eight days ago, I uploaded atop 1.26-1 to DELAYED/8, listing me as new maintainer. This means that the package has in
the mean time appeared in unstable, and I hope that it&amp;#8217;ll swiftly migrate to testing.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Thu, 31 May 2012 09:13:06 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/942-guid.html</guid>
    <category>atop</category>
<category>debian</category>
<category>debian-english</category>

</item>
<item>
    <title>What are interface labels for</title>
    <link>http://blog.zugschlus.de/archives/916-What-are-interface-labels-for.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/916-What-are-interface-labels-for.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=916</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=916</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Dear Lazyweb, for a long time I have been using iproute2&amp;#8217;s label feature to assign arbitrary labels to IP
addresses configured on Interfaces:
&lt;/p&gt;
&lt;p&gt;
&lt;blockquote&gt;
40: int152@dotqa: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc noqueue state UP &lt;br /&gt;
    link/ether 00:25:b3:01:e5:6c brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 10.1.152.254/24 brd 10.1.152.255 scope global int152:&lt;strong&gt;98fe8&lt;/strong&gt;&lt;br /&gt;
&lt;/blockquote&gt;
&lt;/p&gt;
&lt;p&gt;
Recently, this has shown to at least confuse both &lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2410&amp;amp;entry_id=916&quot;  onmouseover=&quot;window.status=&#039;http://bugs.debian.org/617258&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external link to the
Debian BTS&quot;&gt;isc-dhcp-relay (#617258)&lt;/a&gt; and &lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2411&amp;amp;entry_id=916&quot;  onmouseover=&quot;window.status=&#039;http://bugs.debian.org/617264&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external link to the Debian
BTS&quot;&gt;dhcp-helper (#617264).&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
As I have never seen interfaces labels used outside my firewalls (which happen to use &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2412&amp;amp;entry_id=916&quot;  onmouseover=&quot;window.status=&#039;http://packages.qa.debian.org/i/ifupdown-scripts-zg2.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external link to the Debian
PTS&quot;&gt;ifupdown-scripts-zg2 (Debian PTS))&lt;/a&gt; and ifupdown&amp;#8217;s rather twisted handling of multiple IP addresses per
interface (using Alias Interfaces), I&amp;#8217;d like to know whether my usage is a legitimate one and whether there are
other uses for interface labels.
&lt;/p&gt;
&lt;p&gt;
At the moment, I&amp;#8217;m tempted to remove label support from ifupdown-scripts-zg2 in the next release, or to make it
optional. Please comment if you have an opinion.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Fri, 11 Mar 2011 19:28:55 +0100</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/916-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>iproute2</category>
<category>linux</category>
<category>networking</category>

</item>
<item>
    <title>How much added complexity in packages to cater for apt's shortcomings?</title>
    <link>http://blog.zugschlus.de/archives/884-How-much-added-complexity-in-packages-to-cater-for-apts-shortcomings.html</link>
            <category>Debian</category>
    
    <comments>http://blog.zugschlus.de/archives/884-How-much-added-complexity-in-packages-to-cater-for-apts-shortcomings.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=884</wfw:comment>

    <slash:comments>18</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=884</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
It is well known that apt has an issue when it comes to resolving circular dependencies. Therefore, Debian bug reporters
have set out to eradicate circular dependencies from the archive. This does, however, add significant bloat to the
actual packages, and I am questioning why this is really necessary.
&lt;/p&gt;
 &lt;p&gt;
For example, aide. aide has an aide-common package, depending on aide | aide-binary. aide-binary is a virtual package by
aide, aide-dynamic, and aide-xen. All three providers of aide-binary depend on aide-common again, which is a circular
dependency.
&lt;/p&gt;
&lt;p&gt;
If I now follow the request posed in #545852 and remove aide-common&amp;#8217;s dependency on aide | aide-binary, I&amp;#8217;ll
have to cater for the case of the aide-binary bein absent in each and every helper script included in aide-common, which
would drive the script&amp;#8217;s complexity up to a new level. I really hate that idea.
&lt;/p&gt;
&lt;p&gt;
Is it really necessary to work around apt&amp;#8217;s shortcomings by eliminating the case that apt doesn&amp;#8217;t handle
well from the archive, and driving up other packages&amp;#8217; complexity (and the possibility of bugs in this added
complexity)?
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 23 Jan 2010 12:08:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/884-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>english</category>

</item>
<item>
    <title>Booting from a large hard disk II</title>
    <link>http://blog.zugschlus.de/archives/850-Booting-from-a-large-hard-disk-II.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/850-Booting-from-a-large-hard-disk-II.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=850</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=850</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Four days before my wedding, I spent some time researching &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2396&amp;amp;entry_id=850&quot;  onmouseover=&quot;window.status=&#039;http://blog.zugschlus.de/archives/829-Booting-from-a-large-hard-disk.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;link to the old blog
article&quot;&gt;booting a PC from a large hard disk,&lt;/a&gt; where large means &amp;#8220;larger than two Terabytes&amp;#8221;. These days,
single disks are approaching this size, so we are near the state where this issue pops up for your run-of-the-mill
computer rather than the data store RAID. Today, the per-gigabyte price is however still significantly cheaper if you go
for a 1 T or an 1.5 T disk.
&lt;/p&gt;
&lt;p&gt;
The old blog article shows that I spent considerable time in finding out today&amp;#8217;s limitations below the 2 T limit
by using conventional partitioning schemes to boot a 2 T disk. Since I don&amp;#8217;t have this much storage available at
the moment, I had to use virtualization and to take advantage of nearly empty virtual disks taking up much less space
than their raw capacity suggests. This works fine as long as you don&amp;#8217;t start actually using the disk.
&lt;/p&gt;
&lt;p&gt;
Back then, the only combination that worked for a raw disk larger than 2 T (only using the first 2 T) was Virtualbox and
grub 0 (now grub-legacy). I regret to admit that the results of my experiments from June are not any more reproducible
(most probably due to changes in Virtualbox since then) and that I was not able to boot any disk larger than 2 T any
more, even if the partitions were well below the 2 T limit. I chose to ignore these results and to finally start the GPT
research.
&lt;/p&gt;
 &lt;p&gt;
Four months later, I have again found the time to finish the research on the GPT. But first a little flashback to June
outlining why the classic PC-style partition table has finally reached its end. Its 32 bit sector numbers preclude us
from having partitions that reach beyond the 2 TB barrier.
&lt;/p&gt;
&lt;p&gt;
The GUID partition table (GPT), has been invented to cope with disks that are larger than 2 TB. Unfortunately, legacy
PCs (nearly every box sold today) cannot boot a &amp;#8220;pure GPT&amp;#8221;, since they lack the EFI firmware which can be
used to boot from a pure GPT. EFI firmware has been developed to ultimately replace the PC BIOS and is already in use on
Apple hardware. But most PCs sold today still have a &amp;#8220;classic BIOS&amp;#8221; and therefore need a workaround to boot
from a disk partitioned with GPT.
&lt;/p&gt;
&lt;p&gt;
On Linux, the tool to create a GPT and to partition the disk within the GPT is GNU parted. It is available with a text
console front end which reminds of the classic Linux fdisk found in util-linux, and with a GTK and a QT front end. A
curses-like front end as we know from util-linux&amp;#8217; cfdisk is unfortunately missing, which makes parted somewhat
awkward to use at installation time when one doesn&amp;#8217;t have a GUI yet (or did never plan to actually install a GUI
on the machine). &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2397&amp;amp;entry_id=850&quot;  onmouseover=&quot;window.status=&#039;http://sakafi.wordpress.com/2008/08/23/how-to-use-parted-for-creating-patition-larger-that-2-tb/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external
link to another blog&quot;&gt;This article&lt;/a&gt; gives a nice introduction about how to use parted to create a GPT.
&lt;/p&gt;
&lt;p&gt;
A disk having a GPT looks to a classic partitioning tool like this:
&lt;blockquote&gt;&lt;pre&gt;
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      267350  2147483647+  ee  GPT
&lt;/pre&gt;&lt;/blockquote&gt;
this is a big primary partition of 2 TB size with partition ID 0xee. util-linux&amp;#8217; fdisk will also print prominent
warnings that it won&amp;#8217;t be able to partition that disk. Other partitioning tools probably won&amp;#8217;t.
&lt;/p&gt;
&lt;p&gt;
You need to cater for two caveats before the system can actually boot: grub 2 strongly suggests that you use a &quot;&lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2398&amp;amp;entry_id=850&quot;  onmouseover=&quot;window.status=&#039;http://grub.enbug.org/BIOS_Boot_Partition&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external link to the grub docs&quot;&gt;BIOS Boot &lt;/a&gt;&lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2399&amp;amp;entry_id=850&quot;  onmouseover=&quot;window.status=&#039;http://en.wikipedia.org/wiki/BIOS_Boot_Partition_(GPT)&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external Link to Wikipedia&quot;&gt;Partition&lt;/a&gt;
&quot; for grub 2&amp;#8217;s later stages. That partition needs to be at last 32 KB large. Additionally, I wasn&amp;#8217;t able to
boot from a partition filling the entire 5.7 TB disk, so I suspect that the boot file system needs to be inside the
first two TB. This is how my test disk was finally partitioned:
&lt;blockquote&gt;&lt;pre&gt;
# parted /dev/sda print
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 5243GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name       Flags
 1      17.4kB  1000kB  983kB                bios_grub  bios_grub
 2      1000kB  1000GB  1000GB  ext3         boot
 3      1000GB  5243GB  4243GB  ext3         data

#
&lt;/pre&gt;&lt;/blockquote&gt;
It is kind of a challenge to coax parted into creating partitions that are directly adjacent to each other. I
didn&amp;#8217;t find a way to do this short of setting parted&amp;#8217;s unit to sectors and manually typing the exact sector
number.
&lt;/p&gt;
&lt;p&gt;
After the disk was partitioned, I created the ext3 file systems on the two big partitions. mke2fs takes quite some
memory (256 MB memory were not enough for the virtual machine, resulting into a not very helpful &amp;#8220;killed&amp;#8221;
message on mke2fs) and time (like two hours for the larger of the two file systems), but generates the file systems just
fine. They are mounted just as any other file system:
&lt;blockquote&gt;&lt;pre&gt;
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             917G  317M  870G   1% /mnt/sda2
/dev/sda3             3.8T  195M  3.7T   1% /mnt/sda3
#
&lt;/pre&gt;&lt;/blockquote&gt;
and grub 2 can be installed just fine by using grub-install /dev/sda after temporarily mounting /dev/sda2 as /boot.
&lt;/p&gt;
&lt;p&gt;
This setup boots grml just fine, and I suspect that any Linux OS can be booted like this as well. I guess that it will
be kind of a challenge do dual-boot a disk this large with any other OS.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sun, 25 Oct 2009 01:03:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/850-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>large-disks</category>
<category>partitioning</category>
<category>pc</category>
<category>storage</category>

</item>
<item>
    <title>Samba Help Needed</title>
    <link>http://blog.zugschlus.de/archives/848-Samba-Help-Needed.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/848-Samba-Help-Needed.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=848</wfw:comment>

    <slash:comments>14</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=848</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Dear Lazyweb, sorry to bother you again, but I have tried to get this question answered on IRC, on Usenet and on the
Samba Mailing List, and was not able to get an answer (not even a remotely clueless one) there. Can you help?
&lt;/p&gt;
&lt;p&gt;
I currently have an &amp;#8220;interesting&amp;#8221; task to accomplish: An IT environment with about 90 % Windows and 10 %
Linux machines would like to unify backup. Currently, the Windows world backs itself up to tape using Backup Exec; the
Linux world has Amanda backing up to a big disk
RAID.
&lt;/p&gt;
&lt;p&gt;
This RAID is acting up and is scheduled to disappear. The current plan is to back up the Linux world with Amanda to a
Samba share which is then backed up to tape by the Backup Exec installation running in the Windows world.
&lt;/p&gt;
&lt;p&gt;
The Linux systems are in a diffent network, and the firewall people would like to keep the ports being open between the
two networks to the bare minimum. I don&amp;#8217;t want to see NETBIOS Broadcasts inside the Linux world, I don&amp;#8217;t
want to see this server in any network neighborhood, and the system acting as the Samba server for the backup should
have as few open ports as possible. Of course, the share should be read only and to be as secure as possible.
&lt;/p&gt;
 &lt;p&gt;
The following configuration for Samba 3.4.0 from Debian unstable seems
to do what is intended (and only needs port tcp/445):
&lt;blockquote&gt;&lt;pre&gt;
[global]
   workgroup = linuxworld
   server string = %h server
   dns proxy = no
   name resolve order = lmhosts host wins bcast
   interfaces = 192.168.8.26
   bind interfaces only = yes
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   security = user
   encrypt passwords = true
   passdb backend = tdbsam

   obey pam restrictions = yes
   unix password sync = no
   pam password change = no
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   access based share enum = yes
   allow trusted domains = no
   disable netbios = yes
   load printers = no
   local master = no
   lock directory = /var/run/samba/locks
   pid directory = /var/run/samba
   max smbd processes = 10
   min protocol = NT1
   name resolve order = host
   preferred master = no
   server schannel = yes
   smb ports = 445

#======================= Share Definitions =======================

[amanda]
  comment = amanda backup
  writeable = no
  read only = yes
  locking = no
  path = /mnt/backup/srv/amanda
  public = no
  guest ok = no
  browseable = no
  hosts allow = 192.168.8.23
  max connections = 5
  valid users = amanda
&lt;/pre&gt;&lt;/blockquote&gt;
Is this &amp;#8220;secure enough&amp;#8221; or is there potential for improvement? Which
files do I need to copy to /mnt/backup/srv/amanda to run the smbd
chrooted? Does it make sense to chroot the smbd in this environment?
&lt;/p&gt;
&lt;p&gt;
Is this configuration going to work with Samba 3.0 (Debian etch)
and/or Samba 3.2 (Debian lenny) as well?
&lt;/p&gt;
&lt;p&gt;
Any hints will be appreciated.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Mon, 10 Aug 2009 11:49:43 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/848-guid.html</guid>
    <category>cifs</category>
<category>debian</category>
<category>debian-english</category>
<category>lazyweb</category>
<category>samba</category>
<category>smb</category>

</item>
<item>
    <title>How to have socat open a listening socket in the file system?</title>
    <link>http://blog.zugschlus.de/archives/846-How-to-have-socat-open-a-listening-socket-in-the-file-system.html</link>
            <category>Debian</category>
    
    <comments>http://blog.zugschlus.de/archives/846-How-to-have-socat-open-a-listening-socket-in-the-file-system.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=846</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=846</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Dear Lazyweb, can anybody with some advanced socat-foo tell me the command line needed to have socat create a socket in
the local file system and to listen on it, so that I can have Virtualbox connect a virtual serial console to it?
&lt;/p&gt;
&lt;p&gt;
The material available on socat on the web is sparse, and virtualbox-related docs usually contain &amp;#8220;tick the create
pipe option&amp;#8221;, which is not helpful here since I would like to see the first output the virtual machine prints to
its serial port. It would be vastly more useful to have the socket already created with socat listening so that I can
immediately see what is being printed to the socket.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Fri, 07 Aug 2009 12:10:40 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/846-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>lazyweb</category>
<category>socat</category>
<category>sockets</category>
<category>virtualbox</category>

</item>
<item>
    <title>Unified Kernel for etch, lenny and sid</title>
    <link>http://blog.zugschlus.de/archives/844-Unified-Kernel-for-etch,-lenny-and-sid.html</link>
            <category>Debian</category>
    
    <comments>http://blog.zugschlus.de/archives/844-Unified-Kernel-for-etch,-lenny-and-sid.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=844</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=844</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Traditionally, the Linux kernel is software that I compile myself from pristine upstream sources for various reasons. I
have three major kernel flavours that get built (server, desktop and notebook), and I am pretty current in running a
bleeding edge kernel. This is not really necessary any more nowadays, but it&amp;#8217;s a tradition that works pretty
well.
&lt;/p&gt;
&lt;p&gt;
My kernels get built on sid and are packaged up with kernel-package, and equivs builds a dependency helper package which
pulls in the kernel&amp;#8217;s dependencies such as initramfs-tools and takes care of cross-version updates like going from
2.6.29 to 2.6.30. Up to now, I was always able to run a kernel built this way on all my systems which can range from
oldstable to unstable.
&lt;/p&gt;
 &lt;p&gt;
This has recently become a bit harder when unstable&amp;#8217;s udev started to complain that the sysfs layout was
deprecated and that I should unset CONFIG_DEPRECATED_SYSFS in my kernel configuration or lose some of udev&amp;#8217;s
functionality, since a kernel compiled without CONFIG_DEPRECATED_SYSFS doesn&amp;#8217;t properly boot on etch.
&lt;/p&gt;
&lt;p&gt;
Since I wanted to avoid building even more kernel flavours, I decided to investigate which package I need to backport to
etch to get kernels without CONFIG_DEPRECATED_SYSFS to work on etch. To my surprise, the cause for not booting on etch
was not udev, but lvm2. With lvm2 2.02.39 (and the corresponding libdevmapper, 1.02.27-4) ported back from lenny to
etch, my etch systems boot fine with CONFIG_DEPRECATED_SYSFS unset. udev can happily stay at etch&amp;#8217;s version,
0.105-4etch1.
&lt;/p&gt;
&lt;p&gt;
From etch to lenny to squeeze, the lvm2 package has evolved quite a bit. Since there is only one LVM flavour left, the
lvm-common package vanished in the transition from etch to lenny, and libdevmapper still has its own source package in
lenny, but is built from lvm2&amp;#8217;s source package itself in squeeze. So, as a heads-up, there needs to be special
handling for lvm-common when installing the backport on etch.
&lt;/p&gt;
&lt;p&gt;
I decided to backport lvm2 from lenny to etch to allow this particular derivation from the distributions&amp;#8217;s
versions to vanish in reasonably short time when my last etch boxes get finally updated to lenny. And my dependency
helper has been extended to now pull in the backported version of lvm2 to avoid nasty reboot surprises.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Thu, 06 Aug 2009 10:44:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/844-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>kernel</category>
<category>lvm</category>
<category>udev</category>

</item>
<item>
    <title>Bye bye KDE?</title>
    <link>http://blog.zugschlus.de/archives/840-Bye-bye-KDE.html</link>
            <category>Debian</category>
    
    <comments>http://blog.zugschlus.de/archives/840-Bye-bye-KDE.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=840</wfw:comment>

    <slash:comments>27</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=840</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
I have been using current KDE since most of my Linux time (having converted over from WindowMaker to KDE 2 back in
2002). But currently, I am seriously pondering to ditch KDE since KDE upstream seems to be wildly decided to kill KDE.
&lt;/p&gt;
&lt;p&gt;
I have accidentally upgraded my desktop box to KDE4 because I missed putting KDE on hold before doing a major sid update
after a couple of months. KDE4&amp;#8217;s first regression immediately showed itself - the right display doesn&amp;#8217;t get
any attention from KDE. It just shows up in a grey checkerboard background, it doesn&amp;#8217;t have a panel, it
doesn&amp;#8217;t have a menu, right click doesn&amp;#8217;t work. It looks like the only thing one can do with it is dragging
windows onto it.
&lt;/p&gt;
&lt;p&gt;
With help of #debian-kde, I quickly found out about &lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2390&amp;amp;entry_id=840&quot;  onmouseover=&quot;window.status=&#039;https://bugs.kde.org/show_bug.cgi?id=164242&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;
title=&quot;external link to KDE Bugzilla&quot;&gt;this bug in Upstream Bugzilla,&lt;/a&gt; which is referred from &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2391&amp;amp;entry_id=840&quot;  onmouseover=&quot;window.status=&#039;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529487&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external Link to the Debian BTS&quot;&gt;#529487&lt;/a&gt; and
which was marked as Duplicate of &lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2392&amp;amp;entry_id=840&quot;  onmouseover=&quot;window.status=&#039;https://bugs.kde.org/show_bug.cgi?id=156475&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external Link to the
Upstream Bugzilla&quot;&gt;this bug in upstream bugzilla,&lt;/a&gt; which is one and a half years old and was marked as
&amp;#8220;severity wishlist&amp;#8221;.
&lt;/p&gt;
&lt;p&gt;
Despite the splendid job that the Debian KDE team has done to sort out the KDE4 mess, it looks like KDE upstream has
managed to break Dual Head Setups for one and a half years and doesn&amp;#8217;t seem to be too interested in providing KDE4
in a way that it can be compared with past versions. This is very sad and will have me shopping for a new desktop
environment soon, I am afraid.
&lt;/p&gt;
&lt;p&gt;
Maybe it was not a so good idea to take away KDE 3 so soon and it might have been better to keep KDE 3 in Debian. Maybe
it&amp;#8217;s time to re-introduce KDE 3 as co-installable packages? I would be willing to participate in this effort as a
team member.
&lt;/p&gt;
&lt;p&gt;
Which other Desktop Environments and/or Window Managers should I be shopping for? I&amp;#8217;d like to have:
&lt;ul&gt;
&lt;li&gt;Dual-Head support (preferably with the possibility to switch desktops only on one display, but that&amp;#8217;s
something that even KDE 3 cannot do yet)
&lt;li&gt;Shortcuts like &amp;#8220;gg:search words&amp;#8221; or &amp;#8220;wp:search words&amp;#8221; to immediately open google, wikipedia,
the BTS or the PTS&lt;/li&gt;
&lt;li&gt;Overlapping windows that are not automatically resized&lt;/li&gt;
&lt;lI&gt;A terminal like konsole which allows me to have different session in tabs and to send my input to all tabs&lt;/li&gt;
&lt;li&gt;A clipboard handler that will automatically pop up a window asking me whether I want to open the URL that I just
marked in a browser&lt;/li&gt;
&lt;li&gt;Integration with the Debian menu system&lt;/li&gt;
I will try adding to this list over the next days when I notice a feature that I have accustomed to so badly that I
don&amp;#8217;t even notice any more when I&amp;#8217;m using it.
&lt;/ul&gt;
&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sun, 05 Jul 2009 13:10:31 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/840-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>kde</category>

</item>
<item>
    <title>Booting from a large hard disk</title>
    <link>http://blog.zugschlus.de/archives/829-Booting-from-a-large-hard-disk.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/829-Booting-from-a-large-hard-disk.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=829</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=829</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
I recently had to install Openfiler on a HP server with ten 750 GB hard disks on a cciss RAID controller, which proved
to be a major nuisance. Since the customer wanted the box in service fast, I finally settled on wasting two of the disks
as a 750 GB RAID 1 for the actual system (with like 10 GB actually used) while RAIDing the remaining disks together to a
RAID 6 with spare disk for productive data.
&lt;/p&gt;
&lt;p&gt;
During this task, I noticed a severe lack of current knowledge about modern PC architecture and how to boot from a big
hard disk and decided to do some research into this direction. This article shows the first &amp;#8220;results&amp;#8221; that I
have achived in the last few days.
&lt;/p&gt;
 &lt;p&gt;
Since the mid-eighties, we have been using basically the same PC-style partition table which has been extended a few
times: The CHS (cylinder, head, sector) addressing has been changed to LBA (logical block addressing), and the
&amp;#8220;extended partition&amp;#8221; has allowed us to use more than four partitions inside the four partition slots that
the classical partition table allows. But all these changes have been backwards compatible, so we were never forced to
adapt to something completely new. Big hard disks have recently started to hit a hard 2 TB limit, which cannot be
overcome without incompatible changes. The classical PC-style partition table has only 32 bit sector numbers which
precludes us from having partitions that reach beyond the 2 TB barrier.
&lt;/p&gt;
&lt;p&gt;
So, an &amp;#8220;incompatible&amp;#8221; partitioning scheme, the GUID partition table (GPT) has been invented. Unfortunately,
if one uses a pure GPT, one cannot boot from this disk with a normal PC BIOS as most vendors have not yet implemented
GPT booting yet. Pure doctrine says that a new kind of PC firmware, called EFI firmware, can be used to boot from a GPT
disk. However, EFI has not yet found significant market share beyond Apple hardware, so there is a backwards
compatibility hack that allows a legacy PC (nearly every box sold today) to boot from a GPT disk. This backwards
compatibility hack was what I originally sought to explore, but I had to spend significant time way earlier.
&lt;/p&gt;
&lt;p&gt;
To try booting from a disk that is larger than 2 TB, one first needs a disk that is actually larger than 2 TB. Since the
largest single disk available on the market today is just 2 TB big (and very expensive, measured by the Gigabyte per
Euro benchmark), I would need to buy at least two disks (preferably the 1.5 TB class which currently delivers the most
Gigabytes per Euro) and a method to RAID them together to a RAID 0 which is presented to the host as a single device
even at boot time. I would have to shell out about 300 Euros for this, so I reckoned that I might get away with a
virtual disk that grows as it is used and thus takes less disk space when it only holds a partition, and a nearly empty
file system.
&lt;/p&gt;
&lt;p&gt;
Unfortunately, my favorite virtualization solution, virtualbox, refuses to create a virtual hard disk larger than 2 TB
via its GUI which I misinterpreted as a hard limit itself, so I had to resort to qemu which actually can handle a 4 TB
virtual disk, which does take very little space if the dynamically-growing qcow2 format is being used.
&lt;/p&gt;
&lt;p&gt;
Unfortunately, I wasn&amp;#8217;t able to boot qemu from a virtual disk this big. grub 0 refused to install in the first
place, and grub 2 could be installed, but it looks like the qemu BIOS refused to even look at the MBR since it just
complained that it couldn&amp;#8217;t read the boot medium. To rule out cylinder number issues, I tried first with a 1000
cylinder partition and later with a 1 cylinder partition, to no avail. Reducing the disk size to less than 2 TB solved
all issues, grub 0 and grub 2 worked as advertised.
&lt;/p&gt;
&lt;p&gt;
A day later, I found out that one can create Virtualbox .vdi disks with &gt; 2 TB via the VBoxManage command line tool.
After creating a 4 TB .vdi disk, creating a single 1000 cylinder partition and installing grub 2, it agreed to show me
its menu just fine, but misbehaved in two interesting ways when I actually tried to boot (see &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2380&amp;amp;entry_id=829&quot;  onmouseover=&quot;window.status=&#039;http://bugs.debian.org/532202&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external link to the Debian BTS&quot;&gt;#532202&lt;/a&gt;) 
&lt;/p&gt;
&lt;p&gt;
Then I tried grub 0 just to be sure. Surprisingly, grub 0 didn&amp;#8217;t stumble and booted just fine. Next try was using
a 2 TB Partition on the 4 TB disk, which is the maximum one can have with a traditional partition table. Strangely,
virtualbox&amp;#8217; .vdi files grow much more than qemu&amp;#8217;s qcow2 format, and a 4 TB disk with a 2 TB ext3fs on it
needs like 59 GB space on disk. grub 0 boots from this disk just fine, and grml runs fine as well.
&lt;/p&gt;
&lt;p&gt;
So, after like three days of preparation, I am now ready to delve into the depths of a GUID partition table, which I
will blog about in a different article.
&lt;/p&gt;
&lt;p&gt;
Revisiting some four months (October 2009) later, I found out that the success I had with grub 0 is not reproducible any
more. With current Virtualbox, the .vdi file holding the 4 TB disk with a 2 TB ext3fs is only like 30 GB large, but no
grub variant actually boots from it via a normal partition table.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 06 Jun 2009 22:38:13 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/829-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>large-disks</category>
<category>partitioning</category>
<category>pc</category>
<category>storage</category>

</item>
<item>
    <title>synaptics and unstable?</title>
    <link>http://blog.zugschlus.de/archives/828-synaptics-and-unstable.html</link>
            <category>Debian</category>
    
    <comments>http://blog.zugschlus.de/archives/828-synaptics-and-unstable.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=828</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=828</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Dear Lazyweb, I have just found out that ksynaptics has stopped working against the X in unstable, and that ksynaptics
is not even in lenny, let alone in current testing and/or unstable. This currently leaves me with an unconfigured
touchpad, which is a major nuisance since I have gotten accustomed to tap-dragging and touchpad border scrolling.
&lt;/p&gt;
&lt;p&gt;
xserver-xorg-input-synaptics&amp;#8217; README.Debian dates back to 2004, so I suspect that the information given there in
does not any more apply to today&amp;#8217;s configfile-less X.
&lt;/p&gt;
&lt;p&gt;
So, dear lazyweb, how do I get my touchpad back into the more intelligent mode? Clickable configuration preferred.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Thu, 04 Jun 2009 23:30:30 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/828-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>lazyweb</category>
<category>synaptics</category>
<category>x</category>

</item>
<item>
    <title>The grub drama</title>
    <link>http://blog.zugschlus.de/archives/826-The-grub-drama.html</link>
            <category>Freie Software</category>
    
    <comments>http://blog.zugschlus.de/archives/826-The-grub-drama.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=826</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=826</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
This is a rant. A rant which goes to the grub maintainers, and one that could go nearly identically to many people in
the KDE environment or many other open source projects.
&lt;/p&gt;
&lt;p&gt;
I really like grub. I really like grub 0.97 despite that it&amp;#8217;s been unmaintained for years and not booting on two
of my important machines. I should like grub 2 because its configuration looks more straightforward and for its better
features - direct booting of .iso images, from LVM and RAID. But actually, I have learned to hate grub 2 since it is not
finished and badly documented, and that its existence is already being used as an excuse for grub 0&amp;#8217;s development
having stopped years ago (and it being renamed to &amp;#8220;grub-legacy&amp;#8221; to clearly show that it&amp;#8217;s the unloved
child)  - and things looks like this is not going to change any time soon.
&lt;/p&gt;
 &lt;p&gt;
grub 0.97 is the de facto standard in booting Linux, its most prevalent advantages probably being its capability of
reading filesystems and its command shell, which allows booting kernels and other software that one wasn&amp;#8217;t
planning to boot when the system was shut down. There is a small fraction of people who still use lilo despite its
disadvantages, for example on achitectures that are not supported by grub, if one wants to have the boot FS on LVM, if
one just prefers lilo for non-technical reasons or on systems that grub doesn&amp;#8217;t work on.
&lt;/p&gt;
&lt;p&gt;
The last three systems, by the way, that I still run lilo on are Pyramid pizzaboxes with supermicro-made mainboards from
2002, which just refuse to boot if grub is used and the vendor just says that grub 0.97 is still beta and that they do
not support grub on their systems: &amp;#8220;Use Lilo.&amp;#8221;
&lt;/p&gt;
&lt;p&gt;
Grub&amp;#8217;s last upstream release, 0.97, dates back to 2005, and upstream has stopped developing this grub release
years ago. grub 2, the new way to go, had its first release in 2003, and the last &amp;#8220;stable&amp;#8221; release that
people are supposed to use dates back to februar 2008. grub 2 is clearly a step in the right direction, but there are
still bugs, and the most prevalent show stopper against grub 2 is the almost complete absence of any documentation. I
have, for example, not yet found good documentation about the new config file format, which is a completely different
deal from what we are used to with grub 0. The commands&amp;#8217; manual pages do little more than list the (obvious!)
command line options without giving much more information about what the actually do, let alone usage examples. The
documentation (which used to be really excellent for grub 0), has been &amp;#8220;moved&amp;#8221; to a wiki, which has some
useful content but cannot keep up with the excellent documentation that grub 0 used to have.
&lt;/p&gt;
&lt;p&gt;
Additionally, grub2 does not seem to have a grub shell which can be called from within the host system, which makes
installing grub 2 in &amp;#8220;exotic&amp;#8221; situations much harder than it used to be with grub 0.
&lt;/p&gt;
&lt;p&gt;
I am also quite disappointed that despite the grub upstream web pages claiming that grub 2 is under active development,
the last release is more than fifteen months in the past while there are still so many shortcomings. The Debian
maintainers of grub 2 are regularly packaging grub 2 subversion snapshots, which is a good idea in face of
upstream&amp;#8217;s release policy which is quite different from what&amp;#8217;s being told in the wiki. I am, however,
reluctant to rely on a development snapshot of a software to boot productive systems.
&lt;/p&gt;
&lt;p&gt;
Guys, you cannot declare a widely used, well-documented software legacy when the replacement is still in a nearly
unuseable shape and the docs are hidden in the helpful files named &lt;strong&gt;.c and &lt;/strong&gt;.h. This is simply
unacceptable. It&amp;#8217;s a drama that the docs are still in such a pitiful shape fifteen months after your last
release.
&lt;/p&gt;
&lt;p&gt;
But, grub is not the only free software project that so blatantly scores developer fun over the needs of the end user. I
know that it is a boring task to fix bugs and to work around design shortcomings in the existing version of software,
and that it is much more fun to hack away on new designs and new code, but dropping old versions before the new version
is up to par with the old one is annoying the users and driving people away to other software packages. This applies to
grub, a quite low-level program, but also to larger and more complex projects like KDE who has recently pulled the same
stunt by dropping development and support for KDE 3.5 while KDE 4 is still missing many many features and KDE
3.5&amp;#8217;s stablity, thus driving people (back) to GNOME or alternative desktop environments. This &amp;#8220;we give a
damn about people who actually use our software, our compilers run without users as well&amp;#8221; attitude is a show of
disrespect for the user base and makes me very sad as this does indeed show that free software is in no way superior to
its commercial counterparts.
&lt;/p&gt;
&lt;p&gt;
Sadly, I do not have a solution for this issue since I know that free software developers are usually volunteers who do
not have to report to anybody, and that they do not need to care for their user base. But I hope that people begin to
reconsider their attitude and think about what kind of horrible damage is being done to the user base and to free
software&amp;#8217;s reputation.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 30 May 2009 15:22:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/826-guid.html</guid>
    <category>debian</category>
<category>debian-english</category>
<category>english</category>
<category>grub</category>
<category>kde</category>
<category>rant</category>

</item>
<item>
    <title>help needed for ATM support in ifupdown-scripts-zg2</title>
    <link>http://blog.zugschlus.de/archives/820-help-needed-for-ATM-support-in-ifupdown-scripts-zg2.html</link>
            <category>Debian-Packages</category>
    
    <comments>http://blog.zugschlus.de/archives/820-help-needed-for-ATM-support-in-ifupdown-scripts-zg2.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=820</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=820</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
I haven&amp;#8217;t been using ATM on Linux for some six years now. I neither have access to an ATM network any more nor do
I have ATM hardware any more. Therefore, I plan to remove ATM support from ifupdown-scripts-zg2 in the next release
which will be done in the next few weeks.
&lt;/p&gt;
&lt;p&gt;
If anybody does still use ATM on Linux in conjunction with my scripts, you might want to offer help with the package if
you want to have continued ATM support in ifdown-scripts-zg2. I cannot test the code any more and therefore cannot
maintain it in the future.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Thu, 16 Apr 2009 22:49:28 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/820-guid.html</guid>
    <category>atm</category>
<category>debian</category>
<category>debian-english</category>
<category>linux</category>
<category>network</category>

</item>
<item>
    <title>partition table gone, data still present</title>
    <link>http://blog.zugschlus.de/archives/819-partition-table-gone,-data-still-present.html</link>
            <category>Admintipp des Tages</category>
    
    <comments>http://blog.zugschlus.de/archives/819-partition-table-gone,-data-still-present.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=819</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=819</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
I just wanted to make an USB stick bootable and wondered why mkdiskimage -4 /dev/sda 0 32 64 complained about the disk
having too many cylinders. After a few moments, it ocurred to me that since libata, the system hard disk has become sda
and that the stick was sdb or sdc. One ctrl-C later, fdisk confirmed both counts: That I accidentally started
mkdiskimaging my main system hard disk and that the partition table was already gone.
&lt;/p&gt;
&lt;p&gt;
A few hours later, the notebook is back in business without too much data loss. Lucky me.
&lt;/p&gt;
 &lt;p&gt;
My notebook has an &amp;#8220;alibi&amp;#8221; installation of Windows XP in its first primary partition sized 4 GB. Since I
aborted the mkdiskimage process early enough, I hoped that only the windows installation was hosed. The Linux system is
entirely in LVM (with crypted LVs), and LVM hadn&amp;#8217;t noticed yet that its PV was gone. I reckoned that I still had a
chance to rescue my data if I didn&amp;#8217;t reboot.
&lt;/p&gt;
&lt;p&gt;
So I hastily commandeered an USB hard disk (thanks, $CUSTOMER, for quickly supplying one), fdisked, pvcreated and
vgextended it and started the pvmove. While this was happening, I theoretically was able to continue working, which I
didn&amp;#8217;t because I was afraid of losing. About half an hour into the copy process, the USB disk chose to deregister
itself and the pvmove aborted. Rebooting the disk made it reappear as sde (it was sdd before), and miraculously, a new
pvmove call just worked. However, a good fraction of actions on the shell resulted in a lot of input/output errors on
the screen. I guessed that this was the first sign of my data finally dying, but I let the pvmove continue.
&lt;/p&gt;
&lt;p&gt;
After the pvmove was finished (which was rather fast since the move of the &amp;#8220;crypted LV&amp;#8221; means that the
crypted data is moved and not de- and recrypted), I had to recreate a /dev/sda2 partition with type 8e before the LVM
tools allowed me to vgreduce the VG.
&lt;/p&gt;
&lt;p&gt;
I then zeroed out the first 10 GB of the internal disk and spent a few hours reinstalling and patching XP from scratch
before I finally went through the pvcreate, vgextend, pvmove routine in the other direction. Then the big moment
arrived: fsck of all LVs.
&lt;/p&gt;
&lt;p&gt;
I guess that the reason for the input/output errors was that /usr was completely hosed (no single file outside
lost+found), but /home and all other file systems holding data where the way back to the (a week old) backup would have
been quite painful were ok. I pulled /, /usr and /var from the backup to be consistent again, updated to current sid
(avoiding KDE 4 for the time being) and could start working again.
&lt;/p&gt;
&lt;p&gt;
The only real loss was a few hours of work that were stored in /usr/local which died along with /usr, so the result of
my stupidity was not very catastrophic but still a good lesson. And I have learned that LVM is a robust and resilient
beast. Good work. Now I&amp;#8217;d like to know what happened to my /usr - I always had the impression that pvmove should
not break data even when the target disk suddenly goes away...
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Wed, 08 Apr 2009 22:58:32 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/819-guid.html</guid>
    <category>dataloss</category>
<category>debian</category>
<category>debian-english</category>
<category>lvm</category>

</item>

</channel>
</rss>