<?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>chtekk b10g - Gentoo</title>
    <link>http://chtekk.longitekk.com/</link>
    <description>We're not in Kansas anymore!</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <pubDate>Fri, 27 Aug 2010 03:27:54 GMT</pubDate>

    <image>
        <url>http://chtekk.longitekk.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: chtekk b10g - Gentoo - We're not in Kansas anymore!</title>
        <link>http://chtekk.longitekk.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Beware of quotes passed to init-scripts!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/44-Beware-of-quotes-passed-to-init-scripts!.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/44-Beware-of-quotes-passed-to-init-scripts!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=44</wfw:comment>

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

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Just a quick note in case I or others run into this again...&lt;br /&gt;
I use &lt;a href=&quot;http://trac.edgewall.org/&quot; title=&quot;Trac&quot;&gt;Trac&lt;/a&gt; to manage a few projects, more specifically Gentoo&#039;s www-apps/trac package to ease its deployment. One feature of the package I take advantage of is the init-script to manage the tracd standalone server.&lt;br /&gt;
I now wanted to enable authentication for my Trac installs, and all guides out there tell you to add &lt;blockquote&gt;--auth=&quot;*,/path/to/digest/auth/file,domain&quot;&lt;/blockquote&gt; to your commandline when starting Trac (&lt;strong&gt;notice the quotes!&lt;/strong&gt;), I tried this on the shell, and it worked as expected.&lt;br /&gt;
I thus changed the TRACD_OPTS variable in /etc/conf.d/tracd to the following:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
TRACD_OPTS=&quot;--auth=\&quot;*,/path/to/digest/auth/file,domain\&quot; --env-parent-dir /var/lib/trac/&quot;&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
It started fine but authentication didn&#039;t work at all... Somewhat baffling, but after some investigation, I noticed that the quotes around the --auth argument were passed as-is to tracd, which then failed to find the environment *, since when splitting the --auth argument apart, &quot;* would be used as environment name. The solution is simply to not set any type of quotes when starting tracd through the provided init-script, so that TRACD_OPTS looks as follows:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
TRACD_OPTS=&quot;--auth=*,/path/to/digest/auth/file,domain --env-parent-dir /var/lib/trac/&quot;&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
In hindsight logical, as the TRACD_OPTS variable gets evaluated only once and then passed to start-stop-daemon, which passes the arguments verbatim to tracd. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Fri, 27 Aug 2010 04:55:05 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/44-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Retiring from Gentoo</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/42-Retiring-from-Gentoo.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/42-Retiring-from-Gentoo.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=42</wfw:comment>

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

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    I&#039;m officially retiring as a Gentoo developer, simply because I&#039;ve not really done anything in the last year and will not be getting back into the swing of things anytime in the future, so I feel it&#039;s time to retire.&lt;br /&gt;
It&#039;s been a fun 4.5 years, even if I wasn&#039;t present much as developer in the last 1.5 years, and I will definitely continue using Gentoo as my distribution of choice, nothing will change that. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
I&#039;ve had the honor of getting to know some amazing people during those years, and improve a lot of my skills and competences, and for that I&#039;m grateful.&lt;br /&gt;
See you all around, Luca Longinotti. 
    </content:encoded>

    <pubDate>Fri, 02 Apr 2010 18:23:25 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/42-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>tmux</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/37-tmux.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/37-tmux.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=37</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=37</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    I&#039;m finally back on the net, after not having any internet access at my new apartment in Zürich after I moved there.&lt;br /&gt;
