Search Results: "sten"

21 June 2007

Kartik Mistry: Being Father

* .. is not easy! The little one is doing fine but mom was feeling some weakness due to lost of sleep at night, so we went to hospital today. Now, I am thanking myself for being here and having 2 weeks off from Office/Traveling. If you wondering that why it is hard to be mom/papa? See below. My brother recorded voice of above feat. Very interesting, but I wasn’t able to listen it fully!

20 June 2007

Adam Rosi-Kessel: On the Twitter Bandwagon

Just to prevent people from thinking I’ve gotten old and stodgy, I’ve joined the Twitter bandwagon. Here’s my feed, which also appears in my sidebar. I’m reminded of a Utah Phillips quote, from a different context:
Well, and I’m open to all those things. If you live in California, you’ve got to be open; if you’re not they pry you open.
I’m not sure whether I really agree with Twitter–it reminds me of this interesting collection of postmodern thoughts from n+1 magazine:
The Decivilizing Process As the specific addressee of any set of remarks becomes less important, in the midst of more and more babble, it will become more and more difficult to remember the special status of listening human beings, in the confusion of shouted orders.
But, hey, it’s worth a try.

19 June 2007

Evan Prodromou: 30 Prairial CCXV

Hooray! I'm in a good mood for no reasonable reason. My notebook (a Toshiba Port g R200) has been having problems with its AC power cable for the last couple of weeks -- never quite staying connected, flickering on and off. I've had to do a lot of jiggling and plugging/unplugging and general chicken-waving voodoo just to get it to stay running off of wall power. This afternoon, at Caff ArtJava, it just gave out. I went over to have some coffee and do a little work after our weekly status meeting with IB, and when I got there it just wouldn't connect -- and, of course, the battery was almost dead. I gave up, enjoyed my latte, then went down to The Source and got some contact cleaner, in hopes that that would do the trick. It didn't. Faced with hours of jiggery-pokery, I instead came home and went for a bike ride with Amita June. She's usually been pretty excited about riding bikes, but yesterday we rode out to the playground at Parc Mont-Royal and she refused to wear her helmet or get in the bike seat for the way back. If you've ever walked a bike while walking a two-year-old home, you'll know how much our walk back sucked. But this afternoon she was all excited about riding in the bike again. I didn't take her out of the bike this time, but we rode all over the Plateau and had a great time. "More bicycle!" she said when we got back home the first time. OK -- we went for another short ride. Then she was happy. But I still had a dead notebook with no power when I got here. Then I remembered that I had one of these iGo "Juice 70" power adapters in one of the boxes marked "office" in our not-quite-yet-unpacked house. The Juice is a universal (well, close) power adapter for notebooks. I'd bought it once on a business trip because I'd forgot my power adapter at home, but I hadn't needed it since. I nearly donated it to computation.to when we moved, but kept it on a whim. And I'm glad I did, because it worked fine for my notebook. So I got this unjustified emotion of self-satisfaction out of the whole thing. Hooray! tags:

Paysages ph m res A couple of weeks ago, a stenciled bust of Obwandiyag showed up on the corner of rue Pontiac and rue Bienville. Obwandiyag, better known as Chief Pontiac, led Pontiac's Rebellion at the end of the French and Indian War. A sign on one of the buildings on our street notes that Pontiac, "vainquer des anglais", had a camp in this area sometime 1760s. I saw some new stencils today as I was riding around. They're part of a cool installation arts program in the Mont-Royal area called Paysages ph m res. It's a pretty neat project; I'm glad they're back for the summer. tags:

Scott James Remnant: Upstart 0.3

For the last couple of months, both at the Ubuntu Developer Summit in Mountain View and on the #upstart IRC channel, we’ve been discussing the changes we want to make to upstart for the Feisty Fawn release of Ubuntu. This will ship with a version of upstart based on the 0.3 series (it may end up getting called 0.5 before release); the primary goal for this are to have an init system that is suitable for general standalone list in any Linux distribution. I’ll be giving a talk at linux.conf.au 2007 in Sydney with that aim, I hope to persuade at least one other major Linux distribution that it’s the right solution. A complete list of the specifications and bugs being targeted for the 0.3 release can be found in Launchpad. The rest of this post will introduce some of the shiniest new things. Writing Jobs Upstart takes care of starting, supervising and stopping daemons itself; unlike in the init script system where you have to write code to do that yourself, often using a helper like start-stop-daemon. All you need to is give the path to, and arguments for, the binary you wish to be started.
exec /usr/bin/dbus-daemon
Some jobs, especially quick tasks, will usually be written as shell scripts. To save having to write a separate file and invoke it, you can include shell script code directly in the job file instead of using the exec stanza.
script
    echo /usr/share/apport/apport > /proc/sys/kernel/crashdump-helper
