<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://none.of-the-above.com/feeds/atom.xml" rel="self" title="None of the Above" type="application/atom+xml" />
    <link href="http://none.of-the-above.com/"                        rel="alternate"    title="None of the Above" type="text/html" />
    <link href="http://none.of-the-above.com/rss.php?version=2.0"     rel="alternate"    title="None of the Above" type="application/rss+xml" />
    <title type="html">None of the Above</title>
    <subtitle type="html">Choose the option that best describes you.</subtitle>
    <icon>http://none.of-the-above.com/templates/default/img/s9y_banner_small.png</icon>
    <id>http://none.of-the-above.com/</id>
    <updated>2010-06-03T22:31:13Z</updated>
    <generator uri="http://www.s9y.org/" version="1.5.2">Serendipity 1.5.2 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://none.of-the-above.com/archives/300-INsaned!.html" rel="alternate" title="INsane[d]!" />
        <author>
            <name>ra</name>
                    </author>
    
        <published>2009-12-20T20:28:00Z</published>
        <updated>2010-06-03T22:31:13Z</updated>
        <wfw:comment>http://none.of-the-above.com/wfwcomment.php?cid=300</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://none.of-the-above.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=300</wfw:commentRss>
    
    
        <id>http://none.of-the-above.com/archives/300-guid.html</id>
        <title type="html">INsane[d]!</title>
        <content type="xhtml" xml:base="http://none.of-the-above.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I share my scanner on the network using sane but after reloading my server I found it was not being seen from the network even though it appeared to be working locally.<br />
<br />
I saw this kind of stuff in the logs:<br />
<br />
<blockquote>Dec 19 15:56:19 localhost saned[32422]: saned (AF-indep+IPv6) from sane-backends 1.0.19 starting up<br />
Dec 19 15:56:17 localhost saned[32422]: check_host: access by remote host: 10.0.0.55<br />
Dec 19 15:56:17 localhost saned[32422]: init: access granted to saned-user@10.0.0.55<br />
Dec 19 15:56:19 localhost saned[32422]: saned exiting</blockquote><br />
<br />
I increased the verbosity but it wasn't any more helpful:<br />
<br />
<blockquote>[saned] check_host: access granted from IP address 10.0.0.55 (in subnet 10.0.0.0/24)<br />
[saned] init: access granted<br />
[saned] init: access granted to saned-user@::ffff:10.0.0.55<br />
[saned] process_request: waiting for request<br />
[saned] process_request: got request 1<br />
[saned] process_request: waiting for request<br />
[saned] process_request: got request 10<br />
[saned] bailing out, waiting for children...<br />
[saned] bail_out: all children exited</blockquote><br />
<br />
After much troubleshooting I realized that while local access worked file, saned was not working when running as user saned, but worked fine if run as root.<br />
<br />
Obviously this looked like a permission problem, and it was. I checked the perms on the scanner device, /dev/sg2 and confirmed that saned had no access. But why? I checked the udev rules and found a rule that would give permissions to the scanner group, of which saned is a member. But this rule had set the permissions.<br />
<br />
Then I realized that since I booted up with the scanner attached, and <em>then</em> installed sane, the new udev rule would not have had any effect until the device was replugged or the system was rebooted. I restarted udev and un/re-plugged the scanner and then saned worked fine again! 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://none.of-the-above.com/archives/304-ubuntian-crossgrade.html" rel="alternate" title="ubuntian crossgrade" />
        <author>
            <name>ra</name>
                    </author>
    
        <published>2010-05-08T00:21:45Z</published>
        <updated>2010-06-03T22:22:05Z</updated>
        <wfw:comment>http://none.of-the-above.com/wfwcomment.php?cid=304</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://none.of-the-above.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=304</wfw:commentRss>
    
    
        <id>http://none.of-the-above.com/archives/304-guid.html</id>
        <title type="html">ubuntian crossgrade</title>
        <content type="xhtml" xml:base="http://none.of-the-above.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Sometimes you have an Ubuntu server. But what you need a Debian server. And you could reinstall the system with Debian but you either can't or do not want to (i.e. you are lazy). In a future post I will expand on how and why I find myself in this situation, but suffice it to say that I have a few times. But what to do about it?<br />
<br />
The thought may have crossed your mind: Can you [up/down/cross]-grade an Ubuntu system to a Debian system*? I prefer the term crossgrade. After all, Ubuntu is based on Debian and they both use the apt package manager and so they have quite a bit in common.<br />
<br />
So, the answer? Yes, Virginia; you can!!... maybe... possibly... there is a chance it could work, anyway.<br />
<br />
* You may also wonder whether you can go the other direction; Debian to Ubuntu. I would guess that it would work as well as the Ubuntu to Debian procedure (i.e. I hope you have an ample supply of four-leaf clovers on hand) but I haven't tried it, as I personally have no reason to.<br />
<br />
DISCLAIMER: This is probably a crazy stupid thing to do. Especially on an important system and even more so if you are planning to try it on a remote system (WTF is wrong with you??). Stop being so lazy and just back up the system and config and reinstall it properly. There is no guarantee that this will work. It's totally NOT supported. If you ask most people they will probably just tell you that it doesn't or won't work. Just because it worked for me doesn't mean it will work for you. <br /><a href="http://none.of-the-above.com/archives/304-ubuntian-crossgrade.html#extended">Continue reading "ubuntian crossgrade"</a>
            </div>
        </content>
        
    </entry>

</feed>