I now started my bachelor studies at the ETH Zürich, of course in Computer Science, though there&#039;s a little bit too much maths right now for me to be really excited about it, future semesters will be better I hope.&lt;br /&gt;
So I&#039;ll try to get back to a few Gentoo things in the near future, now that I also finally fixed up my main dev system (which had its disk die just before I moved)...&lt;br /&gt;
Still this blog entry&#039;s main focus is to tell you the name of a package I discovered today:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;app-misc/tmux&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
After reinstalling this system I, as always before, emerged screen to take care of my detached terminal needs, I always had the problem with backspace not working correctly from the desktop, which I was never able to fix correctly, but it was bearable. This time it seems something else went wrong too, and inside my screen sessions it didn&#039;t source .bashrc or .bash_profile (which sources .bashrc), even if the shell was correctly set to a bash login shell...&lt;br /&gt;
So, while perusing Gentoo Wiki&#039;s Screen TIPs to see if anyone had seen something like this, at the end of that page I came across the mention of tmux, a &quot;simple, modern, BSD-licensed alternative to GNU Screen&quot;.&lt;br /&gt;
Seeing that it only depended on ncurses (which is usually installed everywhere), and was only like 100kb of source, I installed it and tried it out. I have to say I&#039;m impressed, this little tool does everything I did with screen too (mainly just having multiple, detached terminals and resuming them, which is probably no &quot;advanced screen usage&quot;, but what most people will likely need), backspace works without any fiddling, the Bash stuff is correctly sourced, and the few commands are easy to adapt to, here a little overview:&lt;br /&gt;
&lt;blockquote&gt;tmux&lt;/blockquote&gt;&lt;br /&gt;
Starts a new tmux session&lt;br /&gt;
&lt;blockquote&gt;CTRL-b d&lt;/blockquote&gt;&lt;br /&gt;
Press CTRL-b, then d, to detach the terminal&lt;br /&gt;
&lt;blockquote&gt;tmux a&lt;/blockquote&gt;&lt;br /&gt;
Reattach to the detached terminal&lt;br /&gt;
&lt;br /&gt;
Still, read &lt;strong&gt;man tmux&lt;/strong&gt; to get the full overview, and then happily do &lt;strong&gt;emerge -C screen&lt;/strong&gt;, as I did.&lt;br /&gt;
&lt;br /&gt;
Best regards, chtekk. 
    </content:encoded>

    <pubDate>Sun, 05 Oct 2008 14:48:40 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/37-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>net-www/apache-1* masked.</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/36-net-wwwapache-1-masked..html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/36-net-wwwapache-1-masked..html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    This I just wrote to gentoo-dev and gentoo-server, finally ending Apache-1* support in Gentoo.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