end script
Usually it’s not sufficient to just start a binary and wish it well; you frequently need something to be run before it is started to prepare the system, and sometimes something after it terminates to clean up again. For these purposes, additional snippets of shell code can be given – to be run before the binary is started, and after it has finished. Unlike init scripts, these do not need to start or stop the daemon itself; that’s done automatically based on the exec stanza.
pre-start script
    mkdir -p /var/run/dbus
    chown messagebus:messagebus /var/run/dbus
end script
post-stop script
    rm -f /var/run/dbus/pid
end script
For consistency, executables may be specified with pre-start exec and post-start exec instead of shell scripts as above. It’s sometimes useful to be able to run something after the binary has been started; for example, you may wish to attempt to connect to the daemon to determine whether it is ready to serve requests. post-start script or post-start exec can be used to this.
post-start script
    # wait for listen on port 80
    while ! nc -q0 localhost 80 </dev/null >/dev/null 2>&1; do
        sleep 1;
    done
end script
It’s also useful to be able to notify a daemon that it may be about to be stopped, or delay it for a while. pre-stop script or pre-stop exec can be used for this.
pre-stop script
    # disable the queue, wait for it to become empty
    fooctl disable
    while fooq >/dev/null; do
        sleep 1
    done
end script
Events Events are now quite a bit more detailed than in previous versions; they’re still named with simple strings that are up to the system sending the event, but they can now include arguments and environment variables which are passed through to jobs being started or stopped as a result.
initctl emit network-interface-up eth0 -DIFADDR=00:11:D8:98:1B:37
This command will now output all of the effects of this event, and will not terminate until the event has been fully handled inside upstart. Events such as the above can be used by jobs that examine the event arguments and environment within their script:
start on network-interface-up
script
    [ $1 = lo ] && exit 0
    grep -q $IFADDR /etc/network/blacklist && exit 0
    # etc.
 end script
or matched directly in the start on and stop on stanzas:
start on block-device-added sda*
The events generated by job state changes have also changed. Previously both jobs and events shared the same namespace, which not only caused confusion but actually caused some problems when one accidentally named a job after an event. The two primary events generated are now simply called started and stopped; they inform you that a job is fully up and running, or fully shut down again. The name of the job is received as an argument to this event.
start on started dbus
The started event is not emitted until the post-start task (described above) has finished; so the post-start task can delay other jobs from starting because they can’t yet connect to the daemon. Likewise the stopped event is not emitted until after the post-stop task has finished. The other two events emitted by a job are special; they are the starting and stopping events. The reason they are special is that the job is not permitted to start or stop until the event has been handled. This means that if you have a task to perform when your database server is stopped, but before it’s actually terminated, it’s as simple as:
start on stopping mysql
exec /usr/bin/backup-db.py
MySQL won’t be terminated until the backup has finished. This is especially useful for daemons that depend on each other, for example HAL needs DBUS, it shouldn’t be started until DBUS is running and DBUS should not be stopped until HAL has been terminated. All the HAL job needs is:
start on started dbus
stop on stopping dbus
Likewise if tomcat is installed, Apache should not be started until tomcat is running; and tomcat should not be stopped until apache has been terminated. All the tomcat job needs is:
start on starting apache
stop on stopped apache
Failure Nothing goes smoothly all of the time, sometimes tasks the job runs will fail, or the daemon itself will die. As well as providing the ability for a crashed daemon to be automatically restarted, upstart ensured that other jobs are notified with a special failed argument to the stopping and stopped events.
start on stopped typo failed
script
    echo "typo failed again :-("   mail -s "typo failed" root
