<?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>Sfrajone Technical Journal - Technical Delirium</title>
    <link>http://tj.sfrajone.org/</link>
    <description>Hack is not only a four letter word</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:smilzo@sfrajone.org" />
    <generator>Serendipity 0.8.1 - http://www.s9y.org/</generator>
    <pubDate>Mon, 08 Aug 2005 23:36:10 GMT</pubDate>

    <image>
        <url>http://tj.sfrajone.org/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Sfrajone Technical Journal - Technical Delirium - Hack is not only a four letter word</title>
        <link>http://tj.sfrajone.org/</link>
        <width>100</width>
        <height>21</height>
    </image>
<item>
    <title>Chroot named 9.1.3 on MacOsX 10.4.2</title>
    <link>http://tj.sfrajone.org/archives/14-Chroot-named-9.1.3-on-MacOsX-10.4.2.html</link>
<category>Technical Delirium</category>    <comments>http://tj.sfrajone.org/archives/14-Chroot-named-9.1.3-on-MacOsX-10.4.2.html#comments</comments>
    <wfw:comment>http://tj.sfrajone.org/wfwcomment.php?cid=14</wfw:comment>
    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tj.sfrajone.org/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    <author>smilzo@sfrajone.org (Lo Smilzo)</author>
    <content:encoded>