Hi all!&lt;br /&gt;
As announced in the 30 April 2007 edition of GWN [1], net-www/apache-1* as well as all packages depending/using it were masked, pending removal on 12 June 2007.&lt;br /&gt;
I fixed all packages, dependencies, etc. I could find to work correctly after the masking (generally removing Apache 1.X support from them).&lt;br /&gt;
If you find any issue still, please open a bug about it, assign it to apache-bugs@gentoo.org and make it block bug #178189 [2].&lt;br /&gt;
If you use or plan on using the apache-module or depend.apache eclasses, be aware that the need_apache function doesn&#039;t anymore export the apache2 USE flag to IUSE, since now it directly depends on Apache 2.X, so be sure to declare it in your ebuilds IUSE (I fixed the few cases&lt;br /&gt;
where this wasn&#039;t already done).&lt;br /&gt;
Thanks and happy upgrading to Apache 2.X!&lt;br /&gt;
&lt;br /&gt;
[1] &lt;a href=&quot;http://www.gentoo.org/news/en/gwn/20070430-newsletter.xml&quot;  title=&quot;20070430 GWN&quot;&gt;http://www.gentoo.org/news/en/gwn/20070430-newsletter.xml&lt;/a&gt;&lt;br /&gt;
[2] &lt;a href=&quot;https://bugs.gentoo.org/show_bug.cgi?id=178189&quot;  title=&quot;Bug #178189&quot;&gt;https://bugs.gentoo.org/show_bug.cgi?id=178189&lt;/a&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Sat, 12 May 2007 15:44:29 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/36-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>FOSDEM 07, here we come!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/35-FOSDEM-07,-here-we-come!.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/35-FOSDEM-07,-here-we-come!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=35</wfw:comment>

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

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Yo all!&lt;br /&gt;
Tomorrow to FOSDEM 07 /me goes, along with hansmi, KillerFox and blubb from the swiss crowd!&lt;br /&gt;
Later on both flo and EleRas will join us too, so for me not only will it be &quot;the great Gentoo dev gathering&quot;, but also &quot;the great SysCP dev gathering&quot;, will all three of us present. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; &lt;a href=&quot;http://blog.syscp.org/archives/47-See-you-on-FOSDEM-2007.html&quot;  title=&quot;SysCP blog&quot; target=&quot;_blank&quot;&gt;As flo correctly guessed&lt;/a&gt;, I&#039;ll be sporting the black Gentoo t-shirt, which is amazingly comfortable, but flo&#039;s SysCP t-shirt intrigued me... Is it possible to have more of those @ flo? In black? /me loves black! We&#039;ll be able to discuss that at FOSDEM I think...&lt;br /&gt;
Now off to bed, as I have to get up early (~4AM) to catch the first train to get to Basel, where the others await, and from there off to Bruxelles.&lt;br /&gt;
Lugano-Basel-Frankfurt Am Main-Köln-Bruxelles is the exact route, almost 1000 Km, for a total en-route time of about 11 hours, yay!&lt;br /&gt;
On the PHP front, I&#039;ve finally put PHP 5.2.1 and PHP 4.4.5, with all the needed patches and, of course, Suhosin support, into the &lt;a href=&quot;https://overlays.gentoo.org/proj/php/timeline&quot;  title=&quot;PHP Overlay&quot; target=&quot;_blank&quot;&gt;PHP Overlay&lt;/a&gt;. I&#039;ll test it all during the next days and hopefully commit to the tree on Monday at the latest. Many bugs are fixed with the latest releases, concurrentmodphp support was greatly improved and fixed (especially wrt 64bit archs), and the new MySQL extension patches are included to have the connection charset settable per-SAPI, for each PHP version, using php.ini, instead of my.cnf.&lt;br /&gt;
Work on &lt;a href=&quot;http://svn.linux-vserver.org/projects/vcd/timeline&quot;  title=&quot;VCD&quot; target=&quot;_blank&quot;&gt;VCD&lt;/a&gt; is also going steady, we should be near feature-completion soon, so expect some form of pre-release in the next two weeks... Poke Hollow on #gentoo-vserver for more info. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Best regards, cya all, CHTEKK. 
    </content:encoded>

    <pubDate>Thu, 22 Feb 2007 22:12:25 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/35-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Happy 2007!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/34-Happy-2007!.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/34-Happy-2007!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=34</wfw:comment>

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

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    &lt;strong&gt;Happy new year people!!! &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
I wish you all a great 2007 full of fun and happiness and all the other good stuff (new hardware comes to mind &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ).&lt;br /&gt;
23C3 finished two days ago, it was really great fun with great talks and great people (yeah, Polish guy living in the USA, from the university near Atlanta, you know who you are &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ).&lt;br /&gt;
Now we&#039;ve passed yesterday by visiting Berlin and at the moment we&#039;re connected through the Hostels connection... It depresses me to know it&#039;s at least twice as fast as my home DSL. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
By the way, all this convinced me to come to FOSDEM 07, so be prepared to know the CHTEKK (or be scared, that all depends). &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Cya, and happy new year, CHTEKK. 
    </content:encoded>

    <pubDate>Mon, 01 Jan 2007 01:16:35 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/34-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Greetings from 23C3.</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/33-Greetings-from-23C3..html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/33-Greetings-from-23C3..html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Yo! Greetings from the 23C3, the Chaos Computer Congress in Berlin.&lt;br /&gt;
