<?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/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>TechOpinionation - Operating Systems</title>
    <link>http://joshuakugler.com/</link>
    <description>The life of a programmer/system admin</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.1 - http://www.s9y.org/</generator>
    <pubDate>Sun, 17 May 2009 11:54:05 GMT</pubDate>

    <image>
        <url>http://joshuakugler.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: TechOpinionation - Operating Systems - The life of a programmer/system admin</title>
        <link>http://joshuakugler.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Figuring out why I can't resume any more</title>
    <link>http://joshuakugler.com/archives/21-Figuring-out-why-I-cant-resume-any-more.html</link>
            <category>Linux</category>
    
    <comments>http://joshuakugler.com/archives/21-Figuring-out-why-I-cant-resume-any-more.html#comments</comments>
    <wfw:comment>http://joshuakugler.com/wfwcomment.php?cid=21</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://joshuakugler.com/rss.php?version=2.0&amp;type=comments&amp;cid=21</wfw:commentRss>
    

    <author>nospam@example.com (Joshua Kugler)</author>
    <content:encoded>
    I recently installed the &lt;a href=&quot;https://wiki.kubuntu.org/Kubuntu/Kde3/Jaunty&quot; title=&quot;Kubuntu/Kde3/Jaunty&quot;&gt;Jaunty/KDE3.5 remix&lt;/a&gt;.  I had some interesting issues in that I was trying to install on an existing LUKS/LVM setup. Whole-disk encryption on LVM rocks, but if the installer doesn&#039;t support it, you&#039;ll have to fiddle to get things working right.&lt;br /&gt;
&lt;br /&gt;
It was up and working, but of course I was still fiddling around.  At some point I ran mkswap on my swap partition.  After this, I noticed I could no longer suspend to disk (hibernate), but I did not yet corelate the two events, as I had changed /etc/fstab to use the new UUID of the swap partition.&lt;br /&gt;
&lt;br /&gt;
I then noticed that upon boot I now had two swap partitions active: my swap partition, and another one mounted on /dev/ramzswap0.  I turned off that swap device, and behold, I could suspend to disk!  BUT, when I resumed, it went through normal boot...but not resume.&lt;br /&gt;
&lt;br /&gt;
So, I began looking through the files under /etc/initramfs-tools.  I came across one in conf.d called &quot;resume&quot; which contained this line:&lt;br /&gt;
&lt;br /&gt;
RESUME=UUID=some-uuid-that-wasn&#039;t-correct-anymore&lt;br /&gt;
&lt;br /&gt;
AHA!  I replaced the UUID with the correct one, ran&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bash&quot; style=&quot;text-align: left&quot;&gt;update-initramfs -k all -c&lt;br /&gt;&amp;#160;&lt;/div&gt; and now I &lt;em&gt;can&lt;/em&gt; suspend to disk and resume. 
    </content:encoded>

    <pubDate>Sun, 17 May 2009 11:54:05 +0000</pubDate>
    <guid isPermaLink="false">http://joshuakugler.com/archives/21-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license><category>hibernate</category>
<category>linux</category>
<category>luks</category>
<category>lvm</category>
<category>resume</category>
<category>suspend</category>
<category>swap</category>
<category>uuid</category>

</item>
<item>
    <title>Real dependencies, not convenient dependencies</title>
    <link>http://joshuakugler.com/archives/15-Real-dependencies,-not-convenient-dependencies.html</link>
            <category>Linux</category>
    
    <comments>http://joshuakugler.com/archives/15-Real-dependencies,-not-convenient-dependencies.html#comments</comments>
    <wfw:comment>http://joshuakugler.com/wfwcomment.php?cid=15</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://joshuakugler.com/rss.php?version=2.0&amp;type=comments&amp;cid=15</wfw:commentRss>
    

    <author>nospam@example.com (Joshua Kugler)</author>
    <content:encoded>
    Over on his &lt;a href=&quot;http://www.raphink.info/&quot;&gt;blog&lt;/a&gt;, Raphael Pinson has a &lt;a href=&quot;http://www.raphink.info/2009/04/minimal-dependencies-and-backports.html&quot; title=&quot;Minimal dependencies and backports&quot;&gt;post&lt;/a&gt; about creating a package with &quot;minimal dependencies.&quot;  In short, make the dependencies of the package the &quot;real&quot; dependencies, not just the latest and greatest version of the package you rely on.&lt;br /&gt;
