Search Results: "sto"

5 June 2006

Robert Pickel: My progress so far

I forgot to write a progress report for last week's progress...
Here are some things that I did after submitting an updated proposal:

  • Put a development box together and got it up and running w/ sid.
  • Identified many steps in casper-bottom scripts that can be added to the post install script of the casper-ng package and started to write that script. (Some deal with: kdm, gdm, xscreensaver, and creating the default user)
  • Started to map out the operations of a boot param script.
  • Tested a new way to create a user at creation or boot time w/o a set password.


Problems: Sid broke! - There is an error when trying to build a new iso from scratch.

Plans for this week:

  • Finish up documenting what I have already started to work on. This documentation will be located on the wiki.
  • Finishing up post install script for casper-ng.
  • Continue to work on init script to override defaults.
  • Start working on a post removal script to restore the rootfs to its original state.

Philipp Kern: First SoC status report: Reportbug Gnome2 GUI

I was quiet about it for a long time, but here it is: my first Summer of Code status report. For a bigger picture: I am working on a graphical front-end to the bug tracking system Debian uses. Well, at least I am supposed to work on it. First on my list was something else: a Gtk2 graphical front-end for the well-known bug reporting tool "reportbug", which might later be integrated somehow into Debian's Gnome environment. According to the list of milestones I created when I drafted the application in less than an hour (due to the deadline approaching) I need to release a first prototype of such a GUI today. It took more time than expected to work on it, so I have not yet started any work on the main graphical front-end. I started a few days later than expected, due to some delay until the approved applications were published and I also had to learn Python from scratch. This task was not too hard, but I am still often confused by the lack of consistency throughout the language. Compared to Ruby, a language I know reasonably well and in which I already coded much, Python has much more syntactic constructs for primitives and in my opinion this leads to a lack of consistency. But well, one gets used to it... There was once a "original" Gnome front-end, but it is discontinued since some years already. I did not look much at it, neither at the patch in the BTS which should basically bring it to the current Gnome2 libraries. To properly understand the hooks I need to provide for an interface plugin I started from scratch, only reusing the core idea of the old front-end: the use of the GnomeUI Druid. The new GtkAssistant is not yet ready to be deployed, being introduced with the upcoming Gtk 2.10 release. Still I have a weird feeling about the Gnome Druid, because I abuse it just to provide a consistent look. reportbug does not support backing up to a previous question, so the Back button is generally deactivated. reportbug welcome screen reportbug package selection I tried to modify core code as few as possible, as I have not yet talked with the reportbug maintainer Chris Lawrence. I will do so in due course. However after the old GUI front-end code was basically discarded (its usage is discouraged with a prominent notice), many changes to the core code did only take the text interface into account. (Well, I just suppose this, I did not do much research into reportbug's past.) So some tiny changes were needed to provide a few more hooks. There are, however, more to come, especially in connection with one input type (select_options, which could often be implemented as presenting a simple yes/no dialogue). The configuration basically works already, as seen below. What does not work are spawing the right editor and getting a filename from the user interface. But those are minor quirks and not too hard to fix. I need to develop in the open, as specified by the Summer of Code ruleset, and now I could do so, after about four rewrites of the GUI code. The main GUI loop is now in a thread, receiving commands from the main thread running the logic and sending the input back through a queue. (I used a pipe-based approach first, using an IO selector provided by glib, but it did not work well enough and this approach is far simpler.) reportbug configuration screen reportbug configuration screen -- mode selection So the current version is not vapourware, but there is still some more work to do to get it really usable. I will put my work into the Summer of Code Subversion repository as soon as the necessary access privileges are synced onto costa, an Alioth machine. Hopefully it will be merged into reportbug when I completely finished off this project.

4 June 2006

Enrico Zini: Dapper on XEN (part 1/1, unfinished)

I need to do some work on a Dapper system, so it's time to try out xen:
apt-get install linux-image-2.6-xen-686 xen-hypervisor-3.0-i386 xen-utils-3.0 xen-tools
xen-tools tries to recommend xen, which is old and has been requested to be removed from the archive. The recommends needs to be ignored, which is not that trivial to do with aptitude. The linux-image doesn't happen to have an initrd. The bug has already been reported. One can recreate one using:
mkinitrd -o/boot/initrd-2.6.16-2-xen-686.img  2.6.16-2-xen-686
Then one adds this to /boot/grub/menu.lst:
title Xen
root (hd0,0)
kernel /boot/xen-3.0-i386.gz
module /boot/vmlinuz-2.6.16-2-xen-686 root=/dev/hda1
module /boot/initrd.img-2.6.16-2-xen-smp
And it boots lovely:
# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      939     2 r-----  4677.9
Now xen-tools provides xen-create-image. I'll try to create the Dapper image (deboostrap in my system has already been changed to be able to install dapper):
xen-create-image --size=4G --swap=128M --dhcp --volume=marvin \
                 --hostname=cavazza --dist=dapper --fs=xfs
