Wouter Verhelst: Grmbl

wouter@country:~$ for i in $(seq 1 64) > do > killall -$i firefox-bin > doneI know it makes no sense, but goddammit.

wouter@country:~$ for i in $(seq 1 64) > do > killall -$i firefox-bin > doneI know it makes no sense, but goddammit.
Which would not at the single distribution the next it: confuses I
overdid it a week.
WTF?
When people it's possible (that when people the fact weekends). AOL
yes, configured to his blog post would need to go. Can't have config
wouter usually the end up the letter: installation. Not as I don't see
that people involved impression that does, not the port in Diegem, now:
So had listed at all the code that is considering how well, new Url
Openid function. The opposite side, to completely and which we'll have
asked someone teaching him this; the way. This season with The only
which I got the office mouse has a nice weather will get his words:
pretty negative, review over the see where my experience, to create a
beidcrld a rather than the article entitled why does appear to do
this.
dodo
Dear Bastian let's fix your blog post.
Philipp thinks, the fact that rng is not using the information in /usr/share/bug renders rng unfit for release and upgraded the corresponding bugreport from wishlist to serious. Moreover: since I dared to downgrade the report back to wishlist he decided to remove rng from testing and block it until the bug is fixed.
s/Philipp/the Release Team/g. And yes, we believe that reportbug-ng goes against the Maintainers wishes, and doesn't help users that don't know how to report a bug (and which are rng audience unless I'm mistaken).
I don t want to heat the debate about this bug again, but Philipp s decision seems arbitrary for me and I wonder if the same standard is applied to every other Debian package.It's not, it was discussed in the Release Team and was not Philipp on his own alone. And yes, the same standards of quality is wanted for every package in Debian.
I mean, rng has no release critical defects.That's you claiming that, there have been really constructive remarks in both bug that we upgraded, and that I think explain wisely why the current reportbug-ng behaviour doesn't makes it a suitable reportbug tool right now. I think for example that Sam's and Michael Biebl contributions in both bugs are good explanations of what is wrong and why.
It just does not use the aforementioned scripts as additional information in bugreports does this really render the software unfit for release ?Yes it does. Again, people that use rng are I think, less experienced users, who need guidance through the bug reporting process. The kind of users that often send annoying bug reports. Instead of lowering the annoyance factor, you aggravate it. In the end, rng makes the frustration higher, and totally fails to meet its primary goals: making bug reporting nicer, simpler, and more efficient for the Reporter and the Maintainer. While it's probably nicer for the reporter, you totally fail on the other part of the contract. And if you don't care about the Maintainer, then well, reportbug-ng is just a spam machine to them, and your careless attitude toward them is unfit for release for sure.
Dear lazyweb, I encounter MTU problems with an IPsec setup and NAT.
Here is a simplified version of my setup:
remote host --- internet ---> (eth0) gateway (eth1) --- LAN
As you may have guess, the gateway has only one public IP address and thus the hosts on the LAN are connected to the internet through NAT.
The connection between the remote host and the gateway is secured using IPsec (kame tools), and this works as expected as long, as the connection is done between the remote host and the gateway. The problems arise when I try to make a connection between the remote host and one host from the LAN. Due to the use of IPsec, the MTU is reduced by 44 bytes, however “ICMP need to frag” packets are not emitted by the gateway, so the connection just hangs.
I have tried various solution from the web (setting MTU on the various interfaces, clamping MSS with iptables, defining advmss with ip route, etc.), and the only one which actually works is reducing the MTU on the LAN hosts. Not very useable given that they are a lot of hosts on the LAN.
Note that when IPsec is disabled, if I lower the MTU of eth0, the “ICMP need to frag” packets are correctly emitted, and the connection just works.
Suggestions?
Philipp thinks, the fact that rng is not using the information in /usr/share/bug renders rng “unfit for release” and upgraded the corresponding bugreport from wishlist to serious. Moreover: since I dared to downgrade the report back to wishlist he decided to remove rng from testing and block it until the bug is fixed.
I don’t want to heat the debate about this bug again, but Philipp’s decision seems arbitrary for me and I wonder if the same standard is applied to every other Debian package. I mean, rng has no release critical defects. It just does not use the aforementioned scripts as additional information in bugreports — does this really render the software “unfit for release”? For example: In Etch we shipped a famous email client with a known bug which lead reproducibly to loss of emails on IMAP accounts, just because removing the program, or one of it’s components was not possible in the remaining time.

apt-get install re2c libc6-dev gcc makeNext, edit /etc/spamassassin/v320.pre and uncomment the line that says:
loadplugin Mail::SpamAssassin::Plugin::Rule2XSBodyNext pre-compile the regular expressions using sa-compile:
femme:/etc/logcheck# sa-compile [18741] info: generic: base extraction starting. this can take a while... [18741] info: generic: extracting from rules of type body_0 100% [===========================] 3293.83 rules/sec 00m00s DONE 100% [===========================] 650.12 bases/sec 00m01s DONE [18741] info: body_0: 647 base strings extracted in 2 seconds [snip compiler output] make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /var/lib/spamassassin/compiled/3.002004/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so Installing /tmp/.spamassassin18741hDrlUQtmp/ignored/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm Writing /var/lib/spamassassin/compiled/3.002004/auto/Mail/SpamAssassin/CompiledRegexps/body_0/.packlist Appending installation info to /var/lib/spamassassin/compiled/3.002004/perllocal.pod cp /tmp/.spamassassin18741hDrlUQtmp/bases_body_0.pl /var/lib/spamassassin/compiled/3.002004/bases_body_0.pl cd / rm -rf /tmp/.spamassassin18741hDrlUQtmpFinally, restart spamassassin, and you should find it runs faster. You will need to run sa-compile every time you update your rules, or they won't take effect. If you get the following warning:
Can't locate Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INCyou forgot to run sa-compile; re-run it and the error should go away.
Sarah and I did the 50km route of Tour
de Cure today. Many thanks to those who sponsored us. It was looking a
bit dubious for me making the $150 minimum for a while. Sarah raised $170.
We couldn't have asked for better weather, really. It was clear, not too
hot, a light breeze. The 50km route was very doable. All of the hills
involved were rolling, so it wasn't too much of a slog.
This was the first major bit of exercise that Sarah's done since her heart
surgery, just over 5 months ago now. She held up well, but was totally
exhausted afterwards. Some of the uphills were a bit tough on her. I'm
totally out of shape as well, and was expecting it to be much harder as a
result, but I was pleasantly surprised at just how doable the ride was. That
said, we both had a decent nap this afternoon after a dip in the pool.
Apparently the 75km route had some gruelling hills in it, so I think we'll
stick to the 50km one if we do it again next year.
Using org mode to write ikiwiki posts
I have been much taken by org-mode in Emacs recently. Firstly, this
has allowed me to actually effectively implement the tenets of
Getting things done , which is amazing by itself. I always used to
start with great enthusiasm, which rarely lasted longer than a
week. Until org-mode. Then this is so amazingly flexible. It has
better handling of tables and even a spreadsheet mode than anything
I have used and it has a pretty decent HTML export function. I
practically live in org-mode on work days now. I strongly recommend
org-mode, from things like agendas, TODO lists, calendars,
appointments, articles, and now Ikiwiki posts.
I rarely ever use markdown, apart from blogging using Ikiwiki
and thus, since I blog so infrequently, I rarely ever remember all
the syntax. On the other hand, org-mode syntax is now at my finger
tips so I decided it was time to write a Ikiwiki plugin so I can
now write my blog posts using syntax I can actually remember. It is
still rough around the edges firstly, this requires emacs23 (or,
on Debian, there is the unofficial emacs-snapshot package),
secondly, it uses hueristic hacks to prune away the bits of the
stand alone HTML page that org-mode creates; all I can say is that
it currently works for me, as you can see from this post. How git
this is for mainlne inclusion is another matter.
The code is here: org.pm.
It can be dropped in to the Ikiwiki plug-in directory, and that s
all you need. With this, Ikiwiki pre-process things in the input
file, and then passes it to emacs to htmlize it.
We actually got home last Sunday, but I've been too jetlagged, and then too
busy with work to really have a chance to write anything...
We got back in at around 2pm, but our bags fell victim to Heathrow's
Terminal 5, and didn't arrive until around 11pm. I think I lasted until
about 8pm, when I had to crash. Poor Sarah had to stay up until 11pm when
they finally got around to delivering our suitcases.
The week in Zurich was wonderful. The Zurich office is everything the photos
make it out to be, and then some. One weird thing: apparently there's some
Swiss regulation about how much you're allowed to cool a building in
relation to the outdoor ambient temperature, so there's no air conditioning
in the office. Instead, you can open the windows. Unfortunately, there's a
fairly busy set of train tracks right beside the office, so it can get a tad
noisy... It was a pretty warm week, I think around 30°C. I certainly
prefer being colder rather than hotter when indoors, so found the lack of
decent cooling to be a shame, given the rest of the building's features.
That said, it was pretty amazing sweltering away in Zurich, and then looking
up and seeing snow on the mountains. It was surprising how much of a
temperature difference there was.
On the last evening in Zurich, we went on a reconnoitre to try and find the
river that we could hear (and see on the map) behind our apartment. We
eventually found some street access to it, and it was another world back
there. It was fairly thickly wooded, and the sunlight was heavily filtered
through the trees, so it was cool and shady.
The river was fairly fast flowing over some rocks in parts, which is what
was making it so audible. The whole setting was absolutely beautiful. There
were a couple of paths, and the whole thing felt like something out of a
fairy tail. We think we stumbled onto a fox, but we're not sure. It's a
shame we only discovered the place on the last day, as I'd have liked to
have explored it further.
I really liked Zurich. It was nice and flat, and had an excellent tram
service. Monday
Night Skate made me wish I'd packed my roller blades. We were wandering
around on Monday night, and it felt like the entire city had donned skates
and were going out. Apparently the authorities really get behind it, and
close roads, and the police go along behind the pack and reopen the roads
behind them and pick up the stragglers. Great way to encourage an active
lifestyle.
We've got all of our photos up now from the Europe trip, and they're here.
This brings the total countries I've visited up to 10, excluding Hong Kong
and Macau. I don't like selecting China when I generate this map, as I've
never been to mainland China.
I’ve got a load of boxes running Debian etch with Xen 3.0.3 with routed networking (rather than bridged, so I can do iptables and reverse path filtering etc in dom0). Since upgrading from Xen 2.x many moons ago, I’ve not known how to configure one virtual interface to have more than one IP. In the meantime, I’ve ended up doing nonsense like providing a VM with two interfaces just to give it two IPs. However, this interacts really badly with reverse path filtering unless you do a bunch of source-routing rocket science in the domU to send out through the right vif.
So, I looked at the vif-route script and it seems to support iterating through a space-separated list of IPs, but I was totally unable to find any documentation or mailing list posts explaining how to format the IPs within the formerly-Python key/value Xen domain config file syntax. After a while playing with the parser and various levels of quoting, I found that actually, the correct amount of quoting is none at all, and also uncovered a bug in another script which prevents it from working correctly. In the hope that this might help others using Google and trying to achieve the same as me, here is my recipe for configuring Xen vif devices to have multiple IPs (note that I think this might be specific to Xen 3.0.x, as I believe 3.2.x introduces config files in the S-expression format which is what xenstore uses internally):
vif=['ip=1.2.3.4 5.6.7.8, mac=00:16:3e:01:23:45']
(device (vif (ip '1.2.3.4 5.6.7.8') (mac 00:16:3e:01:23:45)))
--- /etc/xen/scripts/vif-common.sh~ 2008-06-09 01:14:23.065065119 +0100
+++ /etc/xen/scripts/vif-common.sh 2008-06-09 01:11:06.599986274 +0100
@@ -103,7 +103,7 @@
if [ "$ip" != "" ]
then
local addr
- for addr in “$ip”
+ for addr in $ip
do
frob_iptable -s “$addr”
done
My local Sainsbury's has what's possibly the most infuriating in-store music setup I've encountered yet. The selection itself isn't really an issue (it's fairly inoffensive music that seems to stretch from the 60s up to contemporary stuff), but every minute or so the music fades out and is replaced with advertising. This was bad enough when it was just talking about Mars Balls (you really don't want to know), but now it's impossible for me to buy even a loaf of bread and several litres of Pimm's without three or four exhortations to consider buying a bottle of ros and drinking it on ice. It turns out that this is part of some promotion by Gallo to flog the stuff to professional young woman or some such market segmentation bollocks, although I suspect that the net effect is actually just going to be me, a knife and some stabbings.
I recently noticed that a very good way to safely read webcomics in
the bath tub is an old laptop with a big screen (e.g. a IBM ThinkPad
A-series like my 15” A31 which has a nice 1400×1050 resolution),
a water proof keyboard, the screen-alike, keyboard only driven (hence
the name) window manager ratpoison (other keyboard driven window
managers like wmii
or awesome
probably will do as well as ratpoison) and a good keyboard driven web
browser which can bind or by default has bound a key to follow
<link rel="next" ... /> tags.
Like Opera. Opera has bound the space bar to scroll one page down and
if you reach the bottom of the page to go to the next page as labeled
in the link tag. Additionally the full screen mode is helpful, too.
Or the dream browser of all Emacs addicts, Conkeror, which has bound
the function browser-follow-next to ]].
(Conkeror packages will hit Debian Experimental quite soon.)
Or the GNOME feed reader Liferea which has bound Ctrl-Space by default
to scroll down the content by one page and if you reach the bottom of
the content go to the next unread item.
With that equipment I can read my favourite web comics like Questionable
Content (whose content seldomly is questionable :-) or Ozy and Millie
(Think of a mixture of Calvin &
Hobbes, Peanuts
and Kevin &
Kell) in the bath tub without drying my hands before reading the
next comic or fearing water or health damage by the combination of
water and computer. I just press one or two keys on the keyboard
floating over my lap and have a good time.
BTW: I’ve got a blue, non-branded one (packaging reveals it as “AirTouch Keyboard”, probably
manufactured by SanChuan Electronics, China) with swiss-german layout from ARP Datacom (whose website
offers no permanent links and insists on session cookies
*puke*), but those from Keysonic or from ROCK seem to be very similar — nowadays they are also
available in illuminated, miscellaneous colors and wireless, but only IP65, probably because of the necessarily accessible
battery compartment.
But this kind of having fun still has optimisation potential:
non-flexibel water-proof keyboard (IP67 recommended, so
those IP66
keyboards and mice recently posted at UF LOTD are probably not
tight enough), flat screen mounted above the bath tub, etc. ;-) Or
maybe a completely water proof laptop if such thing exists — Does
it?
One more note: In Debian Sid and Lenny recently a new tool called keynav has been added, which allows you to control the mouse
quickly using the keyboard only. So with Sid or Lenny, I don’t even
need an waterproof mouse or trackball if an application insists on
mouse usage. ;-)


