<?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>s9y testdrive</title>
    <link>http://nerdbynature.de/s9y/</link>
    <description>who took the 'we' out of weblog?</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7-alpha1 - http://www.s9y.org/</generator>
    
    

<item>
    <title>dpkg: invalid character in version number</title>
    <link>http://nerdbynature.de/s9y/?301</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?301#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=301</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=301</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    After upgrading to &lt;a href=&quot;https://wiki.ubuntu.com/PrecisePangolin&quot;&gt;&quot;PrecisePangolin&quot;&lt;/a&gt;, this message got printed whenever &lt;a href=&quot;http://wiki.debian.org/dpkg&quot;&gt;dpkg&lt;/a&gt; wanted to install a package:

&lt;small&gt;
&lt;pre&gt;
dpkg: warning: parsing file &#039;/var/lib/dpkg/available&#039; near line 262698 \
          package &#039;lightning-extension-locale-hu&#039;:
 &#039;Depends&#039; field, reference to &#039;lightning-extension&#039;: error in version: \
          invalid character in version number
dpkg: warning: parsing file &#039;/var/lib/dpkg/available&#039; near line 76038 \
          package &#039;am-utils&#039;:
 &#039;Replaces&#039; field, reference to &#039;amd&#039;: error in version: \
          version number does not start with digit
&lt;/pre&gt;
&lt;/small&gt;

This got printed a few times, for every package with a weird entry. Apparently &lt;code&gt;/var/lib/dpkg/available&lt;/code&gt; got mangled during the upgrade:


&lt;small&gt;
&lt;pre&gt;
Package: lightning-extension-locale-hu
Depends: lightning-extension (&gt;= 0.7), lightning-extension (&lt;&lt; 0.7&lt;font color=&quot;red&quot;&gt;.*&lt;/font&gt;)
[...]
Package: am-utils
Replaces: amd (&lt;= &lt;font color=&quot;red&quot;&gt;upl&lt;/font&gt;102-35)
&lt;/pre&gt;
&lt;/small&gt;

Bug &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/636586&quot; title=&quot;dpkg complains about non-existing lines in /var/lib/dpkg/ files&quot;&gt;reports&lt;/a&gt; for this issue are usually being &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/663514&quot; title=&quot;incorrect symbol in /var/lib/dpkg/available&quot;&gt;closed&lt;/a&gt;, so I refered to the suggested practice of clearing the &lt;i&gt;available&lt;/i&gt; database:

&lt;pre&gt;
$ dpkg --clear-avail
&lt;/pre&gt;

And it worked, &lt;code&gt;dpkg&lt;/code&gt; installs much quieter now :-) 
    </content:encoded>

    <pubDate>Sat, 19 May 2012 01:16:24 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?301</guid>
    
</item>
<item>
    <title>Can't keep data. Incompatible partition. Press DELETE if data loss OK or any other key to cancel</title>
    <link>http://nerdbynature.de/s9y/?300</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?300#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=300</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=300</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    This &lt;a href=&quot;http://download.oracle.com/docs/cd/E19121-01/sf.v40z/&quot; title=&quot;Sun Fire V20z and Sun Fire V40z Servers Documentation&quot;&gt;v40z&lt;/a&gt; has an &lt;a href=&quot;http://www.lsi.com/products/storagecomponents/Pages/LSI53C1030.aspx&quot; title=&quot;LSI53C1030 SCSI Controlle&quot;&gt;LSI 53C1030 SCSI Controller&lt;/a&gt; and I wanted to build a RAID1 array out of the two disks present. However, once in the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/sametime/v8r0/index.jsp?topic=/com.ibm.help.sametime.telephony_install.doc/install/sut_inst_inst_tcsraidsetup.html&quot; title=&quot;RAID unit setup&quot;&gt;configuration menu&lt;/a&gt; (press &lt;code&gt;CTRL+C&lt;/code&gt; when the &lt;code&gt;MPTBIOS&lt;/code&gt; is being initialized), it&#039;s impossible to add any disk to a RAID array:

&lt;pre&gt;
 &lt;b&gt;Adapter Properties&lt;/b&gt; &amp;rarr; &lt;b&gt;RAID Properties&lt;/b&gt; &amp;rarr; 
 Select a disk and press &lt;b&gt;&lt;code&gt;+&lt;/code&gt;&lt;/b&gt;
&lt;/pre&gt;

Now the following choices appear:

&lt;pre&gt;
       F3 – Keep Data (Create 2 disk array)
 Delete – Erase Disk (Create 2 to 6 disk array)
&lt;/pre&gt;

I didn&#039;t care for the data and pressed &lt;b&gt;Delete&lt;/b&gt; to build a fresh array. But this didn&#039;t happen, instead the following was printed:

&lt;pre&gt;
 Can&#039;t keep data. Incompatible partition.
 Press DELETE if data loss OK or any other key to cancel
&lt;/pre&gt;

The &lt;a href=&quot;http://docs.oracle.com/cd/E19121-01/sf.v20z/817-5248-21/index.html&quot; title=&quot;Sun Fire V20z and Sun Fire V40z Servers--User Guide &quot;&gt;user guide&lt;/a&gt; even has &lt;a href=&quot;http://docs.oracle.com/cd/E19121-01/sf.v20z/817-5248-21/appd.html#0_pgfId-1003105&quot; title=&quot;APPENDIX D&quot;&gt;entry&lt;/a&gt; for this, suggesting to remove any partitions of &lt;a href=&quot;http://www.win.tue.nl/~aeb/partitions/partition_types-1.html&quot; title=&quot;List of partition identifiers for PCs&quot;&gt;type&lt;/a&gt; &lt;code&gt;8e&lt;/code&gt; (Linux LVM) from the primary disk. Well, the disks in question had an operating system installed, not a single partition was of type &lt;code&gt;0x8e&lt;/code&gt;.&lt;br/&gt;&lt;br/&gt;

Anyway, I booted the system into a &lt;a href=&quot;http://grml.org/&quot; title=&quot;GRML.org&quot;&gt;recovery&lt;/a&gt;, deleted all partitions and created just one single partition of type &lt;code&gt;0x83&lt;/code&gt; (Linux). Again in the &lt;code&gt;MPTBIOS&lt;/code&gt; and I still cannot create a RAID array, as the very same error message appeared. Grrr.&lt;br/&gt;&lt;br/&gt;

