Antti-Juhani Kaijanaho: Mother in hospital
My mother was admitted to hospital yesterday due to weeks-long fever and other symptoms. They say it’ll take a week or two to figure out what’s wrong.
I hope it’s just a simple reversible infection.
Note: This article is part of my OS Install Experiences series.OK, so let's start with something simple: Debian. Simple in the sense that there probably won't be too many surprises for me as a Debian developer (or for most readers of Planet Debian). For other people this might be interesting, though, and some facts are probably interesting to one or the other experienced Debian user/developer, too... Hardware A few words on the hardware I'll be installing all these OSes on. It's a cheapo (200 Euros) x86 PC (Intel Celeron, 2 GHz), 80 GB IDE hard drive, 256 MB RAM, ATI Radeon 9200 SE graphics adapter, Realtek PCI ethernet controller, CDROM, USB, and all the other standard stuff. Nothing fancy, really. Install
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1216 9767488+ 83 Linux
/dev/hda2 1217 1824 4883760 83 Linux
/dev/hda3 1825 2432 4883760 83 Linux
/dev/hda4 2433 9964 60500790 5 Extended
/dev/hda5 2433 2554 979933+ 82 Linux swap / Solaris
/dev/hda6 2555 2676 979933+ 83 Linux
/dev/hda7 2677 2798 979933+ 83 Linux
/dev/hda8 2799 3406 4883728+ 83 Linux
/dev/hda9 3407 4014 4883728+ 83 Linux
/dev/hda10 4015 4622 4883728+ 83 Linux
/dev/hda11 4623 5230 4883728+ 83 Linux
/dev/hda12 5231 5838 4883728+ 83 Linux
/dev/hda13 5839 6446 4883728+ 83 Linux
/dev/hda14 6447 7054 4883728+ 83 Linux
/dev/hda15 7055 7662 4883728+ 83 Linux
/dev/hda16 7663 8270 4883728+ 83 Linux
/dev/hda17 8271 8878 4883728+ 83 Linux
/dev/hda18 8879 9486 4883728+ 83 Linux
/dev/hda19 9487 9964 3839503+ 83 Linux
Install, continued
PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 113/tcp open auth 785/tcp open unknownNot good. A default install should not have any ports open, IMHO. There are more daemons running: exim (port 25), and famd (port 771) for example. Those are fine however, as they only listen to the loopback interface and are not exposed to the Internet (eth0).
drwxrwsr-x 3 root staff 4096 2006-05-17 22:48 /home drwxr-xr-x 11 uwe uwe 4096 2006-05-18 23:19 /home/uwe drwxr-xr-x 10 root root 4096 2006-05-17 23:43 /root drwxrwxrwt 8 root root 4096 2006-05-17 23:41 /tmp /dev: crw-rw---- 1 root video 10, 175 2006-05-17 23:13 agpgart crw------- 1 root root 5, 1 2006-05-17 23:13 console crw-rw---- 1 root audio 14, 3 2006-05-17 23:13 dsp brw-rw---- 1 root floppy 2, 0 2006-05-17 23:13 fd0 crw-rw-rw- 1 root root 1, 7 2006-05-17 23:13 full brw-rw---- 1 root disk 3, 0 2006-05-17 23:13 hda* brw-rw---- 1 root cdrom 22, 64 2006-05-17 23:13 hdd crw-r----- 1 root kmem 1, 2 2006-05-17 23:13 kmem crw-rw---- 1 root root 1, 11 2006-05-17 23:13 kmsg crw-r----- 1 root kmem 1, 1 2006-05-17 23:13 mem crw-rw-rw- 1 root root 1, 3 2006-05-17 23:13 null crw-rw-rw- 1 root root 5, 0 2006-05-17 23:13 tty crw-rw---- 1 root root 4, 0 2006-05-17 23:13 tty0 crw------- 1 root root 4, 1 2006-05-17 23:24 tty1 crw------- 1 root tty 4, 2 2006-05-17 23:13 tty[2-6] crw-rw---- 1 root root 4, 7 2006-05-17 23:13 tty7 [...] crw-rw---- 1 root root 4, 63 2006-05-17 23:13 tty63 crw-rw---- 1 root dialout 4, 64 2006-05-17 23:13 ttyS* crw-rw-rw- 1 root root 1, 8 2006-05-17 23:13 random cr--r--r-- 1 root root 1, 9 2006-05-17 23:13 urandom crw-rw---- 1 root root 7, 1 2006-05-17 23:13 vcs* crw-rw-rw- 1 root root 1, 5 2006-05-17 23:13 zeroMost of that looks sane to me (a "chmod 700 /home/uwe /root" would be nice, though), but maybe it can be tightened/secured a bit more? Ideas?
root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/bin/sh man:x:6:12:man:/var/cache/man:/bin/sh lp:x:7:7:lp:/var/spool/lpd:/bin/sh mail:x:8:8:mail:/var/mail:/bin/sh news:x:9:9:news:/var/spool/news:/bin/sh uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh proxy:x:13:13:proxy:/bin:/bin/sh www-data:x:33:33:www-data:/var/www:/bin/sh backup:x:34:34:backup:/var/backups:/bin/sh list:x:38:38:Mailing List Manager:/var/list:/bin/sh irc:x:39:39:ircd:/var/run/ircd:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh nobody:x:65534:65534:nobody:/nonexistent:/bin/sh Debian-exim:x:102:102::/var/spool/exim4:/bin/false uwe:x:1000:1000:,,,:/home/uwe:/bin/bash identd:x:100:65534::/var/run/identd:/bin/false sshd:x:101:65534::/var/run/sshd:/bin/false messagebus:x:103:104::/var/run/dbus:/bin/false hal:x:106:106:Hardware abstraction layer,,,:/var/run/hal:/bin/false saned:x:109:109::/home/saned:/bin/false gdm:x:104:110:Gnome Display Manager:/var/lib/gdm:/bin/false mysql:x:105:111:MySQL Server,,,:/var/lib/mysql:/bin/falseNot too good, IMHO. Almost all system accounts have a valid shell instead of /bin/false or /usr/sbin/nologin. Most of those should not need one, and security-wise it's a lot better to not give them a valid shell. The good news is that many daemons (ssh, mysql, etc.) don't have a valid shell. Uh, why is "Debian-exim" capitalized? Update: That's why.
# find / -type f \( -perm -4000 -o -perm -2000 \) -exec ls -ld ' ' \; -rwxr-sr-x 1 root tty 9784 2005-09-18 09:04 /usr/bin/wall -rwsr-xr-x 1 root root 22872 2005-05-18 08:33 /usr/bin/newgrp -rwxr-sr-x 1 root shadow 34488 2005-05-18 08:33 /usr/bin/chage -rwsr-xr-x 1 root root 28056 2005-05-18 08:33 /usr/bin/chfn -rwsr-xr-x 1 root root 28088 2005-05-18 08:33 /usr/bin/chsh -rwxr-sr-x 1 root shadow 16696 2005-05-18 08:33 /usr/bin/expiry -rwsr-xr-x 1 root root 34904 2005-05-18 08:33 /usr/bin/gpasswd -rwsr-xr-x 1 root root 26616 2005-05-18 08:33 /usr/bin/passwd -rwsr-xr-x 1 root root 34488 2002-01-18 09:13 /usr/bin/at -rwxr-sr-x 1 root tty 7992 2004-11-01 20:29 /usr/bin/bsd-write -rwxr-sr-x 1 root crontab 26872 2004-07-28 22:44 /usr/bin/crontab -rwxr-sr-x 1 root mail 9860 2004-06-04 17:21 /usr/bin/dotlockfile -rwsr-xr-x 1 root root 18136 2004-12-01 08:29 /usr/bin/traceroute.lbl -rwsr-xr-x 1 root root 809836 2006-03-10 12:19 /usr/bin/gpg -rwxr-sr-x 1 root mail 7764 2006-01-31 01:48 /usr/bin/mutt_dotlock -rwsr-sr-x 1 root lp 24184 2004-07-27 23:48 /usr/bin/lpq -rwsr-sr-x 1 root lp 22232 2004-07-27 23:48 /usr/bin/lprm -rwsr-sr-x 1 root lp 24440 2004-07-27 23:48 /usr/bin/lpr -rwsr-xr-x 1 root root 44024 2004-12-12 20:35 /usr/bin/mtr -rwsr-sr-x 1 root mail 71640 2005-03-01 16:37 /usr/bin/procmail -rwxr-sr-x 1 root mail 12712 2005-03-01 16:37 /usr/bin/lockfile -rwxr-sr-x 1 root ssh 57304 2004-11-28 16:33 /usr/bin/ssh-agent -rwsr-xr-x 1 root root 10894 2004-06-04 12:02 /usr/bin/fileshareset -rwsr-xr-x 1 root root 5144 2006-01-15 14:37 /usr/bin/kgrantpty -rwsr-xr-x 1 root root 5588 2006-01-15 14:37 /usr/bin/kpac_dhcp_helper -rwsr-xr-x 1 root root 98488 2006-03-20 23:03 /usr/bin/sudo -rwsr-xr-- 1 root plugdev 19096 2005-05-18 15:47 /usr/bin/pumount -rwsr-xr-- 1 root plugdev 26680 2005-05-18 15:47 /usr/bin/pmount -rwxr-sr-x 1 root nogroup 45600 2005-09-08 07:32 /usr/bin/kdesud -rwsr-xr-- 1 root dip 575192 2005-05-24 09:18 /usr/bin/kppp -rwsr-xr-x 1 root root 544332 2005-04-08 15:53 /usr/bin/gpg2 -rwxr-sr-x 1 root games 34872 2005-03-02 19:20 /usr/games/same-gnome -rwxr-sr-x 1 root games 57152 2005-03-02 19:20 /usr/games/gnomine -rwxr-sr-x 1 root games 65752 2005-03-02 19:20 /usr/games/gnome-stones -rwxr-sr-x 1 root games 70296 2005-03-02 19:20 /usr/games/mahjongg -rwxr-sr-x 1 root games 48952 2005-03-02 19:20 /usr/games/gtali -rwxr-sr-x 1 root games 36652 2005-03-02 19:20 /usr/games/gnotravex -rwxr-sr-x 1 root games 94200 2005-03-02 19:20 /usr/games/gnobots2 -rwxr-sr-x 1 root games 28776 2005-03-02 19:20 /usr/games/gnotski -rwxr-sr-x 1 root games 42584 2005-03-02 19:20 /usr/games/glines -rwxr-sr-x 1 root games 61944 2005-03-02 19:20 /usr/games/gnibbles -rwxr-sr-x 1 root games 78096 2005-03-02 19:20 /usr/games/gnometris -rwsr-xr-x 1 root root 5668 2006-04-02 15:32 /usr/lib/pt_chown -rwxr-sr-x 1 root mail 10940 2006-03-13 14:30 /usr/lib/evolution/2.0/camel/camel-lock-helper -rwxr-sr-x 1 root utmp 9144 2005-03-09 18:21 /usr/lib/libvte4/gnome-pty-helper -rwsr-xr-x 1 root root 13304 2005-09-06 15:13 /usr/lib/apache/suexec.disabled -rwsr-xr-x 1 root root 668568 2006-04-11 14:33 /usr/sbin/exim4 -rwsr-xr-- 1 root dip 265880 2005-05-05 19:32 /usr/sbin/pppd -rwsr-xr-- 1 root dip 29420 2004-09-30 04:13 /usr/sbin/pppoe -rwxr-sr-x 1 root lp 32248 2004-07-27 23:48 /usr/sbin/lpc -rwsr-sr-x 1 root root 7860 2005-09-02 00:44 /usr/X11R6/bin/X -rwsr-xr-x 1 root root 35512 2005-05-18 08:33 /bin/login -rwsr-xr-x 1 root root 23416 2005-05-18 08:33 /bin/su -rwsr-xr-x 1 root root 68440 2005-09-18 09:04 /bin/mount -rwsr-xr-x 1 root root 40920 2005-09-18 09:04 /bin/umount -rwsr-xr-x 1 root root 30764 2003-12-22 23:18 /bin/ping -rwsr-xr-x 1 root root 26604 2003-12-22 23:18 /bin/ping6 -r-sr-xr-x 1 root root 15000 2004-06-28 20:39 /sbin/unix_chkpwdQuite a bunch, I'd say. The games are "only" "setgid games", but I'd really, really remove them on any production machine which should be halfway secure. Some of those binaries probably need the setuid/setgid bit (su, passwd, ...), but others probably don't. Maybe we should ship more of that non-setuid per default and add a note to the READMEs which tells the admin how he can make the apps setuid if he should want that?
Irene(who, most likely, is not trained as a computer person; since 90% of all calls can be fixed by going with the customer through their connection and email settings, you can train anyone to be a first-line technical support person in one day, with most of the time spent in
How do I handle the phoneand
How do I handle the ticket tracking system) had a look at your request, saw that you had problems with sending email from remote systems, and copied a standard text about mail bounces in her reply to you. Remember that there are many people
out therewho think they know a lot about computers because they know how to start
regeditand know a few buzzwords; the presence os such words in a support request is not necessarily a sign that there's some clue at the other end of the line.
I have an ADSL modem and a Windows box.
SMTPis, and who is able to put a request with SMTP administrators to fix this issue if that is required. Take it from someone who used to work at one of Belgium's largest ISP's (at least, it was that when I used to work there—they've lost some market share since).
Please forward this email to an engineer responsible for Comcast’s SMTP service. I run an ISP. Email to @comcast.net addresses often bounces with a “556 null byte in data” rejection connecting to gateway-s.comcast. I use postfix from Debian Sarge. This is not a problem on my end. There are numerous reports of this problem in newsgroups (just google ‘556 null byte in data’ ‘comcast’). The problem is independent of mail user agent and ISP. Note that this is *not* an issue of my users attempting to connect to the Comcast SMTP server themselves—I understand there is some issue where Comcast only accepts SMTP/SSL/TLS now for its users. This is a *delivery* problem. I have seen some speculation that Comcast’s SMTP servers are rejecting email with this error because of either large attachments or attachments with long filenames. I have seen the problem occur where the attachments are very small (on the order of 10K), but I haven’t ruled out the latter explanation. Please let me know if there is anything I can do to fix this problem. My users would like to be able to email Comcast customers.Comcast’s response:
Dear Adam KESSEL, Thank you for taking the time to write us. Comcast is aggressive about protecting its’ subscribers from unwanted and unauthorized emails. In keeping with industry standards and best practices some recent changes to our filters have been made.If you are attempting to send emails to legitimate recipients in the Comcast.net domain, and receive an error message there are 3 likely reasons: 1. Your mail server has been identified as a source of Spam. Our mail filters have been updated to reject all mail from your server until the administrator of your mail server contacts us to request the server be removed. 2. The source of your message has a dynamic email address. Anyone attempting to email into the Comcast domain directly from a Dynamic IP address will receive the following error message: Comcast does not support the direct connection to its mail servers from residential IPs. Your mail should be sent to comcast.net users through your ISP. Please contact your ISP or mail administrator for more information. 3. Your mail server has an invalid rDNS value. What this means is that our mail filters authenticate each message by checking the rDNS value to ensure its’ a legitimate domain and yours wasnot. The error or “bounce” message you receive will indicate which reason the message was rejected. Youwill either be given the address to request Blacklist removal or you will be directed to our rDNS FAQpage. If a domain administrator feels that their IP range has been blocked in error or they would like information on required steps to be removed from our black list, they can contact us at: blacklist_comcastnet@cable.comcast.com If you need assistance setting up email through your ISP?s mail servers please visit their support pages or contact their support group. If you need information on the rDNS block, please visit: http://www.comcast.net/help/faq/index.jsp?faq=Email118405 Thank you for the opportunity to assist you. If you need further assistance with any of your Comcast services please reply to this email and we will be happy to assist you. Thank you again for choosing Comcast we appreciate your business. To visit our local support page including links to contact us via Live Chat, as well as many downloadable forms,and FAQ pages, please visit: http://www.comcast.com/nesupport/ Did you know that Comcast offers its customers a variety of free benefits? These include McAfee Antivirus, Firewall and Privacy software as well the Comcast tool bar that lets you take Comcast.net with you while you surf, and the Desktop Doctor to help you restore lost settings…plus much more, please visit http://www.comcast.net/downloads/ to see all of the extras that we provide. Sincerely,The last bit about “unauthorized use” is a nice touch. My follow-up:
Irene Comcast Electronic Customer Care - New England You can email us anytime by replying to this email or by clicking the “Contact Comcast” link found on the bottom of all www.Comcast.net and www.Comcast.com webpages. Our Electronic Customer Support teams are available to assist you 24 hours a day 7 days a week. **************************************************
The response contained in this message is intended for the addressee only and may vary from other ponses depending on geography, promotional campaigns or other factors. If you are not the intended recipient of this response, please delete this message. Any unauthorized use or dissemination of the information contained in this message is prohibited.
**************************************************
The 556 null byte SMTP error is *not* a spam or blocking related rejection. My mail server is (1) not a source of spam (2) does not have a dynamic IP address (I assume below whenyou wrote “dynamic email address” you meant “dynamic IP address”); it is not a residential IP but rather a commercial ISP that I run; and (3) the mail server has a valid reverse DNS lookup. To clarify: not every email is being rejected from the ISP’s IP address. In fact, the same sender can send from my ISP multiple times to a Comcast subscriber, and most messages will get through. There appears to be a bug in your SMTP delivery server whereby certain triggering events cause a 556 null byte error. There is at least some evidence that one such triggering event is an email with an attachment with a long filename. This is not a spam filter issue. This is a Comcast SMTP configuration issue. As you will see if you google “‘556 null byte in data’ comcast” this is awidespread problem that is entirely unrelated to Comcast’s zealous efforts to block unsolicited email. Please forward my email to an engineer or technician. Thanks,Finally, Comcast’s witty retort:
Adam
Dear Adam Rosi-Kessel, Thank you for taking the time to write us. Commercial Email Accounts We have to apologize, but at this time you must contact our Commercial Business support team by calling one of the following toll free numbers 888-824-8105 or 888-824-8155, 1-888-737-8361 Thank you for the opportunity to assist you. If you need further assistance with any of your Comcastservices please reply to this email and we will be happy to assist you. Thank you again for choosingComcast we appreciate your business. To visit our local support page including links to contact us via Live Chat, as well as many downloadable forms,and FAQ pages, please visit: http://www.comcast.com/nesupport/ Did you know that Comcast offers its customers a variety of free benefits? These include McAfee Antivirus, Firewall and Privacy software as well the Comcast tool bar that lets you take Comcast.net with you while you surf, and the Desktop Doctor to help you restore lost settings…plus much more, please visit http://www.comcast.net/downloads/ to see all of the extras that we provide. Sincerely,If anyone has interesting ideas about how to get past Comcast’s front lines, I would like to know.
Ivonne Comcast Electronic Customer Care - New England You can email us anytime by replying to this email or by clicking the “Contact Comcast” link found onthe bottom of all www.Comcast.net and www.Comcast.com webpages. Our Electronic Customer Support teams are available to assist you 24 hours a day 7 days a week. **************************************************
The response contained in this message is intended for the addressee only and may vary from other responses depending on geography, promotional campaigns or other factors. If you are not the intended recipient of this response, please delete this message. Any unauthorized use or dissemination of the information contained in this message is prohibited.
**************************************************
Additional feature of this fact is that I had a night to spend in Riga
where I had to be awake (as I came to Riga late at night and had to be
back at the airport at 5 in the morning) and a few days to spend with
my family on the way back.
On the way to Riga I used Ryanair and now I can compare experience with
their fiercest competitor - EasyJet. The conclusion is that I liked
Ryanair experience better: there is a bit less shouting announcement
and less organisation in general, which somehow worked just as good,
but felt better. We will see how they will handle my request to add a
bike to my return ticket when I will be coming back from Debconf.
Riga was a lot of fun - ate a bunch of good local food in Lido, spend
some value time with my girlfriend (or ex-girlfriend, I am not quite
sure about that) and got a taxi back to the airport. Nostalgia fixed
up.
From Riga to Mexico I was flying with KLM via Amsterdam. KLM is not a
low cost airline, so you get the food and drinks for free on the plane.
I already got used to this service not being there for most EU airlines
in the last few years. The service was very good and the food was fun,
but what I like the most was the Amsterdam airport - a very large and
comfortable place. There was no free WiFi, but there were some free
power sockets which helped me to spend my 8 hours there in with a bit
of comfort. The transatlantic flight was fun: several meals, a lot of
sleep, the King Kong movie (utter crap, the effects are only
interesting thing and only from a professional point of view), nice view
of Iceland mountains covered in snow.
Then we took a taxi from the Mexico City airport to the Debconf place.
My memory of the trip is very episodic: Heavy rain. Got into wrong car,
had to change. Small green taxis overtake us. We overtake a train that
runs in the middle of the motorway. A lot of ads of large people in
suits standing with a smile and welcoming hands. Politicians. :P
Mountains. We had to pay ~190 peso for the road tools in addition to
the 1900 peso taxi charge (for 7 people). Two hours in a taxi. The
driver only knew about the Oaxtepec aquapark (which is also here). The
security guards at the park entrance know about Debconf place and point
the way for the driver. After a kilometre another security checkpoint
did the same again. Hotel reception. Gunar with his wife there.
This is a resort. Four different swimming pools (including one with
10m diving tower), several hotels, shops with swimming stuff and junk
food, mango trees, several restaurants, conference places, football and
basketball fields, lots of tourists relaxing. Bunches of cats around in
the night.
In total I left Cranfield place at 9.00 GMT on the 5th of May and
arrived to the Debconf place at around 21:00 CDT on the 6th of May
which amounts to 41 hours of travelling. Ugh, no wonder I felt like a
zombie at the dinner.
The dinner was fun - a lot of ~20 people wander into the restaurant an
hour before closing, argue about what to order for around an hour and
then start eating. We left almost 1.5 hours after the place was
supposed to close. And then I got to my room (the door had to be opened
via security as my roommates were out somewhere) and crashed within
minutes. The last thought was something along the lines of 'Now that
was a fun 48 hour "day" ...' :)
the bullet zips back and forth between pipes and processes and barely has enough momentum left to enter your foot
There was a bang, and there's a pain in your foot, but you don't understand sendmail rulesets well enough to work out what happened
You shoot yourself in the knee, and it's your fault for not understanding mail systems as well as DJB that it happened. (and it's not a bug, oh no.)
the bullet zips back and forth between pipes and processes and barely has enough momentum left to enter your foot
There was a bang, and there's a pain in your foot, but you don't understand sendmail rulesets well enough to work out what happened
You shoot yourself in the knee, and it's your fault for not understanding mail systems as well as DJB that it happened. (and it's not a bug, oh no.)
% cat /tmp/junk
matz
% ruby -p -i.bak -e $_.upcase! /tmp/junk
% cat /tmp/junk
MATZ
Very handy. Tcl's command-based syntax just isn't quite as quick for those sorts of operations, so Ruby wins hands down here. I've suggested that the Tcl folks distribute a second program that takes a lot of the Perl-style command line arguments for this sort of work, but the idea doesn't seem to be of much interest.
C API's
On another tack completely, one of the things that originally drew me to Tcl was its very, very nice C API. It's documentation is clear, and thorough, and the API itself lets you get involved in pretty much any aspect of the language that you want. This makes sense, because when Tcl was originally created by Dr. Ousterhout in the late '80ies, the idea was to create a scripting language as a C library that would be loaded into other programs. The language has always been faithful to its heritage, and to this day I find it lots of fun to merge Tcl with C code.
I have to admit that I don't know the Ruby API all that well, but what I have looked up looks pretty nice. To a certain degree, it's comparing apples and oranges, because Ruby requires you to deal with the very object oriented nature of the language, whereas Tcl is a lot more direct. The Programming Ruby book's coverage of the subject also leads me to believe that Tcl really gives you access to more stuff (interpreters, channels, events, and many other parts of the system). Ruby seems to take an approach that might best be described as letting you write Ruby in C - meaning that you create Ruby objects, use their methods, get their values, and so on, but you're still really dealing with Ruby. This has a certain elegance, but sometimes it's necessary to muck about with things at a lower level.
I don't know how it works out in practice, but Ruby has a bit more infrastructure in place for actually building extensions once you've created them. Tcl has "tea", which is a set of m4 macros, but anyone can tell you that the auto tools are not much fun to work with (going to the dentist is more fun) - anything that keeps me away from them is welcome.
Garbage collection
One of the more interesting aspects of the different approaches to C interoperability is the fact that Tcl uses a simple, robust, straightforward reference counting system to keep track of, and throw away resources that are no longer used. Ruby has a mark and sweep garbage collector, which is probably more sophisticated, but also more complicated, and requires a bit more support from the programmer initially. The benefit is that once things are set up, they require less keeping track of, because you hand off memory management to the computer. From the end user's point of view, Ruby wins here, but if you happen to be writing a C extension, I could see it being more difficult to write and debug to this API, although Tcl has its own warts, one of the worst of which is the fact that Tcl values must be convertible back and forth to strings, so that for things like a file handle that can't really survive the round trip, because it's just a pointer, you use a hash table and some sort of string to hold onto the object:
"file1" -> int fd1
"file2" -> int fd2
which makes it impossible to GC these values.
I suspect that both approaches have their merits - Ruby's is more elegant, but Tcl's is simple and rugged.
Licensing
Bouncing back to something completely non-technical, Ruby's licensing is either the GPL, or their own license. If I understand things correctly, you can get around the GPL's "viral nature" by simply renaming things, if you have a need to include Ruby in a proprietary product:
Their death row raidInspired. NP: He Has Left Us Alone, but Shafts of Light Sometimes Grace the Corners of Our Rooms..., A Silver Mt. Zion
in means lethargy high jinks
as exhumation fault.
dynamo or spring chicken
Next.