end script
And if any job started or stopped by an event fails, it’s possible to discover that the event itself failed.
start on network-interface-up/failed
States While tasks such as configuring a network interface, or checking and mounting a block device are usually performed as a result of events; services are more complicated. Services normally need to be running while the system is in a certain state, not just when a particular event occurs. Therefore upstart allows you to describe arbitrarily complex system states by referring to events that define their changes. For example, many services should be running only while the filesystem is mounted, and at least one network device is up. We have events to indicate the changes into and out of these dates, we just need to combine them:
from fhs-filesystem-mounted until fhs-filesystem-unmounted
and from network-up until network-down
The until operator defines a period between two events, the and operator ensures we’re within both of these periods. Perhaps we need to be running while any display manager is:
from started gdm until stopping gdm
or started kdm until stopping kdm
Or maybe we only want to be run if a network interface comes up before bind9 has been started:
on network-interface-up and from startup until started bind9
These “complex event configurations” can appear in any job file; and any job file itself can serve as a reference for other jobs. They will be started and stopped at the same time as the named job:
with apache
Omitting the exec or script stanza from a job file means that it simply defines a state that can serve as a reference for others. As such, the multiuser state is simply a job file that defines it. As an added bonus, these states can still have pre-start, post-stop, etc. scripts.

Joerg Jaspert: DebConf7 - Blogging from the Cabal Secret Headquarters

I’m now already 9 days in Edinburgh (started writing this at day 5 already :) ), and all of them have been days of “get up at 8h, breakfast, goto Teviot, work until 23h, go back to Hostel”, with some short breaks in Teviots Bar and for Lunch/Dinner. Sounds stressful but actually was (mostly) a lot of fun, preparing the network, setting up all the core servers together with two other admins while at the same time getting a lot of request to change various parts of our Conference Management System Pentabarf to fit some peoples need at various places. The airline managed to get me to EDI, together with a few other Debian people on Friday, 8th June, around noon, where Mark (mhy) Hymers did wait already, so I didn’t need to take a bus to get into the town. On the way to Teviot I also remembered some of the places from back when we did the Venue visit for the DC7 decision. But not many, of course one forgets a lot over the time. At least I was able to remember some food places, which is always a good sign. :) At Teviot we met with Stephen (sgran) Gran to (unsorted list) have some food, unload the car, think about the way to get our uplink to our server room, check into the hostel - and whatever else we did at that day. Next day, officially called Setup day, we started to get two cables from our server room to the place our uplink is - you can see them if you go to the left site of Teviot. (The other two got there a bit later). After that we started with the setup of the network, which is pretty nice this year. We have a lot of sponsored machines that are doing various tasks, a nice network layout involving a lot of vlans to seperate stuff and a lot of (good) crack. What, you dont want to listen to boring details? Ok, here they come: - The main machine is, again, called Homer. Connected with a 2Gbit link to our master switch. It does those little things noone needs, like firewall, local mirror, dns, nagios, routing between various nets we have here, the schedule bot, etc. - There is also a Marge, who is the central point for the whole wireless network, running chillispot to have authentication for it. - Barney is used as a storage server for the video team, having some 1.5TB (raid5) space for the video data. It has 2 additional disks, 500G each, to copy data on and get them home to a video team after the conference. - Our streaming master machine at DC7 is called Lisa, and does not more than streaming for all the local clients and sending the stream out to our streaming master somewhere in the internet which then relays it to our streaming servers kindly offered by a lot of admins all over the world. - We also have Bart and Maggie, which serve as public build boxes for the attendees, where Maggie even runs a distcc open to the whole local network. - You can add the same amount of servers to this list which all do various tasks for the video team. This stuff is all glued together by a set of managed switches building our core backbone, running a number of vlans to seperate the different network segments. Which actually works quite nicely, as even at the time some expert managed to plug a cable into the same switch twice (yay, loop) - the only affected network part was that where he was in. The rest of the conference didn’t even notice it - until all of the admins jumped out of the admin room at once, looking for that fuckup. :) Sounds like crack? Probably is, but is a nice setup all together, and it was fun to set it all up together with Mark and Stephen, the two main admins for this conference who designed most of the whole structure and are the ones that really know it. I already “volunteered” them for the next DebConf to help as admins and really hope they decide to do it. Later on during DebCamp we also had Peter (weasel) Palfrader joining the local admin team. His main work here is related to the video team by hosting the geodns setup for the streaming and by running a local nagios to check the things we need to check. This enabled us to simply tell everyone Use streams.video.debconf.org:8000 wherever you are and you will get to the right server for you. Explaining this in a short way basically goes as “a monitoring tool keeps track of which servers are up and only enables them to resolve. Our geodns server then replies with the right server IPs, depending on in which region of the world you are.”. Which means streams.video.debconf.org will resolve to the local streaming server lisa while you are here, at the same time resolve to a number (those that are up) servers in Europe if you are in Europe or to those in the US if you are there. Nice. (And while I’m already blogging - I do hate my laptops suspend, err - I mean non-suspend mode. Somehow it got worse in the last days, sometimes needing multiple minutes (like 10) to decide to suspend to disk, and the suspend-to-ram still wont work. I should really get someone here that knows this stuff having a look at it. :) ).