But I get:
[...]
Creating swapfile : /dev/marvin/cavazza-swap
Done
Creating disk image: /dev/marvin/cavazza-root
Done
Creating xfs filesystem
Done
Installing the base system.   This will take a while!
Copying files from host to image.
Finished
Something went wrong with the debootstrap installation
Aborting
I love detailed error messages. This one is not. So I'll have to do by hand. The documentation says:
Before you can start an additional domain, you must create a configuration file. We provide two example files which you can use as a starting point:
  • /etc/xen/xmexample1 is a simple template configuration file for describing a single VM.
  • /etc/xen/xmexample2 file is a template description that is intended to be reused for multiple virtual machines. Setting the value of the vmid variable on the xm command line fills in parts of this template.
But in Debian there's no trace of the two example files. I've reported to Guido Trotter. Then I googled for the two files and found them. Now, on to adapt Dapper to run under Xen. The good Ubuntu wiki has an HOWTO which crudely makes you install the Tarballed Pre-built installations of Xen 3.0. It's sad that xen-enabled kernels didn't make it into Dapper roper. I can make this:
kernel = "/boot/vmlinuz-xen-domu"
memory = 128
name = "Dapper"
disk = [ 'phy:marvin/dapper,hda1,w' ]
dhcp="dhcp"
root = "/dev/hda1 ro"
I used the pre-built kernel as a domU, but:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
Sigh. I'll try with the Debian Xen-enabled kernels. Installing yaird and linux-image-2.6.16-2-xen-686_2.6.16-14_i386.deb and linux-modules-2.6.16-2-xen-686. It WORKS! Now, that's not Dapper: that's a debootstrap install of it. No user, no root password, no desktop, no shiny Ubuntu custom config. How to finish the installation? No idea. In the past, I could run base-config, but now it doesn't exist anymore. It seems that the best bet is not to use debootstrap, but to install the CD in the LVM partition using QEMU and then chroot into it and then install the debian xen kernel to boot it. A QEMU install will take ages, and I expect some trouble, like getting partman to see LVM. Maybe I better install on a disk image file and then use tar and netcat to bring the ubuntu installation out of the disk image and into the LVM image. For today, I didn't make it. This job slips another day. Frustration. I hope that at least this description of my efforts so far can be helpful to someone trying similar things. One suggestion I got was to boot the Dapper CD and install from there. I can't: this computer has no bootable CD. Update: I found out http://xensource.com/summerofcode.html and it says:
Project Idea 3: Xen Desktop Outside of Domain 0 This project would deliver a Xen desktop to the user of a client system that presents an abstraction of a virtual desktop to the user in which multiple guests share the virtual desktop, each with a subset of the desktop resources (pixels, etc). Smart management of the sound drivers would allow mixing of sound from multiple guests to the single device used for output. Microphone input could be broadcast to all guests. Technologies such as ALSA already emulate playback settings by downsampling for the hardware etc. so its not hard to imagine a xen-snd-front device munging the data to a common format used for the internal sound card. Issues: synchronization of playback.
So, what I'm trying to do has been proposed as a SoC project and (I guess) is something that can't be done overnight. Although I was planning to run a diskless gdm accessed with XDMCMP from domain0's X server, and to just hand out the audio card to the domU using pciback, so my task would have been easier. Thus I give up using Xen for this one. I'll work around the lack-of-bootable-cd limitation of this computer by installing Ubuntu using QEMU. Which I found out requires using the "Alternate install" CD. The desktop install CD is a live CD installing with Ubuntu Expresso, and the live CD doesn't seem to work in QEMU. Or, I'll install in a LVM partition in the laptop and then move it around using the network. This one's probably faster. Could this experience be an interesting use case for Edgy Eft?

Erich Schubert: How to avoid locking yourself out via iptables...