Stage 1 : working whilst tired, missed a critical dot in a command, removed system /etc/ instead of the local test ./etc/ of a root filesystem test build. Come home early to try to rescue the machine using /etc/ data from machines on the home network (same kernel, same users, same config).
Lessons learned: no unicode in filenames on my blog.
I had the great idea, a few days ago, to write a short blog post about my
trip to Cologne, and to give the file a name with a UTF-8 character
in it (the , to be exact). Except that I forgot how my blog actually
works...
I use blosxom to
manage my RSS feed and other parts of the blog; but to integrate it
properly in my website, I wrote a whole lot of stuff around that. It's
not just blosxom:
wouter@samba:/var/lib/svn/blog/hooks$ grep -v '^#' post-commit wc -l 20It takes care of updating the repository in /var/local/blosxom, and then fixes the timestamps on those files based on the timestamp of the original commit in the subversion repository. It's an ugly amalgam of svnlook date, svnlook history, touch and things, but it works. Sortof. Except if I remove a file, or if the svnlook history thing doesn't find the file itself. Finally, it will call blosxom itself, in the mode in which it creates files on disk rather than trying to do CGI output.
One think that really is annoying with Launchpad is its lack of interfaces with the outside world. No SOAP interface (well, I think that work is being done on this), no easy way to export all bugs. The only way to get all the bug data in a machine-parseable is to first fetch this URL, and then, for each bug number listed there, to make another request for https://launchpad.net/bugs/$bug/+text. I filed a bug a few weeks ago, asking for a simpler way to get all the data.
A Launchpad dev suggested to do what I just described (fetch all the number, then fetch the data for each bug). I originally dismissed the idea because it just sounded too dirty/aggressive/whatever, but since I needed to practice python, I gave it a try. And actually, it works: I was able to get all the data in less than an hour (but that probably put some load on Launchpad ;-)).
That allows to write cool SQL queries.
Bugs with the most subscribers:
select bugs.bug, title, count(*) as subscribers from bugs, subscribers where bugs.bug = subscribers.bug group by bugs.bug, title order by subscribers desc limit 10;
| bug | firefox | subscribers |
|---|---|---|
| 188540 | firefox-3.0 crashed with SIGSEGV in g_slice_alloc() | 291 |
| 154697 | package update-manager 1:0.81 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1) | 278 |
| 141613 | npviewer.bin crashed with SIGSEGV | 262 |
| 59695 | High frequency of load/unload cycles on some hard disks may shorten lifetime | 182 |
| 215005 | jockey-gtk crashed with AttributeError in enables_composite() | 171 |
| 216043 | compiz.real crashed with SIGSEGV | 168 |
| 121653 | [gutsy] fglrx breaks over suspend/resume | 144 |
| 1 | Microsoft has a majority market share | 142 |
| 145360 | compiz.real crashed with SIGSEGV | 134 |
| 23369 | firefox(-gnome-support) should get proxy from gconf | 126 |
select bug, subscriber_login as cnt from subscribers group by bug, subscriber_login having count(*) > 1;
| bug | subscriber |
|---|---|
| 33065 | mvo |
| 48262 | mvo |
| 144628 | skyguy |
| 158126 | benekal |
| 213741 | sandro-grundmann |
| 216043 | jotacayul |
| 221630 | kami911 |
select package, count(distinct bug) as cnt from tasks group by package order by cnt desc limit 10;
| package | number |
|---|---|
| ubuntu | 5392 |
| linux | 1464 |
| linux-source-2.6.20 | 1034 |
| update-manager | 826 |
| linux-source-2.6.22 | 724 |
| firefox | 684 |
| kdebase | 673 |
| firefox-3.0 | 668 |
| ubiquity | 590 |
| openoffice.org | 566 |
select bug, title, length(title) as len from bugs order by len asc limit 5;
| bug | title | length |
|---|---|---|
| 190560 | - | 1 |
| 160381 | uh | 2 |
| 224350 | css | 3 |
| 133621 | gnus | 4 |
| 138052 | pbe5 | 4 |
Joey,
I think your whole post only applies to HAL.
Fact is, DBus lets you know through a dedicated signal that you’ve been disconnected from the DBus server; at that point, you cleanup the connection and try to reconnect. Works for me.
Now, the fact that HAL (and/or libhal, it seems) provides no way of handling this situation cleanly is obviously a major bug.
I’m not a great fan of all the desktop crap that’s being promoted and hyped lately, but I am positive about DBus. DBus provides the mechanisms to handle a DBus restart properly, HAL (and pretty much everything else) doesn’t use them, blame HAL, not DBus, for this one.
As for the “DBus should never be restarted”… I have no idea why the DBus upstreams would think that, but that also wouldn’t be the first time distributions disagree with upstreams about what is good and what isn’t. The good news is, this is all free software and we can fix it without upstream’s blessing.
If somebody out there really believes that it is OK for applications to crash/exit when DBus is restarted, then I don’t have the words.
I won’t even mention the new behaviour of the DBus init script in Sid.
Next.