Great talks and great people here, at the moment I&#039;m attending a talk about JSON RPC (who knows, maybe that can/will be used someday to improve SysCP &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ), and before that I attended a really great talk about backbone hacking.&lt;br /&gt;
As you can see from this blog post, the wireless network works well (as does the wired one). &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
With regards to Gentoo devs, I&#039;ve already seen and got to know hansmi, KillerFox and Pylon. I&#039;ve also been told that mabi is around and hanno should be too (at least based on the fact he gave a Lightning Talk about XGL yesterday, which I sadly missed), we should really define a place to meet and get to know eachother... That goes for Gentoo and SysCP users too. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
I myself can usually be found attending some talk or down in the Hackcenter (central position, at a round table). &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Have fun!&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Thu, 28 Dec 2006 12:42:23 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/33-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>New PostgreSQL and PHP (late)</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/30-New-PostgreSQL-and-PHP-late.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/30-New-PostgreSQL-and-PHP-late.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=30</wfw:comment>

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

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    As the title says, I&#039;m late with this blog post, but better late than never... &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
The new dev-db/libpq and dev-db/postgresql ebuilds reached Portage on Thursday, they seem to work well (we&#039;ve received positive feedback until now) and already solved a number of bugs! Thanks to dev-zero too for all the work spent on them, we make a good team!&lt;br /&gt;
Btw, it seems dbs are made to be maintained by two people... Me and dev-zero for PgSQL, me and vivo for MySQL, and it works very well! WEEEE TEAMWORK RULEZ! Thansk guys, it&#039;s great to work with you all!&lt;br /&gt;
On the PHP front, 5.2.0 reached the overlay, I still have to update the eclasses a little and fix some stuff, as well as update the 4.4.X and 5.1.X releases with some patches, which will probably happen tomorrow, and they&#039;ll probably be put into Portage on Sunday or Monday, sorry for the little delay, but at least the stuff&#039;s well tested and working then. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Best regards and a great weekend to all, CHTEKK. 
    </content:encoded>

    <pubDate>Fri, 10 Nov 2006 22:45:59 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/30-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>News, news, ... ;)</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/29-News,-news,-...-;.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/29-News,-news,-...-;.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=29</wfw:comment>

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

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Hi all, /me is back, since a few days now, and I&#039;ve been working on updating stuff...&lt;br /&gt;
Today, together with vivo, MySQL 5.0.X stabilization was agreed on, and https://bugs.gentoo.org/144999 updated accordingly. x86 already responded and stabled dev-db/mysql-5.0.26-r1, the other arches will soon follow. The upgrade from 4.1.X should be painless, just remember to read &lt;a href=&quot;http://www.gentoo.org/doc/en/mysql-upgrading.xml&quot;  title=&quot;The MySQL upgrading guide&quot;&gt;the MySQL upgrading guide&lt;/a&gt; for instructions on how to backup your data before the upgrade, and be sure to run revdep-rebuild from gentoolkit after the upgrade, as all things linking to MySQL will need to be recompiled.&lt;br /&gt;
New PostgreSQL ebuilds are also coming up, those are the first of the new generation of PostgreSQL ebuilds, done together with dev-zero, that will fix up a lot of issues and ease maintainance of PostgreSQL a lot, as well as permitting some exciting new things in the future. ETA for those new ebuilds to enter Portage is this evening (UTC timezone).&lt;br /&gt;
PHP 5.2.0 is also finally out, congrats to the PHP Team, expect an ebuild for the final version in the PHP Overlay by Wednesday and in Portage by Saturday at most.&lt;br /&gt;
Samhain will also be updated soon to the newest versions, so if you use that, stay tuned. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Work on SysCP 1.3 is going on strong, more about that in another blog entry in the next days.&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Mon, 06 Nov 2006 01:00:30 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/29-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>/me away until 03.11</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/28-me-away-until-03.11.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
            <category>LongiTEKK Networks</category>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/28-me-away-until-03.11.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=28</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=28</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    I&#039;ll be away from this evening UTC until evening UTC 03.11.2006, so don&#039;t search for me or await any reply from me. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Absolutely no internet access, so... See ya all in a week! &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Fri, 27 Oct 2006 17:59:43 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/28-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>#gentoo-db</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/24-gentoo-db.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/24-gentoo-db.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=24</wfw:comment>

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

    <author>nospam@example.com (admin)</author>
    <content:encoded>
    #gentoo-db has just opened it&#039;s (virtual) doors (or windows or terminals, depends on what IRC client you use &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ).&lt;br /&gt;
