<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://blog.cihar.com/styles/feed.css"?>
<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/">
<channel>
<title>Debian</title>
<link>http://blog.cihar.com/archives/debian/</link>
<description>Random thoughts about everything…</description>
<dc:language>en-us</dc:language>
<dc:creator>Michal Čihař</dc:creator>
<dc:date>2008-05-14T23:02:34+02:00</dc:date>
<admin:generatorAgent rdf:resource="http://nanoblogger.sourceforge.net" />
<item>
<link>http://blog.cihar.com/archives/2008/05/14/everything_bad_is_good_for_something/</link>
<title>Everything bad is good for something</title>
<dc:date>2008-05-14T22:53:14+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Debian</dc:subject>
<description>
<![CDATA[<p>After recent not so funny thing with <a href="http://www.debian.org/security/2008/dsa-1571">OpenSSL in Debian</a>, I realized that I
will have to regenerate most of keys and certificates, because last big
changes I did in networking/vpn/ssh setup which involved generating keys are
not older than broken OpenSSL appeared in archives.</p>

<p>First obvious thing was SSH keys and cleanup of <code>~/.ssh/authorized_keys</code> on
all hosts. While doing that, I realized that I still have there several keys,
which are more or less gone (not that I'd lost them, but I simply stopped to
use them). So it was good opportunity to do cleanup here. While I was at these
changes, cleaning up <code>~/.ssh/known_hosts</code> was also good idea, because I still
had there lot of hosts I collected during some of my previous jobs and I
definitely won't (and can not) access these machines anymore. So good, big
cleanup in SSH configuration was forced :-).</p>

<p>Next and harder step was to found out where else I use certificates generated
by vulnerable OpenSSL. Server certificates for sure were also generated by
OpenSSL, so let's regenerate web and email certificates and hope I did not
miss anything.</p>

<p>All this happened yesterday, but today I realized that I missed other even
more important thing - OpenVPN certificates. While regenerating certificates,
I also found some machine keys which are not really used anymore, so I again
could drop some of them. So that was task for this evening and now I'm
hopefully really done with this issue and I really hope that this won't happen
again in near future, I don't need to cleanup that often ;-).</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/05/05/packages_cache_in_lan/</link>
<title>Packages cache in LAN</title>
<dc:date>2008-05-05T15:11:03+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Debian</dc:subject>
<description>
<![CDATA[<p><a href="http://fortytwo.ch/blog/archives/2008/05/#e2008-05-05T14_22_25.txt">Adrian</a>, it looks like you are looking for <a href="http://trac.phidev.org/trac/wiki/AptZeroconf">apt-zeroconf</a>. It looks
like great idea, but it does not seem to be really active recently and
unfortunately it did not yen find it's way to official archives...</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/03/26/enca_popularity_boost/</link>
<title>Enca popularity boost</title>
<dc:date>2008-03-26T17:10:34+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Debian</dc:subject>
<description>
<![CDATA[<p>Looking time to time to my <a href="http://qa.debian.org/developer.php?login=nijel@debian.org">QA page</a>, I could not miss huge
popularity boost for enca. After looking at reverse deps, I quickly
found out that Mplayer from <a href="http://www.debian-multimedia.org/">debian-multimedia</a> is reason for this:</p>

<p><a href="http://blog.cihar.com/images/blog/2008-03/enca-popcon.png"><img src="http://blog.cihar.com/images/blog/2008-03/enca-popcon-small.png" alt="libenca popularity" /></a></p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/01/18/toshiba_acpi_keys_hal_and_friends/</link>
<title>Toshiba ACPI keys, HAL and friends</title>
<dc:date>2008-01-18T13:44:07+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Life, Coding, Debian</dc:subject>
<description>
<![CDATA[<p>Long time ago I used <a href="http://fnfx.sourceforge.net/">FnFX</a> to handle events from ACPI keys on my
Toshiba notebook. However when <a href="http://blog.cihar.com/archives/2007/10/03/reinstalling_notebook/">reinstalling notebook</a> because of
disk crash, I thought there must be a cleaner way to handle these and I
found patch for acpid which added handling of these special events.</p>

<p>However I really didn't like patching acpid on every update and there
didn't seem to be chance to merge it upstream, so I started to look for
better solution. After another amount of googling, I found that HAL
already has some support for Toshiba hotkeys. Unfortunately it is now
<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400605">disabled in Debian</a> because most key did not emit anything using
HAL.</p>

<p>Okay, let's fix the HAL, maybe it will get later enabled. Converting
FnFX keymap to C code was quite easy and I made a <a href="http://cihar.com/patches/hal/toshiba_more_keys.patch">patch for HAL</a> to
add support for all keys. Hopefully it get merged soon and I can then
file bug on Debian package to reenable Toshiba support in HAL.</p>

<p>Meanwhile I'd like to find some generic way of configuring what happens
on these events. For now I hacked <a href="http://viewsvn.cihar.com/viewvc.cgi/scripts/trunk/bin/dbus-key-monitor">simple Python script</a> which
listens to DBUS events and invokes appropriate commands for keys, but I
hope that some such tool already exists and I just missed it. If you
know something, please let me know at <a href="m&#x61;&#105;&#108;&#116;o:m&#x69;&#x63;&#104;&#x61;&#108;&#64;&#99;&#x69;&#x68;a&#114;.&#99;&#111;&#109;">m&#x69;&#x63;&#104;&#x61;&#108;&#64;&#99;&#x69;&#x68;a&#114;.&#99;&#111;&#109;</a>.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2007/12/13/my_key_is_finally_in_keyring/</link>
<title>My key is finally in keyring</title>
<dc:date>2007-12-13T13:57:48+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Debian</dc:subject>
<description>
<![CDATA[<p>I somehow expected that this will never happen, but todays update
contained debian-keyring version 2007.12.04, which includes changes from
last two years or so. So finally who-uploads and other tools work
reasonably good for mine stuff.</p>

<p>Anyway I think with more than 6000 lines in last changelog entry, it is
good candidate to be the longest changelog entry ever been in Debian
:-).</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2007/11/29/retries/</link>
<title>Retries</title>
<dc:date>2007-11-29T11:55:05+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu, Debian</dc:subject>
<description>
<![CDATA[<p><a href="http://www.hezmatt.org/~mpalmer/blog/general/stupid.html">Matt</a>, SMSD in <a href="http://cihar.com/gammu/">Gammu</a> has retries (but sure it has another bugs :-).</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2007/11/29/too_lazy_to_manually_upload_to_ppa/</link>
<title>Too lazy to manually upload to PPA</title>
<dc:date>2007-11-29T10:55:42+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu, Coding, Debian</dc:subject>
<description>
<![CDATA[<p>As I wrote <a href="http://blog.cihar.com/archives/2007/11/27/binary_packages_for_gammu_wammu_and_python-gammu/">before</a>, I tried to use <a href="https://launchpad.net/ubuntu/+ppas">Ubuntu Personal Package Archive</a>
for distributing up to date Gammu, python-gammu and Wammu packages. For first
time I failed because I expected it to behave more like OpenSUSE build service
than like Debian archives, but I was wrong, so I have to upload different
version to each Ubuntu suite.</p>

<p>Well that sounds like a work which should be automated. So I hacked a little
shell script, which takes current version from unstable, updates changelog and
injects it into my PPA. The hacky script is called <a href="http://viewsvn.cihar.com/viewvc.cgi/scripts/trunk/bin/deb2ppa?view=markup">deb2ppa</a>. It requires
dput to be <a href="http://viewsvn.cihar.com/viewvc.cgi/scripts/trunk/.dput.cf?view=markup">configured for ppa</a> same way as I have it and maybe has some
other tricky dependencies which I do not realize right now.</p>

<p>Anyway you can now use current Wammu/Gammu versions even on older Ubuntu
releases if you wish :-). (Well you have to wait till it is rebuild, but I
hope it will not take much time.)</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2007/11/16/lets_automate_the_work/</link>
<title>Lets automate the work</title>
<dc:date>2007-11-16T11:46:19+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu, Coding, Debian</dc:subject>
<description>
<![CDATA[<p>Fixing bugs in code and committing it to VCS usually also means that you need
to interact somehow with BTS you use to let it know that the bug has been
fixed. This is manual work which could be done by some clever commit scripts,
right? All what is needed is just spend some time to set it up.</p>

<p>Most of my development currently goes to <a href="http://cihar.com/gammu/">Gammu</a>/<a href="http://wammu.eu/">Wammu</a> which uses
own Mantis bug tracker. It is already a bit prepared for integration with VCS,
but I never found their documentation sufficient. Fortunately somebody wrote
<a href="http://alt-tag.com/blog/archives/2006/11/integrating-mantis-and-subversion/">tutorial on integrating Mantis and Subversion</a>, which made it quite easy
to set up. All what was needed was to put little <a href="http://viewsvn.cihar.com/viewvc.cgi/scripts/trunk/mantis-svn-notify?view=markup">commit hook</a> into SVN.</p>

<p>Now the logical step was to make it also for Debian packages. A bit of
Googling revealed <a href="http://lists-archives.org/debian-devel/120150-commit-hooks-to-notify-bts.html">discussion on debian-devel</a>. Unfortunately no example
for SVN, but ripping out needed things from <a href="http://www.golden-gryphon.com/software/misc/hook.html">Manoj's script for Arch</a> was
quite easy and I made my own <a href="http://viewsvn.cihar.com/viewvc.cgi/scripts/trunk/debian-svn-notify?view=markup">commit hook</a>. While looking at this, I also
found wonderful tool called debcommit, which commits changes to Debian package
using changelog entries as commit message. I still wonder how many useful
tools are hidden to me.</p>

<p>The only thing I don't know is why Google didn't show me yesterday
<a href="http://www.eyrie.org/~eagle/software/svnlog/">svnlog</a>, which seems to have support for Debian BTS out of the box. Maybe
I just entered slightly different keywords than today when trying to find the
mentioned thread on debian-devel.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2007/11/07/rc_bugs/</link>
<title>RC bugs</title>
<dc:date>2007-11-07T22:14:59+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Debian</dc:subject>
<description>
<![CDATA[<p>I'm just wondering: Why do all my packages start getting RC bugs which are
easy to fix right now, when ftp-master is down and uploads are not possible?
It must have some coincidence...</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2007/11/05/new_gammu_is_in_debian/</link>
<title>New Gammu is in Debian</title>
<dc:date>2007-11-05T17:45:22+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu, Debian</dc:subject>
<description>
<![CDATA[<p>After massive processing of new queue during weekend (check <a href="http://heracles.corsac.net/~corsac/debian/new/">graphs</a> to get
better impression, kudos to all who managed to handle hundredth of packages
during weekend), new Gammu is in unstable. It is still not in shape for
migration to testing, but it is much better than the one I accidentally
uploaded before. Currently there are no known open regressions, so if you see
something failing what used to work before, just report it!</p>]]>
</description>
</item>
</channel>
</rss>