This is a little howto on i can install a named on a macosx.&lt;p&gt;There simple steps:&lt;/p&gt;&lt;p&gt;1) Compile the bind&lt;/p&gt;&lt;p&gt;I've placed the chroot environment in /opt/named, so i've choose to install there the named.&lt;br /&gt;  I used the configure script to put the destination:&lt;/p&gt;&lt;p&gt;~/bind-9.3.1 root# ./configure --prefix=/opt/named&lt;/p&gt;&lt;p&gt;After you need only to compile with normal command &amp;quot;make &amp;amp;&amp;amp; make install&amp;quot;&lt;/p&gt;&lt;p&gt;2) Create the environment&lt;/p&gt;&lt;p&gt;I've created a simple directory tree into /opt/named&lt;/p&gt;&lt;p&gt;--dev&lt;br /&gt;  --etc&lt;br /&gt;  --var&lt;br /&gt;  -+--log&lt;br /&gt;  -+--run&lt;/p&gt;&lt;p&gt;The other directory are created by the installation script of named&lt;/p&gt;&lt;p&gt;Into /opt/named/dev i've created these device: null, random, zero. I don't know the major and the minor for mknod, so i've seen into /dev/ the number with 'ls -la /dev/null', and so on.&lt;/p&gt;&lt;p&gt;Copy the file /etc/localtime into the etc directory of your chroot&lt;/p&gt;&lt;p&gt;3) Configure the bind&lt;/p&gt;&lt;p&gt;You can use your normal named.conf, but i need to add some lines, else there are some problems with the path into the chroot:&lt;pre&gt;options {  &lt;br /&gt;
  pid-file &amp;quot;/var/run/named.pid&amp;quot;;&lt;br /&gt;
  named-xfer &amp;quot;/bin/named-xfer&amp;quot;;&lt;br /&gt;
  statistics-file &amp;quot;/var/run/named.stats&amp;quot;;&lt;br /&gt;
  dump-file &amp;quot;/var/run/named.db&amp;quot;;&lt;br /&gt;
};&lt;/pre&gt;&lt;p&gt;The MacOsX syslogd don't support the -a flag for additional &amp;quot;/dev/log&amp;quot;, i've configured the named for using the log files. There is some configuration that i've found in a gentoo howto, they will be really usefull: &lt;pre&gt;logging {&lt;br /&gt;
&lt;br /&gt;
  channel default_file { file &amp;quot;/var/log/default.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel general_file { file &amp;quot;/var/log/general.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel database_file { file &amp;quot;/var/log/database.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel security_file { file &amp;quot;/var/log/security.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel config_file { file &amp;quot;/var/log/config.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel resolver_file { file &amp;quot;/var/log/resolver.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel xfer-in_file { file &amp;quot;/var/log/xfer-in.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel xfer-out_file { file &amp;quot;/var/log/xfer-out.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel notify_file { file &amp;quot;/var/log/notify.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel client_file { file &amp;quot;/var/log/client.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel unmatched_file { file &amp;quot;/var/log/unmatched.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; }; &lt;br /&gt;
 channel queries_file { file &amp;quot;/var/log/queries.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel network_file { file &amp;quot;/var/log/network.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel update_file { file &amp;quot;/var/log/update.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel dispatch_file { file &amp;quot;/var/log/dispatch.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel dnssec_file { file &amp;quot;/var/log/dnssec.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  channel lame-servers_file { file &amp;quot;/var/log/lame-servers.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
  &lt;br /&gt;
  category default { default_file; };&lt;br /&gt;
  category general { general_file; };&lt;br /&gt;
  category database { database_file; };&lt;br /&gt;
  category security { security_file; };&lt;br /&gt;
  category config { config_file; };&lt;br /&gt;
  category resolver { resolver_file; };&lt;br /&gt;
  category xfer-in { xfer-in_file; }; &lt;br /&gt;
  category xfer-out { xfer-out_file; }; &lt;br /&gt;
  category notify { notify_file; };&lt;br /&gt;
  category client { client_file; };&lt;br /&gt;
  category unmatched { unmatched_file; };&lt;br /&gt;
  category queries { queries_file; };&lt;br /&gt;
  category network { network_file; };&lt;br /&gt;
  category update { update_file; };&lt;br /&gt;
  category dispatch { dispatch_file; };&lt;br /&gt;
  category dnssec { dnssec_file; };&lt;br /&gt;
  category lame-servers { lame-servers_file; }&lt;br /&gt;
;};&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;4) Starting Up&lt;/p&gt;&lt;p&gt;The macosx has the facility daemon to application named launchd. I've put the file org.sfrajone.named.plist into /Library/LaunchDaemons which contain system wide daemon provided by the administrator, not the system one.&lt;br /&gt;  Here the file:&lt;/p&gt;&lt;pre&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE plist PUBLIC &amp;quot;-//Apple Computer//DTD PLIST 1.0//EN&amp;quot; &amp;quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;plist version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;dict&amp;gt;&lt;br /&gt;        &amp;lt;key&amp;gt;Label&amp;lt;/key&amp;gt;&lt;br /&gt;        &amp;lt;string&amp;gt;org.sfrajone.named&amp;lt;/string&amp;gt;&lt;br /&gt;        &amp;lt;key&amp;gt;OnDemand&amp;lt;/key&amp;gt;&lt;br /&gt;        &amp;lt;false/&amp;gt;&lt;br /&gt;        &amp;lt;key&amp;gt;ProgramArguments&amp;lt;/key&amp;gt;&lt;br /&gt;        &amp;lt;array&amp;gt;&lt;br /&gt;                &amp;lt;string&amp;gt;/opt/named/sbin/named&amp;lt;/string&amp;gt;&lt;br /&gt;                &amp;lt;string&amp;gt;-f&amp;lt;/string&amp;gt;&lt;br /&gt;                &amp;lt;string&amp;gt;-t&amp;lt;/string&amp;gt;&lt;br /&gt;                &amp;lt;string&amp;gt;/opt/named&amp;lt;/string&amp;gt;&lt;br /&gt;                &amp;lt;string&amp;gt;-u&amp;lt;/string&amp;gt;&lt;br /&gt;                &amp;lt;string&amp;gt;named&amp;lt;/string&amp;gt;&lt;br /&gt;                &amp;lt;string&amp;gt;-c&amp;lt;/string&amp;gt;&lt;br /&gt;                &amp;lt;string&amp;gt;/etc/named.conf&amp;lt;/string&amp;gt;&lt;br /&gt;        &amp;lt;/array&amp;gt;&lt;br /&gt;        &amp;lt;key&amp;gt;ServiceIPC&amp;lt;/key&amp;gt;&lt;br /&gt;        &amp;lt;false/&amp;gt;&lt;br /&gt;&amp;lt;/dict&amp;gt;&lt;br /&gt;&amp;lt;/plist&amp;gt;&lt;/pre&gt;&lt;p&gt;Now we need to remove from the startup the system named:&lt;/p&gt;&lt;pre&gt;root# launchctl unload -w /System/Library/LaunchDaemons/org.isc.named.plist&lt;/pre&gt;&lt;p&gt;Then we need to put the our named:&lt;/p&gt;&lt;pre&gt;root# launchctl load -w /Library/LaunchDaemons/org.sfrajone.named.plist &lt;/pre&gt;&lt;p&gt;And startit with:&lt;/p&gt;&lt;pre&gt;root# launchctl start org.sfrajone.named&lt;/pre&gt;&lt;p&gt;Now the named has been started, at the next reboot will start automatically.&lt;/p&gt;    </content:encoded>
    <pubDate>Sat,  6 Aug 2005 11:23:11 +0200</pubDate>
    <guid isPermaLink="false">http://tj.sfrajone.org/archives/14-guid.html</guid>
    </item>
<item>
    <title>Apple on Intel</title>
    <link>http://tj.sfrajone.org/archives/13-Apple-on-Intel.html</link>
<category>Technical Delirium</category>    <comments>http://tj.sfrajone.org/archives/13-Apple-on-Intel.html#comments</comments>
    <wfw:comment>http://tj.sfrajone.org/wfwcomment.php?cid=13</wfw:comment>
    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://tj.sfrajone.org/rss.php?version=2.0&amp;type=comments&amp;cid=13</wfw:commentRss>
    <author>smilzo@sfrajone.org (Lo Smilzo)</author>
    <content:encoded>
Come penso che tutti avete letto, la Apple sta passando a intel come famiglia di processori.&lt;br /&gt;
Nella mia IMMENSA paranoia, ho pensato il motivo di questo passaggio: il DRM hardware.&lt;br /&gt;
Visto che Intel e' ha annunciato il chip per il DRM un paio di settimane fa, penso che si voglia fare fronte compatto sulla gestione dei diritti dei prodotti multimediali su tutte le piattaforme per l'home computer.&lt;br /&gt;
So' che sono paranoico, pero' il futuro mi dara' ragione, o come meglio spero, mi dara' torto    </content:encoded>
    <pubDate>Fri, 10 Jun 2005 10:42:10 +0200</pubDate>
    <guid isPermaLink="false">http://tj.sfrajone.org/archives/13-guid.html</guid>
    </item>
</channel>
</rss>