&lt;br /&gt;
I have been waiting way too long for someone to say this.  This has especially bitten me when trying to back port things like Python modules.  Both debhelper and python-central versions are automatically bumped to the latest, when they will compile and install just fine with versions that are one or two distro releases old.&lt;br /&gt;
&lt;br /&gt;
Then, a request for backports is bounced with the message &quot;too many dependencies&quot; when in reality there wouldn&#039;t be &quot;too many&quot; if the dependencies were really set to what they need to be and not just whatever version is in the latest release.&lt;br /&gt;
&lt;br /&gt;
In the case of Ubuntu, I personally would like to see all packages test-compiled with the versions of software that comes with the current LTS releases.  Then, if it truly cannot be compiled with those versions, but the dependency to what it needs to be, but not any higher.&lt;br /&gt;
&lt;br /&gt;
Related gripe: I have seen bugs in Ubuntu closed when a fix is released for the latest version, but the LTS version of the package was ignored.  Maintainers: LTS means &quot;Long Term Support,&quot; and as long as the support window is open for that release, the package should be supported and all bug fixes backported to the package (without having to enable backports, incedentally).&lt;br /&gt;
&lt;br /&gt;
Thank you Raphael for bringing this up!  Hopefully this will spark discussion and make it easier in the future to backport the &quot;latest and greatest&quot; to the current LTS release.  &lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 28 Apr 2009 07:19:57 +0000</pubDate>
    <guid isPermaLink="false">http://joshuakugler.com/archives/15-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license><category>backports</category>
<category>dependencies</category>
<category>lts</category>
<category>minimal</category>
<category>packaging</category>
<category>ubuntu</category>

</item>
<item>
    <title>Relative Difficulty</title>
    <link>http://joshuakugler.com/archives/2-Relative-Difficulty.html</link>
            <category>Backup</category>
            <category>Operating Systems</category>
    
    <comments>http://joshuakugler.com/archives/2-Relative-Difficulty.html#comments</comments>
    <wfw:comment>http://joshuakugler.com/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://joshuakugler.com/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>nospam@example.com (Joshua Kugler)</author>
    <content:encoded>
    The other day, at work, we were working on setting up an automated qurk-and-dirty back up for some files from one Linux box to another.  The link was a long distance one (from a data center in Dallas to our office in Anchorage).  The solution was simple and elegant:&lt;br /&gt;
&lt;br /&gt;
On the host being backed up:&lt;br /&gt;
&lt;div class=&quot;bash&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;tar -cv&amp;#160; /etc|bzip2 -&lt;span style=&quot;color: #cc66cc;&quot;&gt;9&lt;/span&gt; -c | ssh -i /path/to/id_rsa user@backuphost.com \&lt;br /&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;(cat &amp;gt; /path/to/backup.tar.bz2)&quot;&lt;/span&gt; &lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
Tar up the files, pipe it through bzip2, pipe the output of bzip2 through SSH, which connects to the remote host via a keyed login, and output the result of that stream to a file on the other side.&lt;br /&gt;
&lt;br /&gt;
Any idea how much contortion you&#039;d have to go through to do the same thing on Windows?  Difficulty: assume no use of SSH, and no interactive login (i.e. must be able to run completely unattended).&lt;br /&gt;
&lt;br /&gt;
I asked my programming lead that question, and he said, &quot;An order of a magnitude more.&quot; &lt;br /&gt;
&lt;br /&gt;
&quot;Only one order?&quot;&lt;br /&gt;
&lt;br /&gt;
&quot;I said OR MORE.  OR MORE with windows always means MORE.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Edit:&lt;/strong&gt; Yes, run &lt;em&gt;unattended&lt;/em&gt;, not unintended.  Although I like cubiculum&#039;s  comment on reddit: &quot;Windows does that sort of thing all the time.&quot; 
    </content:encoded>

    <pubDate>Sun, 10 Aug 2008 20:47:00 +0000</pubDate>
    <guid isPermaLink="false">http://joshuakugler.com/archives/2-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license><category>backup</category>
<category>difficulty</category>
<category>linux</category>
<category>windows</category>

</item>

</channel>
</rss>
