Andreas Metzler: What I hated about my sqeeeze upgrade experience - udev
Rant follows.
I have upgraded my PC to squeeze this weekend. While this generally worked
fine, udev (version 160-1) made my day. As usual I had not read the release
notes previously and was hit by
Joy. Thanks udev for telling me consumer devices have been fixed overnight, USB cardreaders have suddenly started reporting media change events.
Please upgrade your kernel before or while upgrading udev.dpkg to the rescue:
AT YOUR OWN RISK, you can force the installation of this version of udev WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
dpkg -i /var/cache/apt/archives/linux-base_2.6.32-21_all.deb dpkg -i /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-21_i386.deb /var/cache/apt/archives/linux-image-2.6-amd64_2.6.32+28_i386.deb rebootAfterwards the upgrade succeded. (For reference: The correct solution would probably have been to run apt-get install linux-image-2.6-amd64 and rebooting, before starting the dist-upgrade.) udev was not finished with me, though, the syntax for udev rules has changed again. ("NAME="%k" is ignored, because it breaks kernel supplied names", "SYSFS = will be removed in a future udev version, please use ATTR =", "BUS= will be removed in a future udev version, please use SUBSYSTEM=", etc.) So I started googling and rewriting my custom rules for USB-sticks and USB cardreader. After many reboots (the only way to test these rules nowadays), thing were still not working. My cardreader is not an exotic but a common one, i.e. it does not report media changes. (The guide for writing udev rules shares this opinion.) Previously I had:
BUS=="scsi", KERNEL=="sd*", SYSFS model =="Compact Flash",SYSFS vendor =="Generic-",NAME all_partitions ="cardreader/cf"which caused udev to generate /dev/cardreader/cf1, /dev/cardreader/cf2, etc. on bootup (without media present), enabling me to configure /etc/fstab to allow mounting of /dev/cardreader/cf1 without superuser privileges. After googling I ended up with this new rule:
SUBSYSTEMS=="scsi", KERNEL=="sd*", DRIVERS=="sd", ATTRS vendor =="Generic-", ATTRS model =="SD/MMC ", SYMLINK+="cardreader/sd%n", OPTIONS+="all_partitions"and while I get ...
argenau:~# ls -l /dev/cardreader/sd lrwxrwxrwx 1 root root 6 Sep 19 14:42 /dev/cardreader/sd -> ../sdd... there is still no /dev/cardreader/sd1 (unless I insert a card and run fdisk -l /dev/cardreader/sd as superuser). Looks like OPTIONS+="all_partitions" is ignored. And indeed I find this in udev's changelog:
udev 152
[...]
The option "all_partitions" was removed from udev. This should not be needed for usual hardware. Udev can not safely make assumptions about non-existing partition major/minor numbers, and therefore no longer provide this unreliable and unsafe option.
Joy. Thanks udev for telling me consumer devices have been fixed overnight, USB cardreaders have suddenly started reporting media change events.

Peter Cox on model complexity
As mentioned in 
Facebook is not very popular among free software hackers. When I announced my Facebook page on identi.ca (see 

DebConf continued until Saturday, but Friday the 6th was my last day as I left New York that evening. I m a bit late in getting this summary written up.
This post concerns Romanian politics, internal affairs and improper direction of public funding for new hideous churches in spite of education, culture, health, technic development and old monuments. Thus I will write this in Romanian. Curious foreigners can try to read the text via 
This blog post is actually a response to a talk that was given at the debconf last week. It was marga's talk about
I was in New York for three full weeks, before, during and after DebConf 10 took place. Unfortunately, I wasn't able to attend talks or go hang out with folks as much as I would've wanted. Most of the time I was busy at the office with a new product launch we have been preparing for the last few months. However, I was able to come and say hi to a few people, attend the C&W party and talk with friends and ran into. I was, however, following all conversations on IRC so I was pretty informed of all of what was going on. Some random thoughts:
So for one day a few days ago, I wasn't Wouter Verhelst, Debian
Developer, but rather the above. I'm not usually very much interested in
doing touristy things, but then on the other hand I'm of the opinion
that you can't really claim to have been somewhere if all you've seen is
the inside of a certain specific university campus.
So, well, touristy things. I took the subway to about 10 blocks away
from the very south of Manhattan, and then walked. I passed by city hall
and what used to be the world trade center, but there wasn't much to see
there construction sites are the same everywhere in the world. I
moved on to "the battery", the south tip of Manhattan, and had an...
interesting look at the Statue of Liberty in the distance. I thought
about going there, but the tickets were sold out, so scratch that.