17 June 2007

Joerg Jaspert: DebConf7 - Blogging from the Cabal Secret Headquarters

I’m now already 9 days in Edinburgh (started writing this at day 5 already :) ), and all of them have been days of “get up at 8h, breakfast, goto Teviot, work until 23h, go back to Hostel”, with some short breaks in Teviots Bar and for Lunch/Dinner. Sounds stressful but actually was (mostly) a lot of fun, preparing the network, setting up all the core servers together with two other admins while at the same time getting a lot of request to change various parts of our Conference Management System Pentabarf to fit some peoples need at various places. The airline managed to get me to EDI, together with a few other Debian people on Friday, 8th June, around noon, where Mark (mhy) Hymers did wait already, so I didn’t need to take a bus to get into the town. On the way to Teviot I also remembered some of the places from back when we did the Venue visit for the DC7 decision. But not many, of course one forgets a lot over the time. At least I was able to remember some food places, which is always a good sign. :) At Teviot we met with Stephen (sgran) Gran to (unsorted list) have some food, unload the car, think about the way to get our uplink to our server room, check into the hostel - and whatever else we did at that day. Next day, officially called Setup day, we started to get two cables from our server room to the place our uplink is - you can see them if you go to the left site of Teviot. (The other two got there a bit later). After that we started with the setup of the network, which is pretty nice this year. We have a lot of sponsored machines that are doing various tasks, a nice network layout involving a lot of vlans to seperate stuff and a lot of (good) crack. What, you dont want to listen to boring details? Ok, here they come: - The main machine is, again, called Homer. Connected with a 2Gbit link to our master switch. It does those little things noone needs, like firewall, local mirror, dns, nagios, routing between various nets we have here, the schedule bot, etc. - There is also a Marge, who is the central point for the whole wireless network, running chillispot to have authentication for it. - Barney is used as a storage server for the video team, having some 1.5TB (raid5) space for the video data. It has 2 additional disks, 500G each, to copy data on and get them home to a video team after the conference. - Our streaming master machine at DC7 is called Lisa, and does not more than streaming for all the local clients and sending the stream out to our streaming master somewhere in the internet which then relays it to our streaming servers kindly offered by a lot of admins all over the world. - We also have Bart and Maggie, which serve as public build boxes for the attendees, where Maggie even runs a distcc open to the whole local network. - You can add the same amount of servers to this list which all do various tasks for the video team. This stuff is all glued together by a set of managed switches building our core backbone, running a number of vlans to seperate the different network segments. Which actually works quite nicely, as even at the time some expert managed to plug a cable into the same switch twice (yay, loop) - the only affected network part was that where he was in. The rest of the conference didn’t even notice it - until all of the admins jumped out of the admin room at once, looking for that fuckup. :) Sounds like crack? Probably is, but is a nice setup all together, and it was fun to set it all up together with Mark and Stephen, the two main admins for this conference who designed most of the whole structure and are the ones that really know it. I already “volunteered” them for the next DebConf to help as admins and really hope they decide to do it. Later on during DebCamp we also had Peter (weasel) Palfrader joining the local admin team. His main work here is related to the video team by hosting the geodns setup for the streaming and by running a local nagios to check the things we need to check. This enabled us to simply tell everyone Use streams.video.debconf.org:8000 wherever you are and you will get to the right server for you. Explaining this in a short way basically goes as “a monitoring tool keeps track of which servers are up and only enables them to resolve. Our geodns server then replies with the right server IPs, depending on in which region of the world you are.”. Which means streams.video.debconf.org will resolve to the local streaming server lisa while you are here, at the same time resolve to a number (those that are up) servers in Europe if you are in Europe or to those in the US if you are there. Nice. (And while I’m already blogging - I do hate my laptops suspend, err - I mean non-suspend mode. Somehow it got worse in the last days, sometimes needing multiple minutes (like 10) to decide to suspend to disk, and the suspend-to-ram still wont work. I should really get someone here that knows this stuff having a look at it. :) ).