Back into recovery and to delete the single &lt;code&gt;0x83&lt;/code&gt; partition created earlier. That did the trick, now &lt;code&gt;MPTBIOS&lt;/code&gt; did not complain and the RAID array is now in place. Yay! :-) 
    </content:encoded>

    <pubDate>Fri, 18 May 2012 20:09:29 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?300</guid>
    
</item>
<item>
    <title>T-Mobile &amp; ICS - but no tethering?</title>
    <link>http://nerdbynature.de/s9y/?299</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?299#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=299</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=299</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    The wait is finally over, &lt;a href=&quot;http://support.t-mobile.com/docs/DOC-2392&quot; title=&quot;Software update: HTC Sensation 4G&quot;&gt;T-Mobile USA releases ICS for the HTC Sensation&lt;/a&gt;. But once the update is installed, &lt;i&gt;tethering&lt;/i&gt; won&#039;t be &quot;free&quot;&lt;a href=&quot;http://www.androidpolice.com/2012/05/15/t-mobile-to-end-the-era-of-free-tethering-if-you-ever-had-it-to-begin-with/&quot; title=&quot;T-Mobile To End The Era Of Free Tethering (If You Ever Had It To Begin With)&quot;&gt; anymore?&lt;/a&gt; With &quot;free&quot; I meant &quot;included in their already ridiculously expensive plans for their lousy 4G service&quot;, of course.&lt;br/&gt;&lt;br/&gt;

Sure, their &lt;a href=&quot;https://www.t-mobile.com/Templates/Popup.aspx?PAsset=Ftr_Ftr_TermsAndConditions&amp;print=true&quot; title=&quot;T-Mobile Terms &amp;amp; Conditions&quot;&gt;Terms &amp;amp; Conditions&lt;/a&gt; are pretty clear on that:&lt;p/&gt;

&lt;pre&gt;
Your Data Plan is intended for Web browsing, messaging, and similar
activities on your Device and not on any other equipment. Unless
explicitly permitted by your Data Plan, other uses, including for
example, using your Device as a modem or tethering your Device to
a personal computer or other hardware, are not permitted.
&lt;/pre&gt;

So, while having (and using) this feature before, T-Mobile was simply not &lt;i&gt;enforcing&lt;/i&gt; their own policies. But come on, guys - it&#039;s 2012: releasing a belated &lt;a href=&quot;http://www.android.com/about/ice-cream-sandwich/&quot; title=&quot;Introducing Android 4.0&quot;&gt;ICS&lt;/a&gt; and at the same time disable on of the more useful features (not to mention cluttering it with your &quot;branding&quot;) seems like one step forward, two steps backward to me. With &lt;a href=&quot;http://forum.cyanogenmod.com/topic/44732-no-72-for-pyramid/&quot; title=&quot;No 7.2 for Pyramid?&quot;&gt;no CyanogenMod&lt;/a&gt; readily available, I guess I&#039;m gonna stick to &lt;a href=&quot;http://developer.android.com/sdk/android-2.3.4.html&quot;&gt;v2.3.4&lt;/a&gt; for now :-\
 
    </content:encoded>

    <pubDate>Wed, 16 May 2012 19:02:07 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?299</guid>
    
</item>
<item>
    <title>MacOS: This document could not be autosaved.</title>
    <link>http://nerdbynature.de/s9y/?298</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?298#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=298</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=298</wfw:commentRss>
    

    <author>nospam@example.com (admin)</author>
    <content:encoded>
    Every now and then &lt;a href=&quot;https://en.wikipedia.org/wiki/TextEdit&quot;&gt;TextEdit.app&lt;/a&gt; complains that it &lt;a href=&quot;http://apple.stackexchange.com/questions/50760/apps-occasionally-start-showing-the-document-could-not-be-autosaved-dialogs&quot; title=&quot;Apps occasionally start showing &amp;quot;The document could not be autosaved&amp;quot; dialogs&quot;&gt;cannot &lt;i&gt;autosave&lt;/i&gt; a document&lt;/a&gt;:

&lt;pre&gt;
The document &quot;foo.txt&quot; could not be autosaved.
Your changes will not be saved until the problem is resolved.
You can also duplicate the document or discard your changes to close it.
&lt;/pre&gt;

I don&#039;t make use of &lt;a href=&quot;https://support.apple.com/kb/HT4753&quot; title=&quot;OS X Lion: About Auto Save and Versions&quot;&gt;Auto Save and Versions&lt;/a&gt; and I&#039;m not using &lt;a href=&quot;https://support.apple.com/kb/HT1427&quot; title=&quot;Mac 101: Time Machine&quot;&gt;Time Machine&lt;/a&gt; either, so this whole autosaving business is kinda annoying. The usual way to remediate this particular error message &lt;small&gt;(no, it&#039;s &lt;i&gt;not&lt;/i&gt; a &lt;a href=&quot;https://discussions.apple.com/message/15866980#15866980&quot; title=&quot;Lion asking for password to delete trash or overwrite files&quot;&gt;permission issue&lt;/a&gt;)&lt;/small&gt; is to quit &lt;code&gt;TextEdit.app&lt;/code&gt; (and possibly discarding the latest modifications) and try again. Sometimes it takes a few iterations of this :-\&lt;br/&gt;&lt;br/&gt;

Syslog has a few more details:

&lt;small&gt;
&lt;pre&gt;
[0x0-0x74074].com.apple.TextEdit[19479]: [ERROR] GSLibrary.c:_AddGenerationInternal:393 \
Failed to consume sandbox extension; error 12 (Cannot allocate memory)

TextEdit[19479]: NSFileVersion tried to tried to add a new generation and failed. \
 Versioned file URL: file://localhost/Users/bob/Documents/foo.txt, \
 contents URL: file://localhost/Users/bob/Documents/foo.txt, error: \
 Error Domain=GSLibraryErrorDomain Code=1 &quot;The operation couldn’t be completed. \
 (GSLibraryErrorDomain error 1.)&quot; UserInfo=0x7fe3e8652c10 {}