The new channel is intented to provide a platform for discussions, concerning both support and development, centering on Gentoo and databases.&lt;br /&gt;
At the moment Gentoo MySQL and PostgreSQL people hang out there, but it&#039;s my hope to see other developers and/or teams that maintain database-related packages for Gentoo (Firebird, Oracle, SQLite, BerkeleyDB, ...) join too, as well as users with experience in SQL and database management, or just people intersted in databases and their uses.&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Sun, 30 Jul 2006 16:40:47 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/24-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>New PHP revisions in the tree</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/23-New-PHP-revisions-in-the-tree.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/23-New-PHP-revisions-in-the-tree.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=23</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=23</wfw:commentRss>
    

    <author>nospam@example.com (admin)</author>
    <content:encoded>
    For all those who wondered, PHP in Gentoo is definitely not dead. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Just put new revisions in the tree (dev-lang/php-4.4.2-r6 and dev-lang/php-5.1.4-r4), that fix various bugs and security issues. On that note, a big thanks to Stefan Esser from Hardened-PHP.net for all his patches and work on securing PHP (and of course the Hardened-PHP patch itself)!&lt;br /&gt;
The new PHP revisions also introduce a better separation between eclasses and ebuilds, making their managing and addition of new features easier. One of those new additions for now is the &quot;concurrentmodphp&quot; USE flag. It enables to build mod_php4 and mod_php5 in a way that both can be loaded at the same time into the same Apache2 instance, each mod_php then has it&#039;s own mime-types (application/x-httpd-php4{-source} for PHP4 and application/x-httpd-php5{-source} for PHP5) and configuration modifiers (php4_admin_value/php4_admin_flag for PHP4 and php5_admin_value/php5_admin_flag for PHP5 and so on). This feature is &lt;strong&gt;highly&lt;/strong&gt; experimental, I could confirm it working on my x86 system and partially on an x86_64 system, but I&#039;d very much like for users to try it out on systems where breakage is allowed (developement systems or test systems) and report back their results to me (chtekk@gentoo.org), thanks! To try it, do the following:&lt;br /&gt;
&lt;code&gt;emerge --sync&lt;br /&gt;
echo dev-lang/php &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;
USE=&quot;apache2 concurrentmodphp&quot; emerge =php-4* =php-5*&lt;/code&gt;&lt;br /&gt;
then don&#039;t forget to &quot;etc-update&quot; and re-emerge &lt;strong&gt;ALL&lt;/strong&gt; of your installed PHP modules/extensions (such as dev-php4/pecl-zip etc.). Also all this does &lt;strong&gt;not&lt;/strong&gt; work with the &quot;java-internal&quot; (PHP4) and &quot;sharedext&quot; (PHP4/5) USE flags enabled, so be sure to disable them when you emerge php.&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Fri, 14 Jul 2006 20:11:57 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/23-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Speeding up MPM-itk</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/22-Speeding-up-MPM-itk.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/22-Speeding-up-MPM-itk.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=22</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=22</wfw:commentRss>
    

    <author>nospam@example.com (admin)</author>
    <content:encoded>
    A few days ago I added support for MPM-itk (&quot;mpm-itk&quot; USE flag) to our Apache 2.0 packages. MPM-itk is a user-switching MPM, that is, it switches to an assigned user when processing the requests, instead of processing everything as user apache (MPM-perchild, metux-MPM and MPM-peruser are other examples of this).&lt;br /&gt;