Isaac Clerencia: Foocast, podcast for (Spanish speaking) dudes

Several of my workmates and I are regular listeners of technology-related podcasts like Diggnation, TWiT or FLOSS Weekly (which BTW is as “weekly” as the Halley comet). Some days ago we realized that there weren’t similar podcasts in Spanish (or at least we didn’t know about them), so we thought that creating one would be cool. During this week we recorded our pilot, we had some problems with sound and I spoke a bit too fast, but I think it’s nice overall, at least I would enjoy listening to it :) Trying to emulate people like Kevin Rose or Leo Laporte (in the media business since 1991), who create podcasts professionally, is quite hard for amateurs like us, but we’ll do our best. Be sure to check it at Foocast (sorry, Spanish only, that’s the whole point :P )

16 June 2007

Aigars Mahinovs: You are next!

We need you ...You are next! Tokkee and I are doing the mugshots this year and we need your cooperation. Mugshots are a great way for people to link the name to a face and remember that link even after several years. Liw did this as his project last year and it was great success - many people have now a better way to link a persons IRC nickname to their face which in turn reduces the tension in communication as you can very easily know who is the person you are speaking to.
There are people who avoid the mugshots and i wanted to ask them to reconsider. Mugshots is not a beauty pageant - in Debian people are judged by their merits. Mugshots are useful tools in future on-line communications, tools that could reduce the aggressiveness and flammability in the Debian IRC and mailing lists.
It is not the holy grail, but it helps. So I ask every participant of Debconf - help us make this mugshot gallery complete by contributing your own picture. And thank you very much to the many people that already did.
If you want to have your mugshot taken then listen out to when mugshot sessions are taking place - we take all mugshots in front of the cafeteria door, usually during the food times, so you have easy time finding me and tokkee there. UPDATE: First 120 mugshots are uploaded here. Next mugshot shooting session will be tomorrow - on the 18th of June, during scheduled lunch and dinner.

13 June 2007

Sune Vuorela: Too (little) paranoid ?

Am I on the right track? should I turn up my paranoia on the ‘hmmm’s or is it in general acceptable? Oh - and of course - a layer of security by obscurity is always nice. So let us throw dvorak keymap in also.

12 June 2007

Ross Burton: Shock and Awe

From The Hacker's Guide To GPSD:
The best way to avoid having dynamic-memory allocation problems is not to use malloc/free at all.
An interesting approach to avoiding dynamic memory problems which in general are not that hard to debug with good tools (such as Valgrind), especially in relatively simple pieces of code like gpsd. However, in the next section:
The parsing of GPGSV sentences in the NMEA driver has been a persistent and nasty trouble spot, causing more buffer overruns and weird secondary damage than all the rest of the code put together.
Personally, I often find that not allocating buffers on the stack and using dynamically allocated memory with length-bounded functions helps fix buffer overruns.

Bastian Venthur: 1 Kilobyte = 1000 24 bytes

Could you exactly say how big your hard disk has to be at least when the vendor claims it’s 500 Gigabytes big? Do you know how many bytes a file has when the filemanager says 2 Megabytes? Do you know what your DSL-provider actually means with 2 Megabit per second? Experienced users surely can since they know the meaning of “Kilobyte” depends on the context. Sometimes it’s 1000 bytes, sometimes it’s 1024. Non technical users will tend to assume that a 1 Kilobyte is 1000 bytes (which is correct, since k is the SI prefix for kilo) while users with technical background will tend to assume (depending on the context of course) it’s 1024. There is a solution for this ambiguity, but unfortunately it doesn’t come for free: First, it sounds really stupid (kibi-what?) and second it will add an extra character (kB -> kiB) and we all know how stuffed our 80 column terminals already are nowadays. If you have better arguments against the binary prefix notation please, join the discussion. Personally I’d find it very cool if we could use SI prefixes where we mean n * 10^3 and binary prefixes where we mean n * 2^10 in Debian consistently.

Evan Prodromou: 23 Prairial CCXV