TextEdit[19479]: NSDocument failed to preserve the old version of a document.\
 Here&#039;s the error: Error Domain=GSLibraryErrorDomain Code=1 \
 &quot;The operation couldn’t be completed. (GSLibraryErrorDomain error 1.)&quot; \
 UserInfo=0x7fe3e8652c10 {}
&lt;/pre&gt;
&lt;/small&gt;

Very annoying. Here&#039;s how to &lt;a href=&quot;http://apple.stackexchange.com/questions/27544/disable-auto-save-and-versions-in-mac-os-x-lion&quot; title=&quot;Disable auto-save and versions in Mac OS X Lion&quot;&gt;disable&lt;/a&gt; &quot;Auto Save and Versions&quot;. Apparently, &lt;a href=&quot;http://www.macintouch.com/specialreports/lion/review4.html#avtm&quot; title=&quot;Mac OS X 10.7 Lion Review (Part IV)&quot;&gt;revisiond(8)&lt;/a&gt; (&quot;storage manager for document revisions&quot;) is responsible for this task:

&lt;pre&gt;
$ launchctl list | grep revisiond
73      -       com.apple.revisiond

$ locate revisiond | grep plist
/System/Library/LaunchDaemons/com.apple.revisiond.plist

$ launchctl unload -w /System/Library/LaunchDaemons/com.apple.revisiond.plist

$ rm -rf /.DocumentRevisions-V100 &amp;&amp;amp; touch /.DocumentRevisions-V100 
&lt;/pre&gt;

The next time &lt;code&gt;TextEdit.app&lt;/code&gt; wanted to save a document, the following was displayed:

&lt;pre&gt;
The document &quot;foo.txt&quot; is on a volume that does not support permanent version storage. 
You will not be able to access older versions of this document once you close it.

[x] Do not show this message again
&lt;/pre&gt;

Perfect! Be sure to tick that &lt;code&gt;&quot;Do not show this message again&quot;&lt;/code&gt; box :-) 
    </content:encoded>

    <pubDate>Tue, 15 May 2012 04:56:38 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?298</guid>
    
</item>
<item>
    <title>NFSv4: /mnt/nfs was not found in /proc/mounts</title>
    <link>http://nerdbynature.de/s9y/?297</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?297#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=297</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=297</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    This machine had a stale &lt;a href=&quot;http://linux-nfs.org/&quot; title=&quot;Linux NFS&quot;&gt;NFS mount&lt;/a&gt;. But attempting to unmount gave a rather strange message:

&lt;pre&gt;
$ umount /mnt/nfs
/mnt/nfs was not found in /proc/mounts
&lt;/pre&gt;

Let&#039;s look at &lt;a href=&quot;http://man.cat-v.org/unix_8th/5/mtab&quot; title=&quot;mtab(5)&quot;&gt;mtab&lt;/a&gt; first:

&lt;pre&gt;
$ mount | grep nfs
server:/mnt/export/dir0 on /mnt/nfs type nfs (ro,vers=4,addr=10.0.0.10,clientaddr=10.0.0.30)
&lt;/pre&gt;

OK, but why isn&#039;t it found in &lt;a href=&quot;https://www.kernel.org/doc/Documentation/filesystems/proc.txt&quot; title=&quot;THE /proc FILESYSTEM&quot;&gt;/proc/mounts&lt;/a&gt; then?

&lt;pre&gt;
$ grep nfs /proc/mounts 
server:/mnt/export/dir0 /mnt/nfs&lt;font color=&quot;red&quot;&gt;\040(deleted)&lt;/font&gt; \
                   nfs4  ro,nosuid,nodev,noexec,relatime,\
                   vers=4,rsize=131072,wsize=131072,namlen=255,\
                   hard,proto=tcp,port=0,timeo=600,retrans=2,\
                   sec=sys,local_lock=none,clientaddr=10.0.0.30,\
                   minorversion=0,addr=10.0.0.10 0 0
&lt;/pre&gt;

Hah! Somehow the entry in &lt;code&gt;/proc/mounts&lt;/code&gt; got mangled. OK, &lt;code&gt;\040&lt;/code&gt; is &lt;a href=&quot;https://www.kernel.org/doc/man-pages/online/pages/man7/ascii.7.html&quot; title=&quot;ascii(7)&quot;&gt;octal&lt;/a&gt; for &lt;i&gt;SPACE&lt;/i&gt;. But &lt;a href=&quot;http://linux.die.net/man/8/umount&quot; title=&quot;umount(8)&quot;&gt;umount(8)&lt;/a&gt; still fails:

&lt;pre&gt;
$ umount /mnt/nfs\ \(deleted\)
umount.nfs: /mnt/nfs (deleted): not found
umount.nfs: /mnt/nfs (deleted): not found
&lt;/pre&gt;

Apparently &lt;code&gt;umount(8)&lt;/code&gt; tried to find the entries from &lt;code&gt;/proc/mounts&lt;/code&gt; in &lt;code&gt;/etc/mtab&lt;/code&gt; but failed, due to the mismatch of both files. After adding &lt;font color=&quot;red&quot;&gt;\040(deleted)&lt;/font&gt; to the &lt;code&gt;local-directory&lt;/code&gt; part in &lt;code&gt;/etc/mtab&lt;/code&gt;, &lt;code&gt;umount(8)&lt;/code&gt; did something:

&lt;pre&gt;
$ umount /mnt/nfs&lt;font color=&quot;red&quot;&gt;*&lt;/font&gt;
umount: /mnt/nfs Stale NFS file handle
&lt;/pre&gt;

The entry got removed from &lt;code&gt;/etc/mtab&lt;/code&gt;, but the &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=702273&quot; title=&quot;Bug 702273 - Cannot umount NFS mount containing spaces&quot;&gt;mangled&lt;/a&gt; entry still shows up in &lt;code&gt;/proc/mounts&lt;/code&gt;. Now all is left is a &lt;a href=&quot;https://duckduckgo.com/?q=&amp;quot;stale NFS file handle&amp;quot;&quot; title=&quot;stale NFS file handle&quot;&gt;stale NFS file handle&lt;/a&gt;:

&lt;pre&gt;
$ umount -f /mnt/nfs
umount2: Stale NFS file handle
umount: /mnt/nfs: Stale NFS file handle
&lt;/pre&gt;