Martin F. Krafft blogged about how to rollback firewall changes in the case you managed to lock yourself out from the box It's even easier if you use my Pyroman firewall config tool. (apt-get install pyroman). If you run pyroman safe it will execute the new firewall rules - and if you don't type OK within 30 seconds, it will undo all changes. Note that it can also restore to a configuration set by a different firewall app. (It just restores the old iptables state and feeds it back to iptables - it will support anything your iptables version does.) Oh, and it's much faster than the other firewall scripts I've tested so far, since it doesn't spawn hundreds of iptables processes, but only one iptables-restore for setting the new rules in one transaction. Check the web page for other benefits; should just work on any Linux distribution with iptables and python (read: every). [Update: Martin, I was referring to the instructions you gave, to adding an at job and then running atrm to accept the changes. Yeah, what you script does is basically the same what mine does for rollback.]

Decklin Foster: Irony Alert

The other day I went back to the West Hartford library for some more DVDs and stopped by the New Non-Fiction shelf. This book caught my eye. It claimed to be a lexicon of euphemisms, doublespeak , and other language used in the US to disguise one s true opinion, assumptions, or political agenda (you know how we love politics over here). An Ambrose Beirce for the talking head set, if you will. So I flipped through it for a bit, and to be fair, the authors did do a commendable job of pointing out some of the subtle presumptions of many words that I myself think I use completely innocently. Even if I try to directly combat this tendency in my own way, one could certainly argue that ideas like systemic bias or jargon themselves implicate or demonize certain groups. But that's why we need something like this book, right? Have to keep on our toes. Then I landed on H. The first entry was hacktivism . ...which, it read, like hacking, is illegal...

Martin F. Krafft: A safer way to apply a new iptables ruleset