I'm listening to The Current on CBC and they're interviewing the product manager for Google Maps about the Street View feature. The question: "Couldn't this technology be used by terrorists?" Let's go ahead and answer this oft-repeated question once and for all: of course it could. Practically any technology or information source that's useful to the general public would be useful to terrorists. Terrorists benefit every day from self-service gas stations, sliced bread, walk/don't walk signs, and pocket dictionaries. All these advances, and many more, have helped terrorists in their daily lives and in their evil plans. They also help the rest of us. There are very few technologies or infrastructure improvements that are useful to Good People that aren't also useful to Bad People. It would probably hamper the work of terrorists if we tore up the public roads, forbade the sale and transport of household cooking oil, and mandated inconsistent and illegible spelling in all print publications. It would also cause the rest of us a lot of inconvenience and harm. Of course, the converse is not true: there are plenty of technologies that are only useful for doing very bad things. The question we should ask with any technology is, "Does it have enough general-purpose usefulness to offset possible misuses?" Rigging every railroad bridge in North America with dynamite and a convenient nearby plunger is an initiative that has very little utility for anyone with good intentions. Enhanced mapping tools? Probably not in the same class. We live in a world where evil folks use the tools of everyday living to take civilian lives. If we turn our technological society back to the Neolithic, it's not going to change that -- it's just going to take longer for people riding donkeys to come brain us with stone axes. I don't think it's worth it. tags:

10 June 2007

Evan Prodromou: 20 Prairial CCXV

What a great day. The weather in Montreal has been fantastic the last few days -- we've had sunny, hot, clear days with showers at night to clean up the air. It's been really spectacular to be out. Of course, this is the time of year that Montreal really shines -- festival season. It kicks off this weekend with the Grand Prix du Canada, which includes a giant party in the downtown area, on St. Laurent, and in the rest of the city as well. In my neighborhood (old and new), we have the Nuit Blanche sur Tableau Noir, a street fair that closes down av. Mont-Royal for auto traffic from June 7 to June 10th. There are huge murals painted on the street itself, and every business, retail outlet and restaurant expands onto the street, while people rove up and down all day and all night. And soon we get the International Fireworks Festival, which kicks off in only two weeks. One of the hallmarks of summer in this city is that just about every Wednesday and Saturday there's a gigantic fireworks show on le Ste. H l ne, at La Ronde amusement park. You can see the lights all over the city, and feel the thumping in every house and bar. It's disconcerting and awe-inspiring. We've already started having Piknic lectronik events, with another going tomorrow. Wow. tags:

SXSW talk online So, my talk at South by Southwest 2007 is now available online as a podcast. You can get the audio at the sxsw.com site and you can follow along on the OpenOffice.org or Powerpoint slides at Talks/SXSW07. I liked listening to this recording, although I realize that I need to do some speech practice for future talks. I say "ummmmm..." after every sentence in this talk, which would probably drive me crazy if I were listening to it. I'm surprised that the applause at the end is so strong -- I'd probably have thrown food at this guy. tags:

Wikimania On that note, I'm glad to point out that my and Maj's talk for Wikimania 2007 was accepted. I guess that means we'll be going to deliver it in Taipei. The subject is Extending wikis with social networking tools. We're going to cover Wikitravel Extra: our motivations for it, implementation issues, and results. It's going to be pretty interesting. tags:

9 June 2007

Axel Beckert: .org registration rules arbitrariness