Sadly, &lt;a href=&quot;http://www.cyberciti.biz/tips/nfs-stale-file-handle-error-and-solution.html&quot; title=&quot;NFS Stale File Handle error and solution&quot;&gt;this&lt;/a&gt; could only be cured by a reboot :-\ 
    </content:encoded>

    <pubDate>Sun, 13 May 2012 06:54:45 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?297</guid>
    
</item>
<item>
    <title>Fedora dependency madness</title>
    <link>http://nerdbynature.de/s9y/?296</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?296#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=296</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=296</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    &lt;pre&gt;
$ yum install mysql-server
Loaded plugins: changelog
Resolving Dependencies
--&gt; Running transaction check
[...]
Dependencies Resolved

 Package
====================================
Installing:
 mysql-server                              
Installing for dependencies:
 libaio                                    
 libevent                                  
 perl-AnyEvent                             
 perl-AnyEvent-AIO                         
 perl-AnyEvent-BDB                         
 perl-Async-MergePoint                     
 perl-BDB                                  
 perl-Compress-Raw-Bzip2                   
 perl-Compress-Raw-Zlib                    
 perl-Coro                                 
 perl-Curses                               
 perl-DBD-MySQL                            
 perl-DBI                                  
 perl-EV                                   
 perl-Encode-Locale                        
 perl-Event                                
 perl-Event-Lib                            
 perl-Glib                                 
 perl-Guard                                
 perl-HTML-Parser                          
 perl-HTML-Tagset                          
 perl-HTTP-Date                            
 perl-HTTP-Message                         
 perl-Heap                                 
 perl-IO-AIO                               
 perl-IO-Async                             
 perl-IO-Compress                          
 perl-IO-Socket-SSL                        
 perl-IO-Tty                               
 perl-LWP-MediaTypes                       
 perl-Net-HTTP                             
 perl-Net-LibIDN                           
 perl-Net-SSLeay                           
 perl-POE                                  
 perl-Socket-GetAddrInfo                   
 perl-Socket6                              
 perl-TermReadKey                          
 perl-TimeDate                             
 perl-URI                                  
 perl-common-sense                         
Transaction Summary
===========================================
Install  1 Package (+40 Dependent packages)
Total download size: 13 M
Installed size: 51 M
Is this ok [y/N]:  
&lt;/pre&gt;

Seriously? I &lt;s&gt;thought&lt;/s&gt; had hoped the times of RPM&#039;s &lt;a href=&quot;https://en.wikipedia.org/wiki/Dependency_hell#Platform-specific&quot; title=&quot;WP: Dependency hell&quot;&gt;dependency hell&lt;/a&gt; were over? 
    </content:encoded>

    <pubDate>Mon, 16 Apr 2012 06:05:09 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?296</guid>
    
</item>
<item>
    <title>Pacific vs. Pacific-New</title>
    <link>http://nerdbynature.de/s9y/?294</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?294#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=294</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=294</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    While configuring &lt;a href=&quot;http://packages.qa.debian.org/t/tzdata.html&quot; title=&quot;Debian Package Tracking System - tzdata&quot;&gt;tzdata&lt;/a&gt;, the &lt;a href=&quot;http://packages.qa.debian.org/d/debconf.html&quot; title=&quot;Debian Package Tracking System - debconf&quot;&gt;debconf&lt;/a&gt; dialog asked:

&lt;pre&gt;
 Please select the city or region corresponding to your time zone.
 Time zone: 
   [...]
   Mountain
   Pacific
   Pacific-New
   [...]
&lt;/pre&gt;

Huh? WTF is &lt;i&gt;Pacific-New&lt;/i&gt;? Looking around one can find &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524046&quot; title=&quot;tzdata doesn&#039;t include timezones from the pacificnew file&quot;&gt;#524046&lt;/a&gt; from 2009, where the &quot;pacificnew&quot; &lt;a href=&quot;https://en.wikipedia.org/wiki/Tz_database#Unix-like_systems&quot; title=&quot;Wikipedia: Tz_database&quot;&gt;zonefile&lt;/a&gt; got included without any &lt;a href=&quot;http://comments.gmane.org/gmane.comp.time.tz/2585&quot; title=&quot;tz@iana.org: Pacific-New&quot;&gt;debate&lt;/a&gt;. In fact, the zonefiles appear to be equal in every detail:

&lt;pre&gt;
$ ls -ligo /usr/share/zoneinfo/US/Pacific /usr/share/zoneinfo/US/Pacific-New
352130 -rw-r--r-- 2 2819 Oct 31 15:49 /usr/share/zoneinfo/US/Pacific
352130 -rw-r--r-- 2 2819 Oct 31 15:49 /usr/share/zoneinfo/US/Pacific-New
&lt;/pre&gt;

And even their checksums match. That being established, I think it&#039;s safe to just choose &lt;i&gt;&quot;Pacific&quot;&lt;/i&gt; and be done with it. Who knows when &lt;a href=&quot;http://kamelopedia.mormo.org/index.php/Sie&quot; title=&quot;Kamelopedia: Sie&quot;&gt;they&lt;/a&gt; will remove the &lt;i&gt;Pacific-New&lt;/i&gt; zonefile again... 
    </content:encoded>

    <pubDate>Mon, 12 Mar 2012 08:42:21 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?294</guid>
    
</item>
<item>
    <title>Fuzzy uniq &amp; colorized HTML diffs</title>
    <link>http://nerdbynature.de/s9y/?292</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?292#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=292</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=292</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    The other day I came across a file full of these infamous &lt;i&gt;&lt;a href=&quot;http://www.sueddeutsche.de/politik/alle-kinder-witze-alle-kinder-laufen-ueber-den-friedhof-1.390021&quot;&gt;&quot;Alle Kinder...&quot;&lt;/a&gt;&lt;/i&gt; jokes. But the file was rich in &lt;i&gt;almost&lt;/i&gt;-duplicates:

&lt;pre&gt;
$ grep Liter alle-kinder.txt 
Alle Kinder sind besoffen, nur nicht Dieter, der trinkt noch &#039;n Liter
Alle Kinder sind besoffen, nur nicht Dieter, der trinkt noch &lt;font color=&quot;red&quot;&gt;nen&lt;/font&gt; Liter
Alle Kinder sind besoffen&lt;font color=&quot;red&quot;&gt;.&lt;/font&gt; nur nicht Dieter, der trinkt noch &#039;n Liter&lt;font color=&quot;red&quot;&gt;.&lt;/font&gt;
&lt;/pre&gt;