You probably now the feeling, that cold and hot rush of adrenaline after you've typed iptables-restore < new-ruleset and didn't get to see the shell prompt again: you've just locked yourself out of a machine that's potentially far away, and you feel like vanadlism, or screaming on the top of your lungs, or whatever. In my series "scripts to the rescue" (uh, which doesn't exist as a series actually), here's a new one: iptables-apply (and docbook manpage), which will make things easier for you. It applies the new ruleset and then prompts whether you like it. If you've locked yourself out, you cannot answer the prompt, and if you don't, the script rolls back the ruleset. Nice and simple. And surely beats my previous approach, which was:
echo 'iptables-restore < /etc/network/iptables'   at now + 2 min
iptables-restore < /etc/network/iptables.new
[...]
atrm ...
mv /etc/network/iptables .new, 
Now I hope the iptables maintainer feels inclined to put the script in with the package (see #370292).

Dirk Eddelbuettel: Sunburst Races Marathon 2006

Went to South Bend, Indiana, on Friday for the 2006 Sunburst Marathon yesterday morning. This is a smallish marathon with 600 runners, embedded in a half-marathon, 10k and 5k all of which start at the College Football Hall of Fame and end in the Notre Dame football stadium. Early 6:00am start, made worse by the fact that it is one time zone earlier too so I got up at 3:30am 'my time. Ouch. The race almost didn't start as a hazardous materials spill was announced right at start time. Luckily, that got taken care of and we were off and running at 6:15am. The first ten to twelve miles went pretty well and fast, and I slowed down a little afterwards. I started to pay for the fast first half with some oncoming cramps starting around mile 18. Somehow I managed to suppress the cramps with a combination of walking water stops, gatorade, gu (handed out by the race organisers a four or five water stops -- nice!) and sheer stubbornness and some more walking when needed. I had aimed to beat my Boston qualifying time of 3:20 -- and I did with a chip time of 3:17:48, which is also another PR and a nice improvement over the previous three marathons. So on to Boston for the one hundred eleventh Boston Marathon next April!

Michael Janssen: Pet Peeve #2: Microsoft Excel and Unicode

Recently I was working on an application for ICRA2006 and I needed to output some data to be read by Excel. This would seem like an easy problem, just output in CSV and Excel can open the text just fine. Unfortunately Excel has one of the most backwards implementations of international character support that I have ever worked with. Being nieve to this, I simply tried UTF-8. I was greeted with multiple strange characters in the place of my normal umlauted and tilde-d letters. A quick search turned up that when Excel reads a CSV, it assumes that it is in ASCII or . However, you can import the CSV as a text file and select it as unicode. This is where my real pet peeve is: You can't select the character set of a CSV in Excel. You have to rename the file as a .TXT file and go through a wizard, basically spelling out that yes, it is comma separated and yes, this is the data I want to import. There's one drop down box which specifies the character set. Of course Unicode is supported there.

In the search for a solution to this problem which didn't involve a 10-step process for the customer, I discovered the Unicode marker which is supported by Wordpad, but amazingly, does nothing but add a bit of garbage in Excel. The sad part is that I can be almost certain that the next version of Office will continue to have this problem. My only hope is that somehow the XML format will be open enough to just create a native Excel file.

3 June 2006

Erich Schubert: SELinux support is a release goal for etch

SELinux is an official release goal for etch. However, we're currently far from that. So far, very few developers are actually using SELinux (if any), or even testing it. I won't be doing anything on SELinux for the next 6 weeks at least, more likely 6 months. So currently I don't see how we can manage this goal, unless more DDs (and of course users; you don't need to be allowed to upload packages) help getting SELinux properly integrated. (You can run SELinux on etch without having to recompile any software I think, but you'll have to do quite a bit of customizing yourself right now.) For a coordinated effort to get SELinux into shape for etch, there are Debian SELinux mailing lists, but so far they're basically unused. [Update: yes, one option is to remove SELinux from the etch release goals. I was in fact rather surprised to see SELinux listed there.] [Update #2: It was pointed out, that the first occurence of "release goals" in that mail is prefixed by "pet". Don't ask me what the difference between a release goal and a pet release goal is, though. I guess something like being in an official wishlist...]

Filippo Giunchedi: all your setuid are belong to us

today #370045 has been filed against the (in)famous netselect. The postinst was not setting the setuid bit even the user said otherwise, after a bit of investigation it turned out that chown (or better, the kernel) clears the setuid bit as a security measure as explained by Mike Stone.
Nice security measure, oddly enough I've never noticed that effect (that is, netselect's postinst was correctly working for me) so it must be new or I was being hitted by some bug or it's been there for years and I'm the last one to know. Or all the previous options.
Anyhow, netselect -8 is on its way with two postinst lines swapped.

2 June 2006

Evan Prodromou: 13 Prairial CCXIV

The Globe and Mail had an article today about a new Ubuntu version in the works. (I think the headline writer screwed up.) It's good to see a Linux distribution's release covered in the mainstream press.

Steve Kemp: How can I explain the deep down driving? driving?

Headphones which assume non-customized ears suck.

Gerfried Fuchs: Back in the worng timezone

After two weeks and a bit it finally happened: I hit austria again. But, first things first. I guess everyone noticed by now that at the start the network wasn't our best strengths. I helped as much as possible, collected network cable back from one path to lay it out at a different one just to find that the about 200 m were a bit too short (or rather, me was lying the cable with too much safety). Though, it was too long anyway to be relyable, to it was cut in the middle and a small access point was put in. Later it had to be replaced because we were running a bit short of specific power supplies. But it wasn't too bad, waiting for some more rj45 plugs and other things even allowed Ganneff to spend some time in the pool and relax a bit. And given that there seem to have been a few (vegetarian) people less than registered for sponsored meals allowed stockholm and Vagrant to get extra dishes to get fed. People during the debcamp mostly enjoyed themself, mao was played, fights for the gay vegetarian sign, tetrinetx on homer when only local network was available, and I managed to translate the new wesnoth tutorial into german. It wasn't clear by then that the new release will be delayed due to other problems until after the debconf, but in my opinion the tutorial is one of the most important parts of any games because it explains the basics, so I wanted to be sure that there won't be another release without a fully translated one. About enjoying oneself: I tried out the skirts I brought with me and considered them absolutely comfortable. You'll find me more with one, especially when it gets warmer. It helped me to be more "myself". Also I enjoyed the weird looks and repeated questions about my shoes — although it was often that I was walking barefooted; but that got a bit of a pain, especially after noon when you were able to boil eggs on the stones. And given that I forgot myself when I switched from blue/red shoes to red/blue ones you don't have to send in your guesses when it was done because I can't tell who would be the winner anyway. ;) The end of the week came, the Debian Day was here. Closer to its happening more and more people arrived and it was becoming more crowded in the hacklab. The network became more and more stable, the video streaming setup got finalized, and everything looked alright. Some of the mexico city people stayed for the night and enjoyed the friendly atmosphere (and a beer or two ;)). The debconf started for real, the talks started, people were busy all around, zack added me to the alioth pkg-vim project to continue helping with the hijacked debian specific syntax files. Haven't done much yet beside a checkout, still pondering where I can bug around most ;) I was looking forward to bubulle's BoF about the i18n infrastructure. It was really inspiring, and I collected some ideas for what the tool-to-be-created should support. The second BoF later the week just showed that others were mostly thinking along the same lines, so I hadn't much to add. Still I am looking forward to join the effort to make it happen — I was playing with the idea about such a tool for ages now, and I guess this is what it will make it happen, finally. Christian is so much more able to get people interested and together for making it happen than me... :/ There were some more talks I could mention, like Enrico's talk about Advanced tools for wasting time (yes, I have submitted my gnu.cow file in the meantime), or Erin's and aj's Debian's Debugging Debacle: the Debrief (in which I finally got around to fix a RC bug incidentally), and the talk by bubulle and jfs about State of the art for Debian i18n/l10n of course, which features some of the conclusions of the two part BoF. Some of the evening featured interesting things too, like a cheese BoF, the everywhere featured formal dinner with its mariachis, the waterfall and the blackout; special effects you wouldn't be able to plan as well as they happened — though Martin Ferrarri had a small accident with it when water rushed down onto his plate and spilled the sauce over his white shirt and the table. And then there was the hard liquour BoF where I quit after the eggnogg. The week passed, I got my hair dyed and rid of my beard right in time for the group photo. Thank you nattie, a thousands time, it went better than I expected! Really like it. I didn't attend the fun photo in the pool the next day, was a bit late after the talk, didn't had my bathing slip with me, was worried about my newly dyed hairs and was nervous... because a person I was looking forward to meet again was late. But gladly only late, so I got rid of my nervousness and enjoyed the last official talk (formerly mentioned i18n talk) of the week, and explained to some attendee that even in languages like French, German and English (yes, no mistake) there are still areas we have to struggle with all of this, like when keeping things up to date and the likes. It was the last evening in Oaxtepec for me because I refused to leave by bus at 4 in the morning, rather wanted to spend the night in Mexico City to at least be able to have seen a tiny bit of it and eat something my tummy enjoys completely. :) I guess I don't need to point at sandino's gallery about that evening anymore, thanks to Gunnar. And yes, I'm mentally disturbed, but that shouldn't be anything new to people who know me for a while, or is it? ;) This night was too long (less than 4 hours of sleep is even for debconf not much), so I rather went to bed early after a small walk (just 2 blocks or such) in the city and a nice dinner with friends who are missing the nice time too and was wearing too big sort-of shoes. Went to the airport in the morning by taxi whose driver gladly was able to speak english. Met zack and Martin Ferrari again there, and some other people with whom I was taking the same plane with. They were hacking along on the airport, found the open wifi, using power supplies from different spots. Bubulle already wrote about the two loud guys, gladly I wasn't too close to them, and plugged myself into the music and movie channels from the plane. The showed Last Holiday (which I really liked, although in the ending I started to cry — mostly because I started to realize what I was leaving...) and two spanish movies of which I don't remember the titles. People started to hack away in the temporarily set up hacklab and we started to wonder how much power they might have, though they cheated: They used two battery packs... In Madrid some more people parted and we were down to 5 people. I bought totally overpriced playingcards so we could play Mao, had a short nice session and spread the word. We did hack the baby room power supply and hacked along a bit more, and then Peter and me were off heading to vienna, finally. All in all I really enjoyed it. Although there were its down times, sunburned, my butt hurting a bit because in the end I did jump from the 10m platform into the pool, it still was a really nice event and even though I guess many people tried to enjoy themselfes quite some things were acomplished. If not really codewise, then at least social-wise, which will benefit quite well in the future, I'm sure. Hope to see you all next year, wherever that might be.

Philipp Kern: Finally Erich got an account for his second hidden identity

Hey Erich, it's nice to see your hidden identity to get its own account and privileges. Hopefully you get more recoginition from within Debian now!

Uwe Hermann: OS Install Experiences - Part 3: PC-BSD [Update]


Note: This article is part of my OS Install Experiences series.
I'll continue with the recently released operating system PC-BSD 1.1, which is based on FreeBSD 6.1. This is actually the first time I installed a BSD-like OS, so I thought it would be a bit of a hassle. But I was surprised to find that the install was really pretty easy (which is a major goal of PC-BSD, as I understand it). I didn't even read a manual or installation instructions or anything... Install
  1. First, I downloaded a PC-BSD 1.1 CD #1 image, burned it on a CD, and booted from that.
  2. The first installer screen is text-based (later it's graphical), and allows you to choose between a normal install ("boot FreeBSD"), install "with ACPI", "safe mode", "single user mode", and "with verbose logging". You can also "escape to loader prompt", or "reboot".
  3. While the installer runs, it merely shows a nice desktop background, pressing any key shows you the boot messages.
  4. After a while you can select a screen resolution for the graphical installer, run fdisk, escape into an "emergency shell", chroot into the root partition, or reboot. Default is to start the installation at a pre-selected screen resolution.
  5. You can choose the language and keyboard layout. Although you can click "back" to return to previous steps in the installer, you can not go back to the language/keyboard selection later!
  6. Partitioning. First, you can choose on which disk to install, then choose the partition to use. The list only shows the primary partitions and an "extended DOS" partition. Device names for disks are a bit different in BSD world. /dev/ad0 (counting starts at 0) is the first disk, /dev/ad0s1 (counting starts at 1) the first "partition" (called "slice" in BSD). It doesn't seem to be possible to install PC-BSD on an extended partition (please correct me if I'm wrong), so I installed it on /dev/hda2 (/dev/ad0s2 in BSD-speak), which is a primary partition. To make things more complex and confusing, a BSD slice can contain multiple "partitions" (not the same as Linux partitions!). I now have /dev/ad0s2a, which is the boot partition, and /dev/ad0s2b, the swap partition. Confused? Me too.
  7. Note that changes made to the partition table seem to be effective immediately, there's no way to go back without losing data! Debian's installer is better at this. The default PC-BSD file system is UFS, btw.
  8. The hardware will be automatically detected (worked quite well for me).
  9. You can now choose to either install the BSD bootloader in the MBR, or install no bootloader at all. Not sure what the best thing for me is here, but I decided to install the BSD bootloader (overwriting GRUB). I might have to re-install GRUB (and tell it about PC-BSD) if the BSD bootloader cannot boot the other (Linux) OSes.
  10. Now I must enter the root password, and I can also create another user. I noticed that passwords can only contain alpha-numeric characters (no %$ ,.#+!? and so on). WTF? They can't be serious... Also, you must enter a real name for the normal user, it won't let you continue until you type something... Pretty annoying. There's a checkbox called "Auto-Login User?" which is enabled by default, but I didn't find out what exactly that does...
  11. The network is successfully auto-configured via DHCP. I was not asked for a hostname, but typed hostname after the install and I got PCBSD.localhost.
  12. Reboot. The CD is not ejected automatically, you have to remove it manually before booting up.
  13. I'm asked to insert CD 2 (language packs), which I don't have (or want), as I only burned CD 1. Clicking "abort" does the trick, and I can continue with English as the default language.
  14. Finally, I'm dropped into a KDE session, and that's it.
Security That's it. Comments, suggestions, flames? Update 2006-06-02: Added IPv6 netstat/sockstat output.

1 June 2006

Adam Rosi-Kessel: Montreal Memorial Day 2006

Rachele and I went to Montreal for the day this past weekend. It was the longest time we’ve ever left our one year old daughter Esther—just over twelve hours with my parents. Remarkably, she survived, and didn’t even miss us. Every time I go to Montreal I’m reminded of just how much better Canada is. For example, Senzala, a Brazilian breakfast place in Mile End, served the most delicious gourmet poached eggs (pictured here with Rachele): We also had a great time visiting the Botanical Garden, a vast park that dwarfs anything Boston has to offer. Here are a few examples of the flora—click on the image to see the full size version.
Along with poached eggs, beautiful gardens, and socialized healthcare, what more could one ask for?

31 May 2006

Christian Perrier: Fly Emirates

This trip to Bhutan is really an experience to have. First of all, that's my very first trip to Asia, so many things are actually new to me. I'm just like a 12-year old kid...:) I have been incredibly lucky to have flights booked on Emirates. This airline company is by far the best I have ever used. Aircrafts are all brand new (or I have been lucky enough to have theit only two brand new ones). Cute entertainment system which JoeyH would have loved hacking and Erinn would have loved putting games on it (maybe some were from your company, dear?). Large seats....and plane filled at about 30%, so 3 seats for myself in the Dubai-Bangkok flight and 2 in the Paris-Dubai. Geesh. My co-travellers from the trip to Mexico would appreciate the difference, I think. The aircraft crew is one of the friendliest I have ever seen (and cutest, should I say?). Iberia dragons are far away. Very international crew: on the plane from Dubai to Bangkok (which was continuing to Australia and NZ), the total number of languages spoken by the crew was 21. Not exactly as many as languages supported in D-I, but not that bad, indeed. I would have been tempted to continue to Sydney and Auckland. I bet I would have easily found hosts over there to stay for a while (hello to my friend Andrew "karora"). But I stopped in Bangkok. Huge noisy airport, with work IP-over-DNS on the WiFi...nice. As I had to spend nearly 12 hours there, that helps. I was tempted to go sleeping in a hotel, but the only easily accessible one is a luxury thing, for USD280 per night. Dude. So, let's spend the night on the hard seats in the waiting areas, trying to sleep with a bunch of other lost people. The stop in Dubai was an experience. The airport is simply...a big mall with luxury shops everywhere (and bloody expensive stuff: it seems that as long as you write "duty free" on shops, all jerks come and spend their money to buy stuff they could have bought for half the price in their country). However, seeing the city from the top is somehting one has to do once. Pictures to come on my gallery. I'll maybe blog again from Bhutan, if I manage to get time enough (I bet that I'll be very busy as there are a few people over there that I'm really impatient to meet and talk with). And, agin, nice pictures from the airplane to come, I hope (Himalaya, dude!) See you in Timphu!

David Pashley: Init(1) Causing zombies

Had an interesting problem today with one of our servers at work. First thing I noticed was yesterday that an upgrade of Apache2 didn't complete properly because /etc/init.d/apache2 stop didn't return. Killing it and starting apache allowed the upgrade to finish. I noticed there was a zombie process but didn't think too much off it. Then this morning got an email from the MD saying that various internal services websites were down (webmail, wiki etc). My manager noticed that it was due to logrotate hanging, again because restarting apache had hung. Looking at the server I noticed a few more zombie processes. One thing I'd noticed was that all these processes had reparented themselves under init and a quick web search later confirmed that init(1) should be reaping these processes. I thought maybe restarting init would clear the zombies. I tried running telinit q to reread the config file, but that returned an error message about timing out on /dev/initctl named pipe. I checked that file existed and everything looked fine. The next thing I checked was the other end of the named pipe by running lsof -p 1. This showed that init had /dev/console rather than /dev/initctl as fd 0. I tried running kill -SIGHUP 1, but that didn't do anything. Then I tried kill -SIGUSR1 1, but that didn't do anything either. I checked the console, but there wasn't enough scrollback to see the system booting and decided to schedule a reboot for this evening. Rebooting the server presented me with an interesting challenge. Normally the shutdown command signals to init to change to runlevel 0 or 6 to shutdown or reboot using /dev/initctl. Of course init wasn't listening on this file, so that was out. Sending it an SIGINT signal (the same signal init gets on ctrl-alt-delete) had no response. Obviously telinit 0 wasn't going to work either. I decided to start shutting services down manually with the help of Brett Parker. The idea was to stop all non-essential services, unexporting nfs exports, remounting disks read-only and then either using sysrq or a hardware reset. Unfortunately someone accidentally ran /etc/init.d/halt stop, hanging the server, but he is suffering from a bad cold today so I forgive him. The server restarted without a hitch (thank god for ext3) and running lsof -p 1 showed init having /dev/initctl open. I don't know what happened to init the last reboot on Monday, but a reboot seemed to fix it. Odd bug, but thankfully it was a nice simple fix. I could have spent the evening debugged init. :)