For about nine years, my domain deuxchevaux.org was hosted (which means web, DNS and a catchall e-mail forward) by Internett at Saarbr cken. Although it was a sponsered hosting without much support I was quite happy with their service. But especially my ideas and demands regarding spam filtering grew out of the possibilities of a mass hosting solution. Since I run my own web, mail and name servers for a while now, it was no question that also deuxchevaux.org should become self-hosted. Since I run a root-server at Hetzner and their “robot” also offers domain handling, I planned to transfer deuxchevaux.org to them. Therefore I first had to register my two DNS servers (sym.noone.org and virt.noone.org) with them. In the documentation there was a note that for .org domains, name servers in a .org domain have to be registered with the same registrar. And just a few hours after registering the name servers via their web interface I got a mail from Hetzner Support that the domain of my name servers are not registered with Hetzner and so I cannot use them form .org domains. Asking for the cause of this rule, I got the answer that this is a rule by Hetzner’s upstream registrar, Cronos AG. Well, since I don’t understand such arbitrarily looking rules, I was looking around for another registrar with usable web interface. On the DaLUG mailing list, someone recommended eDNS. Since their single user account is free of setup and monthly fees, I signed up with them and started playing around with their web interface. When I tried to transfer deuxchevaux.org using the Auth-Code, I got the response that the transfer failed and when I clicked on “Details”, I got “$VAR1 = [];” as detailed information about the failure. Data::Dumper says hello. I wrote them and asked if they can tell me, what that should mean last Thursday and got no answer so far. I don’t think, I’ll register domains with them anymore. So where to try it now? Someone recommended GoDaddy, but I neither like their website (way too much targeted on beginners and mainstream) nor do I want to apply for a credit card or a PayPal account to be able to pay their bills. So a bill from my UML hoster Korypet (aka VD Server) caught my eye: They were lowering prices for registrations at some top level domains (and in comparison to the recent lowerings at eDNS the new prices also apply to existing contracts) including .at and .org (and I only have .at, .ch and .org domains). I didn’t knew they also do domains outside of selling them in packages with UML hosts. So I wrote to Korypet support, if they offer a web interface for domain handling and got a reply less than two hours later: Not yet, but they’re working on it. Until then, I can request domain handling tasks by e-mail to their support. Since I know their UML managing web interface – which works fine – and since I’m happy with their support, service and prices since years (I’m customer there since 2003), I replied with all the necessary data for the transfer. Well, the transfer failed, too. But in comparsion to Hetzner or eDNS, they made the effort to exactly find out, what happened. So what did happen? The rule which the Hetzner support guy told me that it was from their upstream registrar wasn’t from there but from Public Internet Registry (PIR) itself. And the rule seems to match not that often, so that many people involved in domain registration don’t know about it (and usually neither understand its existence when they hear about it). Also I have no understanding for this harassment and so I felt the strong urge to get one over on them. Korypet suggested several solutions fitting my needs (i.e. the usage of my DNS servers for my domains). They even offered A records under some of their PIR registrered domains pointing to the IP addresses of my DNS servers for no fee, but luckily some A records under my own .ch domain sufficed. So the transfer was successful on Friday evening, 6pm local time, my own mail server (running Postfix) was happily rejecting a lot of spam to (and even from) non-existing users (which came in over the catch-all before) as well as hosts greeting with not fully qualified or invalid HELOs and greylisting others via David Schweikert’s Postgrey. The number of accepted mails and recognized spam sunk immediately by approximately factor four on the whole mail server, although deuxchevaux.org isn’t the only domain that receives mail there (but was the only one which had a catch-all before). So in the long run, I’ll probably move all .org and .at domains over to Korypet since they have not only fair prices but also a competent and individual support. (And yes, this is a recommendation. ;-)

Russell Coker: configuring a Heartbeat service

In my last post about Heartbeat I gave an example of a script to start and stop a cluster service. In that post I omitted to mention that the script goes in the directory /usr/lib/ocf/resource.d/heartbeat. To actually use the script you need to write some XML configuration to tell Heartbeat which parameters should be passed to it via environment variables and which nodes may be candidates to run it. In the below example the type of web means that the script /usr/lib/ocf/resource.d/heartbeat/web will be called to do the work. The id attributes are all arbitrary, but you want to decide on some sort of consistent naming scheme. I have decided to name web server instances web-X where X is the IP address used for providing the service. The nvpair element contains a configuration option that will be passed to the script as an environment variable. The name of ip means that the environment variable will be named OCF_RESKEY_ip. Naming of such variables is arbitrary and a script may take many variables. A well written script (which incidentally does not mean my previous blog post) will have an option meta-data to give XML output describing all the variables that it accepts. An example of this can be seen by the command /usr/lib/ocf/resource.d/heartbeat/IPaddr2 meta-data. In the XML the resources section (as specified by --obj_type resources on the cibadmin command-line) describes resources that the Heartbeat system will run. The constraints section specifies a set of rules that determine where they will run. If the symmetric-cluster attribute in the cluster_property_set is set to true then resources will be permitted to run anywhere, if it is set to false then a resource will not run anywhere unless there is a constraint specifying that it should do so - which means that there must be at least one constraint rule for every resource that is permitted to run. In the below example I have constraint rules for the service giving node-0 and node-1 a priority of 9000 for running the service. In a future post I will describe the cluster_property_set and how it affects calculations of where resources should run.
(more…)

