<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog of Patrick</title>
	<atom:link href="http://www.linux-dev.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-dev.org</link>
	<description>another GNU/Linux Debian Developer blog</description>
	<lastBuildDate>Wed, 13 Feb 2013 13:50:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F&amp;language=en_US&amp;category=text&amp;title=Blog+of+Patrick&amp;description=another+GNU%2FLinux+Debian+Developer+blog&amp;tags=blog" type="text/html" />
		<item>
		<title>otrs and geoip-database updates</title>
		<link>http://www.linux-dev.org/2013/02/otrs-and-geoip-database-updates/</link>
		<comments>http://www.linux-dev.org/2013/02/otrs-and-geoip-database-updates/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 10:57:28 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=112</guid>
		<description><![CDATA[I have just uploaded the monthly update of geoip-database to Debian unstable and squeeze-backports, unblock request already filled. I also uploaded otrs2 in the new version 3.2.1+dfsg1-1, which is also &#8220;fixing&#8221; bug #690306, &#8220;fixing&#8221; because the upgrade will abort with &#8230; <a href="http://www.linux-dev.org/2013/02/otrs-and-geoip-database-updates/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I have just uploaded the monthly update of geoip-database to Debian unstable and squeeze-backports, unblock request already filled.</p>
<p>I also uploaded otrs2 in the new version 3.2.1+dfsg1-1, which is also &#8220;fixing&#8221; bug #690306, &#8220;fixing&#8221; because the upgrade will abort with a list of MySQL tables where the administrator has to fix ether the engine from MyISAM to InnoDB (or the other way, as he want to) and by fxing the default engine of his MySQL database server. Ugly issue, ugly hack, but there is no better solution..</p>
<p>Full changelog of otrs Debian packaging:</p>
<pre>   * New upstream release.
     - Add new dependency libyaml-libyaml-perl.
     - Refresh patch 03-postmaster.
     - Refresh patch 05-opt.
     - Refresh patch 13-dont-chown-links.
     - Refresh patch 16-disable-DashboardProductNotify.
     - Refresh patch 19-fix-SetPermissions-to-include-some-more-dirs.
     - Rewrite patch 25-use-locale-country, since all_country_names() does not
       accept arguments.
     - Refresh patch 26-font-paths.
     - Rewrite patch 04-backup.
     - Rewrite patch 15-usable-apache-config.
     - Rewrite patch 21-use-debian-libjs-packages.
     - Rewrite patch 23-load-debian-libjs.
     - Remove old database schemas and add new 3.2 ones.
   * Monitor all releases again.
   * Drop patch 24-default-myisam and check with the new otrs.CheckDB.pl script,
     if the available tables and the used storage engine are equal. If it is not
     the case the installation should abort, so that the administrator can fix
     his MySQL server or the already created tables.
     Closes: #690306
   * Remove deprecated packaging notes from README.Debian.
   * Remove deprecated NEWS file from packaging.
   * Remove deprecated files from otrs2.examples.
   * Solve duplicate-changelog-files by not installing the CHANGES file.
   * Remove some more deprecated files from otrs2.docs.
   * Add lintian override for empty-binary package otrs.
   * Remove some old permission fixes from debian/rules.
   * Add upstream patch 01-innodb-fk-error to fix some foreign key errors if the
     tables are created with InnoDB.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2013/02/otrs-and-geoip-database-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2013%2F02%2Fotrs-and-geoip-database-updates%2F&amp;language=en_GB&amp;category=text&amp;title=otrs+and+geoip-database+updates&amp;description=I+have+just+uploaded+the+monthly+update+of+geoip-database+to+Debian+unstable+and+squeeze-backports%2C+unblock+request+already+filled.+I+also+uploaded+otrs2+in+the+new+version+3.2.1%2Bdfsg1-1%2C+which+is+also...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>What an ugly (PHP) work..</title>
		<link>http://www.linux-dev.org/2013/01/what-an-ugly-php-work/</link>
		<comments>http://www.linux-dev.org/2013/01/what-an-ugly-php-work/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 22:09:28 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=104</guid>
		<description><![CDATA[We still have got some more or less webapplications which are not compatible with PHP higher than version 5.2.x, which is the only blocker for the last Lenny servers to upgrade them to Squeeze.. I do not think that I &#8230; <a href="http://www.linux-dev.org/2013/01/what-an-ugly-php-work/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>We still have got some more or less webapplications which are not compatible with PHP higher than version 5.2.x, which is the only blocker for the last Lenny servers to upgrade them to Squeeze.. I do not think that I am alone with this ****** topic :)</p>
<p>So the new &#8220;masterplan&#8221; is to deploy those applications on seperated Wheezy servers, with PHP 5.2.x running as FastCGI, so that most parts of the system are &#8220;security supported&#8221;.</p>
<p>First; I didn&#8217;t documented my steps and I am not 100% done (something like 99%) but I have done the following to have it &#8220;as clean as possible&#8221;:</p>
<ul>
<li>Catch the original 5.2.17 sources and build them, urgs.. it fails at all with the new multiarch paths from Wheezy, after a few hours of patching I gave up..</li>
<li>Using dotdeb Lenny sources as reference, they also have got 5.2.17 sources, but what the fuck? The orig sources of their mirror also could not build, because the patch series FAILS (not hunky, they fail!), how did they build them???</li>
<li>After some sanitizing of the dotdeb packages I thought it is better to smoke some cigarette and to delete them, urgs..</li>
<li>My next step was to catch the latest 5.2.12-x packaging from snapshot.debian.org, here the story continues&#8230; again&#8230;:</li>
</ul>
<p>PHP 5.2.x is just not able to detect the new multiarch paths, it fails at most &#8220;dir&#8221; options. Since patching the whole build system would be *too* much work I decided to hack around this (ln -s /usr/lib/x86&#8230;./foo.so /usr/lib/), then some adjustions to the build dependencies, disablieng some modules, like SSL and libdb (incompatible versions), disabling merged patches and refresh the suhosin hardening patch; I get an working PHP 5.2.17 package on Wheezy.<br />
But this is too easy!<br />
I want packages which I could co-install with the PHP 5.4 packages from Wheezy, 5.2 should only used withing vHosts where I have enabled them..</p>
<p>So I rewrote the whole packaging (*burg* IMHO at all) to use &#8220;php52&#8243; instead of &#8220;php5&#8243; as packaging namespace and also everything is put into &#8220;/opt&#8221; as prefix. Much painfull work, but yeah it works.. :)<br />
Some packages, like php52-dev or php-pear are broken, but those were not my goal of this action.</p>
<p>If someone is interested in those packages please send me an email.<br />
Since PHP 5.2 is not supported any longer (and that this is at all a big hack) I will not publish the source and binaries at all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2013/01/what-an-ugly-php-work/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2013%2F01%2Fwhat-an-ugly-php-work%2F&amp;language=en_GB&amp;category=text&amp;title=What+an+ugly+%28PHP%29+work..&amp;description=We+still+have+got+some+more+or+less+webapplications+which+are+not+compatible+with+PHP+higher+than+version+5.2.x%2C+which+is+the+only+blocker+for+the+last+Lenny+servers+to...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Squeeze or Wheezy for new projects?</title>
		<link>http://www.linux-dev.org/2012/12/squeeze-or-wheezy-for-new-projects/</link>
		<comments>http://www.linux-dev.org/2012/12/squeeze-or-wheezy-for-new-projects/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 21:05:04 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=99</guid>
		<description><![CDATA[Hi, I am interested in your opionions! If you would setup today an new server for a (business) project, would you use Debian Squeeze or Wheezy? Personal &#8211; and already in most business cases &#8211; we have decided for Wheezy, &#8230; <a href="http://www.linux-dev.org/2012/12/squeeze-or-wheezy-for-new-projects/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>I am interested in your opionions! If you would setup today an new server for a (business) project, would you use Debian Squeeze or Wheezy?</p>
<p>Personal &#8211; and already in most business cases &#8211; we have decided for Wheezy, because the pros are:</p>
<ul>
<li>Enhanced hardening</li>
<li>More up to date technologies and scripting languages</li>
<li>Longer security support, because..</li>
<li>.. you do not have to dist-upgrade within the next year(?)</li>
</ul>
<p>The cons:</p>
<ul>
<li>It is not stable yet</li>
</ul>
<p>What is your (business) opionion about it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2012/12/squeeze-or-wheezy-for-new-projects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2012%2F12%2Fsqueeze-or-wheezy-for-new-projects%2F&amp;language=en_GB&amp;category=text&amp;title=Squeeze+or+Wheezy+for+new+projects%3F&amp;description=Hi%2C+I+am+interested+in+your+opionions%21+If+you+would+setup+today+an+new+server+for+a+%28business%29+project%2C+would+you+use+Debian+Squeeze+or+Wheezy%3F+Personal+%26%238211%3B+and+already...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>otrs 3.1.12 in Debian experimental</title>
		<link>http://www.linux-dev.org/2012/12/otrs-3-1-12-in-debian-experimental/</link>
		<comments>http://www.linux-dev.org/2012/12/otrs-3-1-12-in-debian-experimental/#comments</comments>
		<pubDate>Thu, 13 Dec 2012 08:20:46 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=95</guid>
		<description><![CDATA[Heyho, I have just uploaded otrs2 version 3.1.12+dfsg1-1 to Debian experimental yesterday! It includes many bugfixes, for a full list have a look at [0]. I also would welcome help for two important tasks: #690306: Upgrade to Wheezy fails, if &#8230; <a href="http://www.linux-dev.org/2012/12/otrs-3-1-12-in-debian-experimental/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Heyho,</p>
<p>I have just uploaded otrs2 version 3.1.12+dfsg1-1 to Debian experimental yesterday! It includes many bugfixes, for a full list have a look at [0].</p>
<p>I also would welcome help for two important tasks:<br />
<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690306">#690306</a>: Upgrade to Wheezy fails, if InnoDB is used in (some) tables<br />
<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695664">#695664</a>: Embedded JavaScript code copies. As usual problematic with a package which is as big as otrs..</p>
<p>I also will backport otrs 3.1.x to Wheezy backports, if it is released. After this step, work on the 3.2.x packaging will begin.</p>
<p>[0]: <a href="http://nopaste.linux-dev.org/?67544" target="_blank">otrs changelog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2012/12/otrs-3-1-12-in-debian-experimental/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2012%2F12%2Fotrs-3-1-12-in-debian-experimental%2F&amp;language=en_GB&amp;category=text&amp;title=otrs+3.1.12+in+Debian+experimental&amp;description=Heyho%2C+I+have+just+uploaded+otrs2+version+3.1.12%2Bdfsg1-1+to+Debian+experimental+yesterday%21+It+includes+many+bugfixes%2C+for+a+full+list+have+a+look+at+%5B0%5D.+I+also+would+welcome+help...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Arrived in Belek/Turkey</title>
		<link>http://www.linux-dev.org/2012/10/arrived-in-belekturkey/</link>
		<comments>http://www.linux-dev.org/2012/10/arrived-in-belekturkey/#comments</comments>
		<pubDate>Sun, 28 Oct 2012 11:37:29 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Private]]></category>
		<category><![CDATA[Vacation]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=91</guid>
		<description><![CDATA[.. just this night, wonderfull weather here :) So see you in two weeks!]]></description>
				<content:encoded><![CDATA[<p>.. just this night, wonderfull weather here :)</p>
<p>So see you in two weeks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2012/10/arrived-in-belekturkey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2012%2F10%2Farrived-in-belekturkey%2F&amp;language=en_GB&amp;category=text&amp;title=Arrived+in+Belek%2FTurkey&amp;description=..+just+this+night%2C+wonderfull+weather+here+%3A%29+So+see+you+in+two+weeks%21&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Package updates from the middle of october</title>
		<link>http://www.linux-dev.org/2012/10/package-updates-from-the-middle-of-october/</link>
		<comments>http://www.linux-dev.org/2012/10/package-updates-from-the-middle-of-october/#comments</comments>
		<pubDate>Tue, 16 Oct 2012 09:46:34 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=87</guid>
		<description><![CDATA[glusterfs 3.3.1 has been released with a bunch of bugfixes, yeah! 3.3.1-1 is uploaded to experimental. geoip-database As usual the monthly database update, already migrated to Wheezy from Sid. otrs2 Today 3.1.11 has been released with a few bugfixes and &#8230; <a href="http://www.linux-dev.org/2012/10/package-updates-from-the-middle-of-october/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>glusterfs</strong></p>
<p>3.3.1 has been released with a bunch of bugfixes, yeah! 3.3.1-1 is uploaded to experimental.</p>
<p><strong>geoip-database</strong></p>
<p>As usual the monthly database update, already migrated to Wheezy from Sid.</p>
<p><strong>otrs2</strong></p>
<p>Today 3.1.11 has been released with a few bugfixes and one security fix for a XSS vulnerability on viewing special prepared HTML e-mails, which leads to that the browser executes JavaScript code (as described in CVE-2012-4751 and OTRS security announcement OSA-2012-03).<br />
otrs2 3.1.11+dfsg1-1 is just accepted in experimental and I also backported the patch to the Wheezy version with 3.1.7+dfsg1-6.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2012/10/package-updates-from-the-middle-of-october/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2012%2F10%2Fpackage-updates-from-the-middle-of-october%2F&amp;language=en_GB&amp;category=text&amp;title=Package+updates+from+the+middle+of+october&amp;description=glusterfs+3.3.1+has+been+released+with+a+bunch+of+bugfixes%2C+yeah%21+3.3.1-1+is+uploaded+to+experimental.+geoip-database+As+usual+the+monthly+database+update%2C+already+migrated+to+Wheezy+from+Sid.+otrs2...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Playing with Apache mod_geoip</title>
		<link>http://www.linux-dev.org/2012/09/playing-with-apache-mod_geoip/</link>
		<comments>http://www.linux-dev.org/2012/09/playing-with-apache-mod_geoip/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 07:36:39 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=77</guid>
		<description><![CDATA[If you want to add some rules to your Apache based on the clients country, mod_geoip is perfect for it. Installation On Squeeze following is enough: # apt-get install libapache2-mod-geoip geoip-database/squeeze-backports Note that you should use the geoip-database version from &#8230; <a href="http://www.linux-dev.org/2012/09/playing-with-apache-mod_geoip/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you want to add some rules to your Apache based on the clients country, mod_geoip is perfect for it.</p>
<p><strong>Installation</strong></p>
<p>On Squeeze following is enough: <em># apt-get install libapache2-mod-geoip geoip-database/squeeze-backports</em></p>
<p>Note that you should use the geoip-database version from squeeze-backports to have got the most up to date database version, I am updating it every month.</p>
<p><strong>Configuration</strong></p>
<p>You can add the rules to your VirtualHost, Directory, Location directives and also to your apache2.conf (<em>&#8220;serverwide&#8221;</em>). So you are flexible with where to use it.</p>
<p><strong>Blocking countries</strong></p>
<p><strong></strong>On some servers I have got more than 90 percent of spam requests only from three countries, so I blocked them with:</p>
<p>&lt;DirectoryMatch &#8220;^/var/www/.*/html&#8221;&gt;<br />
SetEnvIf GEOIP_COUNTRY_CODE RU BlockCountry<br />
SetEnvIf GEOIP_COUNTRY_CODE CN BlockCountry<br />
SetEnvIf GEOIP_COUNTRY_CODE UA BlockCountry<br />
Deny from env=BlockCountry<br />
&lt;/DirectoryMatch&gt;</p>
<p><strong>Allow only specific countries</strong></p>
<p>In the other way you also can allow specific countries to have got access to your website, this also may be a good idea for extranets, where you know from where your customers are:</p>
<p>&lt;Directory &#8220;/var/www/my.site.com/html/login&#8221;&gt;<br />
SetEnvIf GEOIP_COUNTRY_CODE DE AllowCountry<br />
SetEnvIf GEOIP_COUNTRY_CODE CH AllowCountry<br />
Deny from all<br />
Allow from env=AllowCountry<br />
&lt;/Directory&gt;</p>
<p>Very easy!</p>
<p><strong>Rewrite Rules</strong></p>
<p><strong></strong>You can also use it for mod_rewrite. Within a project, customers from CN and TW should be redirected to the chinese page:</p>
<p>RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|TW)$<br />
RewriteRule ^(.*)$ http://some.example.cn/site.php [L]</p>
<p><strong>mod_geoip with proxy frontends</strong></p>
<p><strong></strong>Normaly mod_geoip works behinds load balancers and proxy servers, since it also take care of the HTTP_X_FORWARDED_FOR header.</p>
<p>But with haproxy it looks problematic, since it does not add the HTTP_X_FORWARDED_FOR header to KeepAlive&#8217;d requests :( Disabling KeepAlive is a bad idea on this cluster, so we decided to also use php5-geoip in our application, so everything is working nice now..</p>
<p><strong>What mod_geoip is NOT is</strong></p>
<p><strong></strong>mod_geoip helps you to block/allow specific countries, but it does not protect you from them.<br />
Also keep in mind that the database is only ~ 99,8% accurate, so you may have got false positives/negatives. If you only allow german users, a german IP could be listed as russian.<br />
This is much more problematic with mobile/satellite connections and surely you can also not access your page, if you are on vacation in another country. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2012/09/playing-with-apache-mod_geoip/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2012%2F09%2Fplaying-with-apache-mod_geoip%2F&amp;language=en_GB&amp;category=text&amp;title=Playing+with+Apache+mod_geoip&amp;description=If+you+want+to+add+some+rules+to+your+Apache+based+on+the+clients+country%2C+mod_geoip+is+perfect+for+it.+Installation+On+Squeeze+following+is+enough%3A+%23+apt-get+install+libapache2-mod-geoip...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Recent packaging updates 2012/09</title>
		<link>http://www.linux-dev.org/2012/09/recent-packaging-updates-2012-09/</link>
		<comments>http://www.linux-dev.org/2012/09/recent-packaging-updates-2012-09/#comments</comments>
		<pubDate>Wed, 12 Sep 2012 19:31:35 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=72</guid>
		<description><![CDATA[What I have done (on my packages for Wheezy) in the last weeks? imvirt 0.9.4-3 and 0.9.4-4 adds two upstream patches to remove an applicable use of /proc in Perls procfs_read() method, which fixes LXC detection and another patch to &#8230; <a href="http://www.linux-dev.org/2012/09/recent-packaging-updates-2012-09/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>What I have done (on my packages for Wheezy) in the last weeks?</p>
<p><strong>imvirt</strong></p>
<p>0.9.4-3 and 0.9.4-4 adds two upstream patches to remove an applicable use of /proc in Perls procfs_read() method, which fixes LXC detection and another patch to not count the dmesg lines twice within the KVM detection module.<br />
Much thanks to Thomas Liske!</p>
<p><strong>mlt</strong></p>
<p>The 0.8.0-4 upload also adds two upstream patches to fix an major memory leak in the mlt_cache function and a crash with LADSPA plugins on dlclose().<br />
And here much thanks to Dan Dennedy!<br />
I have also uploaded 0.8.2-1 to experimental.</p>
<p><strong>roaraudio</strong></p>
<p>1.0~beta2-2 and 1.0~beta2-3 added a few upstream patches to fix security and major use problems. The debdiff was a bit huge so it took a bit more time to unblock/migrate.<br />
1.0~beta5-1 is also available in experimental.<br />
Much thanks for the patch support to Philipp Schafft!</p>
<p><strong>otrs2</strong></p>
<p>With the 2.4.9+dfsg1-3+squeeze3 upload (DSA-2536-1) there was an security update for otrs2 on Squeeze which fixes a cross-site scripting issue and improved the e-mail filter to detect nested tags. Those &#8211; with a few other fixes &#8211; migrated with 3.1.7+dfsg1-5 to testing, while I also uploaded 3.1.10+dfsg1-1 to experimental.<br />
Now I can focus on the upcoming 3.2.x packaging. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2012/09/recent-packaging-updates-2012-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2012%2F09%2Frecent-packaging-updates-2012-09%2F&amp;language=en_GB&amp;category=text&amp;title=Recent+packaging+updates+2012%2F09&amp;description=What+I+have+done+%28on+my+packages+for+Wheezy%29+in+the+last+weeks%3F+imvirt+0.9.4-3+and+0.9.4-4+adds+two+upstream+patches+to+remove+an+applicable+use+of+%2Fproc+in+Perls...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Hide process information for other users</title>
		<link>http://www.linux-dev.org/2012/09/hide-process-information-for-other-users/</link>
		<comments>http://www.linux-dev.org/2012/09/hide-process-information-for-other-users/#comments</comments>
		<pubDate>Sun, 09 Sep 2012 14:09:43 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=64</guid>
		<description><![CDATA[Debian GNU/Linux Debian 7.0 (aka Wheezy) will be a &#8220;general hardened&#8221; distribution in my eyes. Not only that it now enabled hardened building of packages (see http://wiki.debian.org/Hardening), the Kernel team also backported with 3.2.20-1 the IMO very interesting hidepid option &#8230; <a href="http://www.linux-dev.org/2012/09/hide-process-information-for-other-users/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Debian GNU/Linux Debian 7.0 (aka Wheezy) will be a &#8220;general hardened&#8221; distribution in my eyes. Not only that it now enabled hardened building of packages (see <a href="http://wiki.debian.org/Hardening" target="_blank">http://wiki.debian.org/Hardening</a>), the Kernel team also backported with 3.2.20-1 the IMO very interesting hidepid option (already available in Wheezy since some weeks)!</p>
<p>What is the job of &#8220;hidepid&#8221;?</p>
<p>hidepid is an new mount option for the procfs (/proc), with that you can hide processes and its information to other users, like other shell users and to web scripts.</p>
<p>hidepid accepts three different values:</p>
<ul>
<li>hidepid=0 (default): This is the default setting and gives you the default behaviour.</li>
<li>hidepid=1: With this option an normal user would not see other processes but their own about ps, top etc, but he is still able to see process IDs in /proc</li>
<li>hidepid=2: Users are only able too see their own processes (like with hidepid=1), but also the other process IDs are hidden for them in /proc!</li>
</ul>
<p>Additionaly you can specifiy an user/group ID which is still able to look up the processes with the gid option. So if you want to hide all processes to other users, except root (uid=0) and in this example gid=1001 (some semi administrative user in this example) your /etc/fstab has to look like this:</p>
<p><strong>proc            /proc           proc    defaults,hidepid=2,gid=1001        0       0</strong></p>
<p>It was a good descision to backport this feature IMO, but also be careful, it *may* break programs. I did not found any server related application which will break with hidepid=2, but we had to adjust our Nagios monitoring to execute some process checks with another UID, since the nagios user itself could not see anymore, if process A and B is still running.</p>
<p><strong>UPDATE 1:<br />
</strong>Since a few people asked (thanks for it) with hidepid=2 the process IDs are not invisible, they are unavailable:<br />
$ ls /proc/1<br />
ls: cannot access /proc/1: No such file or directory<br />
$<strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2012/09/hide-process-information-for-other-users/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2012%2F09%2Fhide-process-information-for-other-users%2F&amp;language=en_GB&amp;category=text&amp;title=Hide+process+information+for+other+users&amp;description=Debian+GNU%2FLinux+Debian+7.0+%28aka+Wheezy%29+will+be+a+%26%238220%3Bgeneral+hardened%26%238221%3B+distribution+in+my+eyes.+Not+only+that+it+now+enabled+hardened+building+of+packages+%28see+http%3A%2F%2Fwiki.debian.org%2FHardening%29%2C+the+Kernel+team...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Raspberry Pi B</title>
		<link>http://www.linux-dev.org/2012/08/raspberry-pi-b/</link>
		<comments>http://www.linux-dev.org/2012/08/raspberry-pi-b/#comments</comments>
		<pubDate>Mon, 27 Aug 2012 12:26:41 +0000</pubDate>
		<dc:creator>the-me</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.linux-dev.org/?p=50</guid>
		<description><![CDATA[And here is it, after just six weeks of waiting! As you can see on the image it is as long as a cigarette lighter. Now I just have to find some free time to play with the Debian image &#8230; <a href="http://www.linux-dev.org/2012/08/raspberry-pi-b/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>And here is it, after just six weeks of waiting!<br />
As you can see on the image it is as long as a cigarette lighter.</p>
<p>Now I just have to find some free time to play with the Debian image and to install my little music station :)</p>
<p><a href="http://www.linux-dev.org/wp-content/uploads/2012/08/2012-08-27-13.55.131.jpg"><img class="size-medium wp-image-52 alignleft" title="2012-08-27 13.55.13" src="http://www.linux-dev.org/wp-content/uploads/2012/08/2012-08-27-13.55.131-300x225.jpg" alt="" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-dev.org/2012/08/raspberry-pi-b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=pmatthaei&amp;popout=1&amp;url=http%3A%2F%2Fwww.linux-dev.org%2F2012%2F08%2Fraspberry-pi-b%2F&amp;language=en_GB&amp;category=text&amp;title=Raspberry+Pi+B&amp;description=And+here+is+it%2C+after+just+six+weeks+of+waiting%21+As+you+can+see+on+the+image+it+is+as+long+as+a+cigarette+lighter.+Now+I+just+have+to...&amp;tags=blog" type="text/html" />
	</item>
	</channel>
</rss>