Aigars Mahinovs: Debconf6 day 7: Lightning and splashing

May 20th. The day started with an important meeting that was aimed at getting our priorities straight for the Google Summer of Code (SoC) program. Many good and some not so good applications have been proposed to Debian by students from all around the world. Now it was the time for Debian to choose the best of these proposals and rank them according to our priorities. We did not know how many applications Google will grant us, so we had to get our rankings right through the whole scale. We want to be sure, for example, that after this meeting project ranked 5th would be less useful to us then any of the first four, but more useful then all others. The discussions were short and very on topic. Rankings were determined quickly and mentors for all selected project were appointed. AJ leading the BOF was very helpful in making decisions when they had to be made. Now we only need to wait and see how many application slots Google will give us. A set of lightning talks followed. The talks were very different: some were funny, some were serious, some were too fast, some got to get boring. The one talk I want to highlight especially is a talk by Joey Hess about what Debian can learn from Gentoo. Especially handling of configuration files on package upgrades was raised as an example. Gentoo is an interesting distribution that is developing very separate from Debian, so it is quite possible that upon closer inspection there are other things that Debian could use from what Gentoo is doing. That only needs some closer inspection by someone with in-depth knowledge in both systems. Right after the lightning talks I want off to prepare for the second group photo - the fun photo in the pool. It was planned just before lunch. The start was small and easy - 15 people easily make a swirl by the side of the pool. As people continue to join maintaining order becomes harder and harder despite all efforts of self-organization on the part of all people involved. The swirl grows, deforms beyond recognizability and then straightens out again, just to be deformed again by newcomers. Just like Debian. When the number of people grew to 50 I decided that we no longer can get a better swirl in any reasonable timeframe, so I called that shot done and called everyone to group into a single bunch for a different take on the fun group photo. That was much easier except for the splashing fight that broke out in the back rows and took over the whole group as soon as I called that the second fun group photo is also done. After that all went for lunch. The next thing I went to was the discussion about the Debconf7. Apparently it was not supposed to be a public discussion, but after a while the consensus of open discussion prevailed and candidate cities for Debconf7 started their presentations. Edinburgh was the first candidate - they had it all: good transport connectivity, good Internet, nice facilities, nice living places. It was not clear about the food and the prices were very high - 30 EUR per person per day, not including food. As the presenter from next city could not come because of visa problems, stockholm presented for her. Sarajevo is the capital of Bosnia and the organizers have all needed problems solved already: facilities are provided by an UAE company (so they are the best one can get for any kind of money), 20 Mbit of sustained throughput Internet connectivity, very cheap food with good adaptability, 15 minutes from the airport. In total the Sarajevo Debconf would cost around 15-17 EUR per person per day. After that "Brixon boys" presented their city for Debconf7. The presentation was more concentrated on skying and other relaxation issues then on the questions that are more relevant to the organization of such conference as Debconf. >From this meeting and from talking to people later on I have two conclusion on the matter: 1. it would be very good to make a decision on the next Debian conference place slightly more open and also pool people about issues that concern them (which is planned now), but I still think that one person should be entitled to make the final decision; 2. I think Sarajevo is the best choice for next year for many reasons, but most important because of cost. The less it costs per person to hold a Debconf, the more people can be there and the more people could get sponsored travel. Some people might even agree to come to Debconf by a bus, which should be quite possible from most of continental Europe it the conference is in Sarajevo. It would be much cheaper and would still be not as exhausting as the 40 hour flight mambo jumbo that I had to take to get to this event here. Bubulle spoke afterward summarizing the i18n situation in Debian before Debconf6 and the discussions that took place at Debconf6 that intend to improve it. It was a good summary, so you only need to watch the i18n BOF videos if you will be working in the infrastructure. CAcert signing event was conducted after that. I have no idea of the real use of those certificates, but some apparently do. As the final discussion a meeting specifically about the Google Summer of Code i18n infrastructure project was conducted. We were deciding what shall we ask Gintautas (the student that proposed the project) to do, how will we define the scope of his work, so that we can have a definite way of determining if he did that or not be the end of the SoC program. The final decision will ultimately be on me. The result of this meeting was that we will ask Gintautas to take the current code of Pootle and make of it an translation system with clearly separated backend where other translation frontends could be plugged into. After that (optionally) he should work to create such plugins in cooperation with other Debian i18n and Pootle developers and also continue refactoring and remaking the codebase to allow for other plugin development. But the essential part of Gintautas contribution will be a clearly separated translation backend with Pootle frontend and a stable API between them. After the SoC will be over Gintautas will be welcome to present his further vision on the whole infrastructure at the I18N meeting in Extramadura. This work will also serve as a research base to clarify Debian i18n needs, so it is very well possible that at Extramadura it would be decided to abandon the current code and make a new system from scratch in Zope 3. :)

Evan Prodromou: 12 Prairial CCXIV

Last night (30 May) at midnight the new Quebec smoking law went into effect. People who've been to Quebec before may naturally think that this law required mandatory smoking in all public areas, but in fact it was just the opposite. They actually banned smoking in restaurants and bars!

Next.

Previous.