So I could not just use &lt;a href=&quot;http://www.gnu.org/software/coreutils/manual/html_node/sort-invocation.html#sort-invocation&quot;&gt;sort(1)&lt;/a&gt; and filter out the duplicates - because they were not &lt;i&gt;really&lt;/i&gt; duplicates. So I needed something to look for &lt;i&gt;similar&lt;/i&gt; jokes in that file and filter them out, just like &lt;a href=&quot;http://www.gnu.org/software/coreutils/manual/html_node/uniq-invocation.html#uniq-invocation&quot;&gt;uniq(1)&lt;/a&gt; would do.&lt;br/&gt;&lt;br/&gt;

Luckily the internet is here to help, as always, and I came across &lt;a href=&quot;http://cdunix.blogspot.com/2008/10/fuzzy-uniq-or-parsing-connectdirect.html&quot;&gt;this fantastic script&lt;/a&gt;: a &lt;i&gt;fuzzy&lt;/i&gt; version of &lt;code&gt;uniq(1)&lt;/code&gt;. Running the file through the script, only one of the 3 occurences of the same joke is left:

&lt;pre&gt;
$ &lt;a href=&quot;https://github.com/ckujau/scripts/blob/master/funiq.sh&quot;&gt;funiq.sh&lt;/a&gt; alle-kinder.txt | grep Liter
Alle Kinder sind besoffen, nur nicht Dieter, der trinkt noch &#039;n Liter.
&lt;/pre&gt;

Great! Oh, but then it&#039;d be interesting to see which entries got kicked by the fuzzy uniq script. Sure, &lt;a href=&quot;http://www.gnu.org/software/diffutils/manual/diffutils.html&quot;&gt;diff(1)&lt;/a&gt; could do that. But for some reason I wanted diff&#039;s output in color. Hm, &lt;a href=&quot;http://colordiff.sourceforge.net/&quot;&gt;ColorDiff&lt;/a&gt;? But what if I wanted the output to be HTML too? Don&#039;t ask what gave me that idea but it&#039;s nice to know that other people are equally crazy and put up a &lt;a href=&quot;http://www.linuxjournal.com/content/convert-diff-output-colorized-html&quot;&gt;bash script to convert diff output into colorized HTML&lt;/a&gt;. Yeah, you got that right:&lt;br/&gt;

&lt;pre&gt;
$ diff -u alle-kinder.txt alle-kinder_fuzzy.txt | &lt;a href=&quot;https://github.com/ckujau/scripts/blob/master/diff2html.sh&quot;&gt;diff2html.sh&lt;/a&gt; | &lt;a href=&quot;http://tidy.sourceforge.net/&quot;&gt;tidy&lt;/a&gt; &gt; diff.html
&lt;/pre&gt;

And out comes something like &lt;a href=&quot;/bits/misc/alle-kinder_diff.html&quot;&gt;this&lt;/a&gt; :-) 
    </content:encoded>

    <pubDate>Wed, 29 Feb 2012 06:58:04 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?292</guid>
    
</item>
<item>
    <title>Upside-Down-Ternet</title>
    <link>http://nerdbynature.de/s9y/?291</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?291#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=291</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=291</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    With &lt;a href=&quot;https://en.wikipedia.org/wiki/April_Fools%27_Day&quot;&gt;April Fool&#039;s Day&lt;/a&gt; coming closer, it&#039;s time &lt;a href=&quot;http://www.rsreese.com/how-to-setup-an-upside-down-ternet/&quot; title=&quot;How-to setup an Upside-Down-Ternet&quot;&gt;for&lt;/a&gt; &lt;a href=&quot;http://breakingsystemsforfunandprofit.com/archives/118&quot; title=&quot;The Lolcats, they are everywhere!&quot;&gt;yet&lt;/a&gt; &lt;a href=&quot;https://help.ubuntu.com/community/Upside-Down-TernetHowTo&quot; title=&quot;Upside-Down-TernetHowTo&quot;&gt;another&lt;/a&gt; &lt;a href=&quot;http://www.ex-parrot.com/~pete/upside-down-ternet.html&quot; title=&quot;Upside-Down-Ternet&quot;&gt;Upside-Down-Ternet&lt;/a&gt; howto - only this time with &lt;a href=&quot;https://forum.openwrt.org/viewtopic.php?id=18582&quot; title=&quot;External proxy for transparent proxying&quot;&gt;OpenWrt redirecting to an external Squid proxy&lt;/a&gt;. The setup in short:

&lt;ul&gt;
&lt;li&gt;Install &lt;a href=&quot;http://www.squid-cache.org/&quot;&gt;Squid3&lt;/a&gt;, with the following settings in &lt;a href=&quot;http://www.squid-cache.org/Versions/v3/3.1/cfgman/&quot;&gt;squid.conf&lt;/a&gt;:
&lt;pre&gt;
  acl localnet src 10.0.0.0/24
  http_access allow localnet
  http_port 3128 intercept
  url_rewrite_program /usr/local/bin/flip.pl
&lt;/pre&gt;&lt;/li&gt;

&lt;li&gt;The &lt;a href=&quot;https://github.com/ckujau/scripts/blob/master/ternet/flip.pl&quot;&gt;/usr/local/bin/flip.pl&lt;/a&gt; does the actual work and turns the images upside down. There are a &lt;a href=&quot;https://code.google.com/p/g0tmi1k/source/browse/trunk#trunk/squidScripts&quot;&gt;lot of other scripts&lt;/a&gt; to choose from :-)&lt;/li&gt;&lt;br/&gt;

&lt;li&gt;Configure your local webserver, so that the URL from &lt;code&gt;flip.pl&lt;/code&gt; can be served. Also, one must take care that permissions are set correctly:
&lt;pre&gt;
  mkdir -m2750 /var/www/ternet
  chown proxy:www-data /var/www/ternet
&lt;/pre&gt;
This way, the Squid proxy running as user &lt;code&gt;&quot;proxy&quot;&lt;/code&gt; can write to the directory while the webserver, running as user &lt;code&gt;&quot;www-data&quot;&lt;/code&gt; can read from it.&lt;/li&gt;&lt;br/&gt;