7 June 2007

Joerg Jaspert: Laptop suspend

Dear Lazyweb, some time ago I got a new notebook, a HP nw9440. It’s all nice and great and stuff and does what I want. Except two little things that I couldn’t fix yet, but maybe you have some suggestions? The first is only a little bit annoying. X does not like DPMS after a suspend/resume cycle. Running
xset dpms force off
will turn off the display, but the next acpi event received (according to acpi_listen) turns it on again. Restarting acpid fixes this, until next resume/suspend. For some reason the restart trick only works if done some time after the whole resume finished. Adding it to the scripts so its done automagically doesn’t fix this. The second thing, mostly time consuming, is the fact that this laptop does not like Suspend-to-RAM, so only Suspend-to-Disk working. It happily suspends to ram and goes to sleep and it also gets back on. Just that it doesnt turn the display back on, no matter what I try. I tried all combinations of options for s2ram I could find, nothing. Is there someone out there that has the same laptop and got it to suspend to ram and can tell me what screw he had to jump on? Update: Looks like the first problem is fixed in Xorg upstream.. Just that it didn’t got into etch anymore. Looking at xserver-xorg that probably means updating to sid right now, which I don’t want to do. So well, lets wait until a newer version is in lenny, maybe someone backports Xorg at some point? :)

5 June 2007

Martin-&#201;ric Racine: Eesti keele spelleri arendus [2]

The publication of an article by Elver, about my packages of ispell-et on Minut.ee (the Estonian Slashdot) produced an interesting thread: ...with myself personally replying to some of the posts in the thread.

Martin-&#201;ric Racine: Buzzword opportunism won't do

Being involved in no less than four different projects, all with excellent prospects for a permanent job, reminds me of why riding the Free Software bandwagon as yet another opportunistic buzzword won't do: In three of the projects, people insist upon communicating using the closed source VoIP application Skype. There indeed is a crude port for Linux on i386 (though not for amd64, powerpc, or any other architecture), but the dependencies are broken and my friends at Skype emphasize that Linux is a non-market for them, so I should not expect any solution any time soon. Still, the people behind some of these projects regularly threaten that I'm wasting their time by "refusing" to install Skype on my computer. Free Software promoters who don't understand what "non-free" means. In two of the projects, the corporate homepage is made as a single Flash animation. Mentioning that Flash support is extremely broken and thus essentially non-existent on Free Software platforms is pointless: the people behind the project are Windows users and yet they insist that their project is about promoting the free circulation of ideas using Free Software. Free Software promoters who don't understand interoperability. In one particular project, the product follows the Googlesque model of "the Web as my application and file server". Great idea, except that ― once again ― the people behind the project are Windows users and they insist that the Thin Client hardware must have a standard set of applications pre-installed and some storage media, thus defeating the purpose of this business model. Promoters of "the Web as my application and file server" model who don't understand the implications of a Thin Client solution. In all cases, the people behind the project mean well, but ― not being Free Software users themselves ― they clearly don't understand the profound implications of the Free Software agenda; they only see it as a license-free technology to connect the masses for cheap and they evidently find it difficult to think outside the Windows PC framework. Free Software as a business model, in a nutshell: data interoperability and the client-server model. Either get it or you're wasting my time ...and yours too. Nothing personal; just business. PS: I sincerely hope that anybody who recognizes themselves in the above rant will acknowledge my honest concerns and embrace this opportunity to truly adopt Free Software. Just do it! It doesn't matter where you get the FOSS. Just make sure that the FOSS gets you! (inspired by a great Candy Dulfer song currently blasting through the headphones).

Simon Richter: A plan. Let me put on my slightly larger glasses...

My plan for tonight, apart from the neverending story that is titled "cleaning the kitchen" is to implement a Proof of Concept preprocessor for control files that allows stripping out information that is not compatible with current Debian policy. The idea is that if you want a new control field, you can try it out in xcontrol without having to change two files at the same time consistently.

Martin-&#201;ric Racine: Existential politics

Those who read French and who are interested in pondering issues where existential philosophy and politics intersect might find this article on my other blog stimulating.

Next.

Previous.