In it&#039;s original form it accomplishes this by doing the following:&lt;br /&gt;
&lt;code&gt;apache process as root, interpret the request --&gt; fork() new process and switch (setuid(unprivuid) / setgid(unprivgid)) to unprivileged user for it, process the request --&gt; kill of the setuid/setgid process, with the next request it will redo the process&lt;/code&gt;&lt;br /&gt;
Now, this is foolproof, but provokes an immense performance hit, especially on static pages. Benchmarks done with ab2 showed that a normal Apache2 (MPM-prefork) can process about 240 PHP req/sec and 4000 HTML req/seq, while the MPM-itk patched Apache 2.0 managed about 110 PHP req/sec and 240 HTML req/sec, so you see, the peformance hit is enormous, and it&#039;s obiously due to the overhead of always having to fork() a new Apache process and then kill if off, for &lt;strong&gt;every&lt;/strong&gt; request!&lt;br /&gt;
I managed to successfully change the way the MPM works, and thus managed to bring it&#039;s speed to normal Apache levels (patch against MPM-itk available &lt;a href=&quot;http://dev.gentoo.org/~chtekk/itk-speedup.patch&quot;&gt;here&lt;/a&gt;), by changing the &quot;worfklow&quot; like this:&lt;br /&gt;
&lt;code&gt;apache process as root, interpret the request --&gt; switch (setresuid(unprivuid, unprivuid, 0) / setresgid(unprivgid, unprivgid, 0)) to unprivileged user, process the request --&gt; switch back to root (setresuid(0, 0, 0) / setresgid(0, 0, 0)), with the next request it will redo the process&lt;/code&gt;&lt;br /&gt;
Now this solves the performance problems, as it doesn&#039;t anymore do the extra fork(), and fully reuses the process with the next request, but it introduces a new problem: a gaping security hole. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/sad.png&quot; alt=&quot;:-(&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; Since the processed request cannot be trusted, everything in there can simply setuid/setgid to root and do operations as root! A simple call to, for example, the posix_setuid/posix_setgid functions of the PHP POSIX extensio are enough to switch the user back to root and let the rest of the PHP script just work as root... This is totally unacceptable for security. So, now my call for help: has anyone got any idea how it&#039;s possible to realize this in a secure manner??? I can&#039;t think of any way to securely switch the process from root to unpriv user and back to root, without giving the untrusted code executed in the request processing phase the same ability (that is, to switch back to root). Ideas and comments are &lt;strong&gt;very&lt;/strong&gt; appreciated. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Tue, 11 Jul 2006 13:00:58 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/22-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Old-style PHP, bye bye!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/21-Old-style-PHP,-bye-bye!.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/21-Old-style-PHP,-bye-bye!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=21</wfw:comment>

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

    <author>nospam@example.com (admin)</author>
    <content:encoded>
    Adieu old-style PHP (dev-php/php et all)... &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
One of many ways to say that, as I&#039;m posting this, I&#039;m cvs up&#039;ing the affected directories to start the removal of the already masked old-style PHP packages, as announced one month ago.&lt;br /&gt;
For all the ones that didn&#039;t yet migrate... Well, migrate NOW! &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
And generally, enjoy the fact that &quot;emerge php&quot; will now install dev-lang/php, and you won&#039;t have to specify the directory anymore.&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Sun, 21 May 2006 01:41:14 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/21-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Old-style PHP finally masked</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/20-Old-style-PHP-finally-masked.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/20-Old-style-PHP-finally-masked.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=20</wfw:comment>

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

    <author>nospam@example.com (admin)</author>
    <content:encoded>
    The title says it all, the old PHP packages were finally masked! &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Sorry for the three days delay (22 Apr instead of 19 Apr), but in the end, it&#039;s all done. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Again, thanks a lot to all the people involved in this, without their work this would have never been possible. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Sat, 22 Apr 2006 15:35:22 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/20-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>

</channel>
</rss>