&lt;li&gt;
Since there&#039;s &lt;a href=&quot;http://openwrt.org/&quot;&gt;OpenWrt&lt;/a&gt; running on our &lt;a href=&quot;http://wiki.openwrt.org/toh/linksys/wrt54g&quot;&gt;gateway&lt;/a&gt;, we have all the &lt;a href=&quot;http://netfilter.org/&quot;&gt;iptables&lt;/a&gt; power we need to &lt;a href=&quot;https://github.com/ckujau/scripts/blob/master/ternet/iptables-ternet.sh&quot;&gt;redirect traffic&lt;/a&gt; to our Squid proxy:
&lt;pre&gt;
SRC=10.0.0.0/24
IFACE=br-lan
ROUTER=10.0.0.1
PROXY=10.0.0.20
PROXY_PORT=3128
 iptables -t nat -A prerouting_rule \
     -i $IFACE ! -s $PROXY -p tcp --dport 80 -j DNAT --to $PROXY:$PROXY_PORT
 iptables -t nat -A postrouting_rule \
     -o $IFACE -s $SRC -d $PROXY -j SNAT --to $ROUTER
 iptables -A forwarding_rule \
     -i $IFACE -o $IFACE -s $SRC -d $PROXY -p tcp --dport $PROXY_PORT -j ACCEPT
&lt;/pre&gt;
Note: We&#039;re using the internal OpenWrt chains here, instead of the predefined &lt;code&gt;PREROUTING, POSTROUTING, FORWARD&lt;/code&gt; chains. This way our rules actually get &lt;i&gt;inserted&lt;/i&gt; rather than &lt;i&gt;appended&lt;/i&gt; to any existing rules.
&lt;/li&gt;
&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Sat, 18 Feb 2012 08:28:24 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?291</guid>
    
</item>
<item>
    <title>mysqldump: Incorrect key file for table</title>
    <link>http://nerdbynature.de/s9y/?290</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?290#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=290</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=290</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    Today, &lt;a href=&quot;&quot;http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html&quot; title=&quot;4.5.4. mysqldump — A Database Backup Program&quot;&gt;mysqldump&lt;/a&gt; complained about:

&lt;pre&gt;
[...]
mysqldump: Couldn&#039;t execute &#039;SELECT /*!40001 SQL_NO_CACHE */ * FROM `COLUMNS`&#039;: 
        Incorrect key file for table &#039;&lt;font color=&quot;red&quot;&gt;/var/run/mysqld/#sql_2935_0.MYI&#039;&lt;/font&gt;; 
        try to repair it (126)
mysqldump: Got error: 126: Incorrect key file for table &#039;/var/run/mysqld/#sql_2935_0.MYI&#039;; 
        try to repair it when retrieving data from server
&lt;/pre&gt;

Well, the &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.1/en/error-messages-server.html#error_er_not_keyfile&quot; title=&quot;Error: 1034 SQLSTATE: HY000 (ER_NOT_KEYFILE)&quot;&gt;error message&lt;/a&gt; is pretty clear - but there&#039;s no table in &lt;code&gt;/var/run/mysqld&lt;/code&gt;. In fact, &lt;i&gt;no&lt;/i&gt; database should reside in this directory! The server&#039;s &lt;code&gt;my.cnf&lt;/code&gt; has:

&lt;pre&gt;
  datadir         = /var/lib/mysql
  tmpdir          = /var/run/mysqld
&lt;/pre&gt;

So, what was going on here? Of course, the &lt;a href=&quot;http://www.webhostingtalk.com/showthread.php?p=7585732#post7568904&quot; title=&quot;Incorrect key file for table &#039;#sql_43b6_0.MYI&#039;; try to repair it&quot;&gt;internet was there to help&lt;/a&gt; :-) Because &lt;code&gt;/var/run&lt;/code&gt; was mounted as &lt;a href=&quot;https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt&quot;&gt;tmpfs&lt;/a&gt; and only 10MB in size, &lt;code&gt;mysqldump&lt;/code&gt; appears to have exceeded this space. Resizing &lt;code&gt;/var/run&lt;/code&gt; helped:

&lt;pre&gt;
$ mount -o remount,size=134217728 /var/run                # 128M
&lt;/pre&gt;

Watching &lt;code&gt;/var/run&lt;/code&gt; during the next &lt;code&gt;mysqldump&lt;/code&gt; run shows how much memory is needed for it to complete:

&lt;pre&gt;
varrun                128M  2.2M  126M   2% /var/run
varrun                128M  3.8M  125M   3% /var/run
varrun                128M  4.3M  124M   4% /var/run
varrun                128M  5.9M  123M   5% /var/run
varrun                128M  7.6M  121M   6% /var/run
varrun                128M  8.6M  120M   7% /var/run
&lt;font color=&quot;blue&quot;&gt;varrun                128M   11M  118M   8% /var/run
varrun                128M   12M  117M   9% /var/run
varrun                128M   13M  116M  10% /var/run&lt;/font&gt;
varrun                128M  1.3M  127M   2% /var/run
&lt;/pre&gt;

All databases combined are only ~750MB in size, but resizing &lt;code&gt;/var/run&lt;/code&gt; a bit might have been long overdue anyway :-)

&lt;!--
mysqldump --extended-insert --force --flush-logs --flush-privileges --skip-lock-tables --hex-blob --routines --triggers information_schema
--&gt; 
    </content:encoded>

    <pubDate>Wed, 15 Feb 2012 04:18:39 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?290</guid>
    
</item>
<item>
    <title>openSUSE dependency madness</title>
    <link>http://nerdbynature.de/s9y/?289</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?289#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=289</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=289</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    No, I&#039;m not bored - just curious what the &lt;a href=&quot;http://distrowatch.com/&quot; title=&quot;distrowatch.com&quot;&gt;other camps&lt;/a&gt; are up to. This time: &lt;a href=&quot;http://software.opensuse.org/121&quot; title=&quot;openSUSE 12.1&quot;&gt;openSUSE 12.1&lt;/a&gt;. Of course, after a minimal installation a few things are missing. &lt;a href=&quot;http://software.opensuse.org/search?q=&quot;man&quot;&amp;baseproject=openSUSE%3A12.1&quot; title=&quot;openSUSE Package Search&quot;&gt;Manpages&lt;/a&gt;, for example. But what the hell is this:

&lt;pre&gt;
   $ zypper install man
   The following NEW packages are going to be installed:
     cups-libs fontconfig ghostscript-fonts-other ghostscript-fonts-std 
     ghostscript-library groff groff-devx lcms libfreetype6 libgimpprint
     libjpeg62 liblcms1 libpng14-14 libtiff3 man 

   The following recommended packages were automatically selected:
     ghostscript-fonts-other ghostscript-library 

   15 new packages to install.
   Overall download size: 14.9 MiB. After the operation, additional 67.8 MiB will be used.
&lt;/pre&gt;

15 new packages, almost 70 MB for a bunch of text files. And why would I need &lt;code&gt;cups-libs&lt;/code&gt; or &lt;code&gt;libjpeg62&lt;/code&gt;? Luckily, &lt;code&gt;zypper&lt;/code&gt; too can be tought not to install &lt;i&gt;recommended&lt;/i&gt; packages:

&lt;pre&gt;
   $ zypper install &lt;font color=&quot;blue&quot;&gt;--no-recommends&lt;/font&gt; man
   The following NEW packages are going to be installed:
     groff man 

   2 new packages to install.
   Overall download size: 2.4 MiB. After the operation, additional 10.0 MiB will be used.
&lt;/pre&gt;

Much better :-)

There&#039;s an &lt;code&gt;installRecommends&lt;/code&gt; switch in &lt;code&gt;/etc/zypp/zypper.conf&lt;/code&gt;, but this was not honored by &lt;code&gt;zypper 1.6.18&lt;/code&gt; :-\ &lt;br/&gt;&lt;br/&gt;

Sadly, this does not help with all packages:

&lt;pre&gt;
   $ zypper install --no-recommends nginx
   The following NEW packages are going to be installed:
     fontconfig gd libfreetype6 libGeoIP1 libjpeg62 libpng14-14 libxslt1 nginx-1.0 
     xorg-x11-libICE xorg-x11-libSM xorg-x11-libX11 xorg-x11-libXau 
     xorg-x11-libxcb xorg-x11-libXext xorg-x11-libXpm xorg-x11-libXt 

   16 new packages to install.
   Overall download size: 3.0 MiB. After the operation, additional 11.8 MiB will be used.
&lt;/pre&gt;

&lt;a href=&quot;http://nerdbynature.de/s9y/uploads/orly.jpg&quot;&gt;Really?&lt;/a&gt; openSUSE has &lt;a href=&quot;https://bugzilla.novell.com/show_bug.cgi?id=684588&quot; title=&quot;Bug 684588 - nginx package dependencies includes apache and xorg libs&quot;&gt;bundled&lt;/a&gt; a &lt;i&gt;webserver&lt;/i&gt; with &lt;a href=&quot;http://www.x.org/&quot;&gt;Xorg&lt;/a&gt; libraries? Sigh... I can already smell the b0rkage when the next update is due and &lt;a href=&quot;http://en.opensuse.org/Portal:Zypper&quot;&gt;zypper&lt;/a&gt; is trying to untangle all the dependencies for every friggin&#039; package ever installed because of insane dependencies like this.&lt;br/&gt;&lt;br/&gt;

Oh, and while we&#039;re at it: you might want to &lt;i&gt;remove&lt;/i&gt; &lt;a href=&quot;https://bugzilla.novell.com/show_bug.cgi?id=721678&quot;&gt;patterns-openSUSE-minimal_base-conflicts&lt;/a&gt; otherwise lots of packages won&#039;t install. 
    </content:encoded>

    <pubDate>Sat, 04 Feb 2012 04:38:05 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?289</guid>
    
</item>
<item>
    <title>No sound in MacOS 10.7?</title>
    <link>http://nerdbynature.de/s9y/?288</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?288#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=288</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=288</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    Well, now that more and more &lt;a href=&quot;http://nerdbynature.de/s9y/uploads/1238856994318.jpg&quot; title=&quot;MacOS explained&quot;&gt;fanboys&lt;/a&gt; have upgraded to 10.7, the forums are &lt;a href=&quot;https://duckduckgo.com/?q=no+sound+mac+os+lion&quot; title=&quot;no sound mac os lion&quot;&gt;full of it&lt;/a&gt;: sometimes it happens that &lt;i&gt;sound&lt;/i&gt; stops working in MacOS Lion.&lt;br/&gt;

As it &lt;a href=&quot;https://discussions.apple.com/message/15659954#15659954&quot;&gt;turns out&lt;/a&gt;, restarting &lt;code&gt;coreaudiod&lt;/code&gt; is all it takes to get it working again:&lt;br/&gt;

&lt;pre&gt;
$ launchctl list | grep audio
&lt;font color=&quot;green&quot;&gt;7159&lt;/font&gt;    -       com.apple.audio.coreaudiod

$ launchctl stop com.apple.audio.coreaudiod

$ sudo launchctl list | grep audio
&lt;font color=&quot;green&quot;&gt;7589&lt;/font&gt;    -       com.apple.audio.coreaudiod
&lt;/pre&gt; 
    </content:encoded>

    <pubDate>Wed, 01 Feb 2012 10:41:47 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?288</guid>
    
</item>
<item>
    <title>XCode: You have updates available for other accounts</title>
    <link>http://nerdbynature.de/s9y/?287</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?287#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=287</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=287</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    Logged in to my &lt;a href=&quot;https://www.apple.com/mac/app-store/&quot;&gt;Mac App Store&lt;/a&gt; account today, the &lt;i&gt;&quot;Purchases&quot;&lt;/i&gt; tab greeted me with an update for &lt;a href=&quot;https://developer.apple.com/xcode/&quot; title=&quot;Xcode&quot;&gt;Xcode&lt;/a&gt;. However, &lt;i&gt;clicking&lt;/i&gt; on it only resulted in the following:

&lt;pre&gt;
  You have updates available for other accounts.
  Sign into the account you used to purchase it.
&lt;/pre&gt;

Huh? I don&#039;t have any other accounts. One Apple account is more than enough :-\ &lt;br/&gt;

So, what&#039;s the deal here? Luckily, &lt;a href=&quot;http://mettadore.com/analysis/xcode-you-have-updates-available-for-other-accounts/&quot; title=&quot;XCode: You have updates available for other accounts&quot;&gt;others&lt;/a&gt; had similar &lt;a href=&quot;http://www.ngpixel.com/2011/06/25/mac-app-store-you-have-updates-available-for-the-other-accounts-bug/&quot; title=&quot;Mac App Store – You have updates available for other accounts bug&quot;&gt;issues&lt;/a&gt; and a &lt;a href=&quot;https://discussions.apple.com/thread/2795748&quot; title=&quot;Xcode 4.0.1 in App Store; how do I update from Xcode 4.0?&quot;&gt;solution&lt;/a&gt; as well. Either one should do:

&lt;ul&gt;
&lt;li&gt;Delete or move &lt;code&gt;/Applications/Install Xcode.app&lt;/code&gt; resp. &lt;code&gt;Install XCode.dmg&lt;/code&gt;, usually found in &lt;code&gt;/Applications&lt;/code&gt; as well. Then try again to update &lt;code&gt;Xcode&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Refresh your &lt;i&gt;Spotlight&lt;/i&gt; index. I.e. add/remove your system disk to the index, then try again to update.&lt;/li&gt;
&lt;/li&gt; 
    </content:encoded>

    <pubDate>Mon, 23 Jan 2012 03:47:26 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?287</guid>
    
</item>
<item>
    <title>MacOS X automount</title>
    <link>http://nerdbynature.de/s9y/?286</link>
            <category>bits</category>
    
    <comments>http://nerdbynature.de/s9y/?286#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=286</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=286</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    Sure, &lt;code&gt;Disk Utility.app&lt;/code&gt; can be used to &lt;a href=&quot;http://hints.macworld.com/article.php?story=20090830073912179&quot; title=&quot;10.6: Add NFS Mounts using Disk Utility&quot;&gt;set up NFS mounts&lt;/a&gt;. But as long as &lt;a href=&quot;https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/automount.8.html&quot; title=&quot;automount(8)&quot;&gt;automount(8)&lt;/a&gt; is supported in MacOS X, let&#039;s use this for a more general approach:&lt;br/&gt;&lt;br/&gt;

Create the mount points first, both for SMB and NFS:

&lt;pre&gt;
  $ mkdir /mnt/{nfs,smb}/{a,b}
&lt;/pre&gt;

Then we create automount &#039;&#039;maps&#039;&#039; for each protocol:

&lt;pre&gt;
 $ cat /etc/auto_nfs 
 /mnt/nfs/a -fstype=nfs,rw,resvport 10.0.0.10:/export/foo
 /mnt/nfs/b -fstype=nfs,ro,resvport 10.0.0.10:/export/bar
 
 $ cat /etc/auto_smb 
 /mnt/smb/a -fstype=smbfs,rw ://10.0.0.10/foo
 /mnt/smb/b -fstype=smbfs,ro ://10.0.0.10/bar
&lt;/pre&gt;

With that in place, we have to include both files in &lt;a href=&quot;https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man5/auto_master.5.html#//apple_ref/doc/man/5/auto_master&quot; title=&quot;auto_master(5)&quot;&gt;auto_master(5)&lt;/a&gt;

&lt;pre&gt;
 $ grep -v ^\# /etc/auto_master
 +auto_master            # Use directory service
 /-                      auto_smb
 /-                      auto_nfs
&lt;/pre&gt;

Tell &lt;tt&gt;automountd(8)&lt;/tt&gt; to flush any cached information:

&lt;pre&gt;
 $ automount -v -c
&lt;/pre&gt;

Sometimes it&#039;s necessary to restart &lt;tt&gt;automountd&lt;/tt&gt;:

&lt;pre&gt;
 $ launchctl stop  com.apple.automountd
 $ launchctl start com.apple.automountd
&lt;/pre&gt;

Now the shares should be mounted automatically upon access. 
    </content:encoded>

    <pubDate>Sun, 22 Jan 2012 10:44:43 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?286</guid>
    
</item>
<item>
    <title>January 18: Internet-Wide Protests Against the Blacklist Legislation</title>
    <link>http://nerdbynature.de/s9y/?285</link>
            <category>Land of the free</category>
    
    <comments>http://nerdbynature.de/s9y/?285#comments</comments>
    <wfw:comment>http://nerdbynature.de/s9y/wfwcomment.php?cid=285</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://nerdbynature.de/s9y/rss.php?version=2.0&amp;type=comments&amp;cid=285</wfw:commentRss>
    

    <author>nospam@example.com (christian)</author>
    <content:encoded>
    &lt;a href=&quot;https://blacklist.eff.org/&quot;&gt;&lt;img src=&quot;http://nerdbynature.de/s9y/uploads/blacklist-2b.png&quot;&gt;&lt;/a&gt;

&lt;br/&gt;&lt;br/&gt;
&lt;small&gt;Whooha, auch der &lt;a href=&quot;https://www.ccc.de/&quot;&gt;CCC macht mit!&lt;/a&gt;&lt;/small&gt;

&lt;br/&gt;&lt;br/&gt;
Update: &lt;a href=&quot;http://theoatmeal.com/&quot;&gt;theoatmeal.com&lt;/a&gt; had a good &lt;a href=&quot;http://americancensorship.org/infographic.html&quot;&gt;explanation&lt;/a&gt; why &lt;a href=&quot;http://gizmodo.com/5877000/what-is-sopa&quot;&gt;SOPA/PIPA&lt;/a&gt; is not a good idea:&lt;br/&gt;&lt;br/&gt;

&lt;center&gt;
&lt;a href=&quot;http://theoatmeal.com/sopa&quot;&gt;&lt;img src=&quot;http://nerdbynature.de/s9y/uploads/sopa.gif&quot; title=&quot;theoatmeal.com/sopa&quot; alt=&quot;theoatmeal.com/sopa&quot;/&gt;&lt;/a&gt;
&lt;/center&gt; 
    </content:encoded>

    <pubDate>Wed, 18 Jan 2012 08:00:00 +0000</pubDate>
    <guid isPermaLink="false">http://nerdbynature.de/s9y/?285</guid>
    
</item>

</channel>
</rss>

