Search Results: "rra"

4 September 2006

Dann Frazier: Awaiting my Plane to DebConf6

I'm currently sitting in Denver International awaiting a flight to Houston where I'll meet up with Taggart for the flight into Mexico. There we'll meet up with some other folks (Ryan Murray, Troy Heber & Junichi Uekawa at least) and take a cab down to Oaxtepec. We've had *tremendous* trouble booking our hotel room (and by we, I mean Troy). In fact, last we heard they were cancelling our reservation. I strongly suspect this is an attempt at bribe soliciation, or maybe they actually just don't want to do business with us? Not quite sure - my employer is sponsoring my travel here, and I haven't noticed a "bribe" category on the expense report.. maybe I can list it under tip? :) Oh well, I suspect the worst case is that we can find asylum for a night on someone's floor until our accomodations get worked out. I'm very much looking forward to arriving at DebConf & seeing everyone, not to mention trying the local cuisine :)

Benjamin Mako Hill: RubyVote 0.2

I kicked a new version of RubyVote out the door last week. This version has support of Instant Runoff Voting contributed by Alexis Darrasse. Thanks! I'm not a huge IRV fan but others are so it's important to have it in the library. There's a gemified version with range voting plus an improved IRV implementation that may have landed in the SVN repository by the time you read this. I'll release another version in the next week or so once everything has settled.

Benjamin Mako Hill: Reference Librarian

Mika and I applied for membership at the Boston Athen um today. In addition to paying the USD $160 yearly fee, were each asked to provide three references who can attest to care for books. That's right; three references to get a library card. This is a very good library. We'll hopefully hear back about our application within two weeks. If we are accepted, we'll be able to take guests into the library with us. The Athen um has, among other things, a copy of Narrative of the life of James Allen, alias George Walton, alias Jonas Pierce, alias James H. York, alias Burley Grove, the highwayman. Being his death-bed confession, to the warden of the Massachusetts state prison. It is bound in the authors skin. Apparently, while rare, this is not entirely uncommon. The Harvard Law Library has another example of anthropodermic bibliopegy and just a couple months ago, someone found a book bound in human skin in the middle of the street in Leeds.

Benjamin Mako Hill: Evil in Our World

Here's an addition to my personal list of villains. Imagine someone who intentionally leaves their mobile phone on -- perhaps even on an extra loud "outdoor mode" and with an particularly obnoxious ringtone -- during movies, symphonies, plays, or lectures. While this person isn't so nasty that they would plan or prompt a call, they enjoy the thrill of knowing, at any moment (but especially during the quiet or emotionally charged parts of the performance), that it could all be ruined. And that it would be their fault. Of course, they would act embarrassed and brush it off as an honest mistake.

3 September 2006

Marc 'Zugschlus' Haber: Why translate Debian stuff to German?

Disclaimer: I am not comfortable with technical documents in my native language, German. I generally find German translations of technical stuff clumsy, overly complicated and badly worded. I might have a “special” feeling for the language, but some output of translators is just too bad to tolerate.For example, I constantly keep stumbling over the german translation of the Debian security team FAQ, which I consider horrendously badly done. Especially the use of the german word “Gutachten”, which basically means “opinion” in the legal sense (as the document produced by an expert called by a court of law) to translate “advisory” is a very very bad choice. My toes curl when I read the german version.In April 2005, I suggested to the German translation team to review the translation of the security team FAQ. I might not have chosen the right wording for that request, but besides a lot of flamage and “the translation is just fine”, I received the usual “send a patch”. Which I did in April 2005.No answer. In October 2005, I asked again, and received answer from the translator that my patch was just too intrusive. Well, a bad translation was rewritten, and the bad translation is still being used.Consequences for me? I’m not going to bother any more about German translations. English is just fine, and when somebody needs a German translation, I’m going to translate the stuff myself. Pointing people to the official German translations is just too embarrassing. A pity.

Matthew Palmer: Music To Hack To -- The Belated Summary

Back in the embarrassingly early part of this year, I wrote a blog entry on music that I liked to listen to whilst cutting code. I solicited feedback, and promised a followup. Technically, I didn't say when I'd be posting a summary, so I don't feel quite so bad about leaving it for 9 months before posting this followup. Firstly, Matthew Davidson gave a lengthy treatise on The Fall, whom I'd never heard of before, and actually haven't gotten around to listening to yet, either (shaaaaame!). It certainly must do the trick for him, though, because he says:
I try to avoid programming wherever possible -- I know how it's done, and really appreciate it when it's done well, but I generally find doing it as much fun as a trip to the dentist. However, put a bit of the Fall on, and I find myself settling into a pretty productive groove without much trouble.
Next up, Decklin Foster pointed me to where I could do my own research -- the Debian Developers group on last.fm. Although I've glanced at last.fm now and then, I've never really gotten into it much. I suppose I should harness the hive mind and find more music similar to that I already like -- you can only listen to your old favourites so many times in a row before they start to wear out. Apparently, my tastes in coding tunes isn't unique -- Roger Barnes shares my preference for the quick-paced abstract:
When I'm coding though, I prefer something fast and electronic. I think this is for two reasons, one is the rhythm tends to get my mind going, and the lack of vocals means that there are no words disrupting my thoughts.
As does François Beausoleil, who says:
I have the same need as you for loud, fast and driving music. Personally, I've been listening to Born to be alive, the first Matrix's theme song, Confusion from New Order of the Blade soundtrack.
Since the original Music To Hack To post, I've been listening primarily to the Chillits 2005 sets whilst coding. In the words of Boing Boing (where I originally found out about Chillits), "Every fall in Northern California, the Chillits music festival brings together a stunning line-up of DJs who spin mesmerizing sets of ambient and downtempo music under the sun and stars." The key word there is "ambient"; I'm not looking for something to listen to so much as I want backdrop to my other activities. The collection of laid-back and thumping tunes keeps a nice work/relax rhythm going while I'm coding. There are some immensely funny bits in some of the mixes, too, like the (hopefully) mock ad for speed ("The little blue diet pill you don't have to be overweight to need!"). Sometimes the tracks go into some area that bugs the shit out of me, which is when I exercise the skip feature of my music player, but most of it is pretty good at blocking out the world and letting you concentrate on the code at hand.

1 September 2006

Scott James Remnant: Upstart can now replace sysvinit

Today I reached another milestone in the development of upstart, the packages in universe can now replace the existing sysvinit package. Before trying this, make sure your installation is up to date as we’ve had to split out some parts of sysvinit into a new sysvutils package. If you’re up to date, and want to try it out, install the upstart and upstart-compat-sysv packages from universe. Note that the first reboot after you’ve installed the packages (from sysvinit to upstart) will be a little tricky… use reboot -f. If your system boots and shuts down normally, everything’s working just fine. Note that both will be somewhat more quiet than you’re used to, unless you have usplash running. Throughout the rest of this entry, I’ll try to answer some of the questions and comments that I’ve received since the last post. Events As I talked about previously, upstart is an event-based init daemon. Events are the primary force for having your services and tasks started and stopped at the appropriate time and in the appropriate order. So what are events and where do they come from? (Note that this part is under development, so may change in later releases). Events are just simple strings that may be sent by any process when something it is tracking the state of changes. They have no state or longevity, and if, when queued, they do not cause any job state changes, then they have no effect unless they are sent again. Jobs can list which events cause them to be started if they are not already running and which events cause them to be stopped if they are running. Multiple start and stop events may be listed, in which case the first to occur changes the job until the next one occurs. upstart itself generates the following system events: The shutdown tool included in the package also causes one of the following events to be sent once the “shutdown” event has been handled: Jobs also generate events whenever they change state, this is the primary source of events for ordering: And as mentioned, any other process on the system may send events through the control socket or just by using initctl trigger EVENT. For now this is just the event string, however it’s intended that the event may include other details including environment variables and even file descriptors. Typical example To clarify how it all hangs together, here’s an example (using fictional names) of how the tasks and events can be arranged to provide race-free mounting of filesystems. By breaking this job into these small tasks, we can see how the pieces fit together. Because everything is now done on events, there are no race conditions; we know that any filesystem listed in /etc/fstab will be checked and mounted. The only reason they wouldn’t be is if there’s an error of some kind, and that means you have larger problems anyway and the system administrator would have a shell to fix it. Of course, the moment they finish checking the filesystem and mount it, the boot process would carry on. There’s no reason that any of these events need to be generated by the upstart daemon itself, it can receive them from any other daemon on the system such as udev, acpid, etc. This keeps the focus of the init daemon narrow. A large part of the future development will be working out exactly what kinds of events we want init itself to generate, what kinds we want to come from elsewhere, and what the contents of an event can be. Getting Involved If you want to get involved with trying to nudge the direction of upstart development, you can join the upstart-devel mailing list at http://lists.netsplit.com/ Or if you just want to grab the source code, tarballs are published at http://people.ubuntu.com/~scott/software/upstart/ and the bzr archive is at http://bazaar.launchpad.net/~keybuk/upstart/main

31 August 2006

Ross Burton: qmail Author Considered Dangerous

Thanks to LWN I was reminded of the, erm, interesting license and security guarantee of qmail. Specifically:
In March 1997, I offered $500 to the first person to publish a verifiable security hole in the latest version of qmail: for example, a way for a user to exploit qmail to take over another account. My offer still stands. Nobody has found any security holes in qmail. [...] In May 2005, Georgi Guninski claimed that some potential 64-bit portability problems allowed a remote exploit in qmail-smtpd.'' This claim is denied. Nobody gives gigabytes of memory to each qmail-smtpd process, so there is no problem with qmail's assumption that allocated array lengths fit comfortably into 32 bits.
Erm. Well. I'm not sure what to say. Assuming that array lengths (size_t, IIRC) is a 32-bit type even on 64-bit architectures is wrong. Defending it is insanity. NP: Layered, Antibreak

Adeodato Sim : cerrado por derribo

When I return, I shall not be less verbose, but danes, dalton, montxo, and pablo. NP: Najwa, My own shout

Clint Adams: Scaramouche, scaramouche, will you do the moviefone

A couple of arrogant fucks once boasted to me of the coed naked T-shirts which they had commissioned for their special hobby (which is far too embarrassing for me to mention even though I do not participate in it). The gist of it was that they were mocking the stupidity of the people who wear coed naked shirts by... wearing them ironically. I tried to explain to the intelligent one of the pair that she wasn't actually mocking the people who wear coed naked shirts because it just so happened that, by virtue of the fact that she had purchased and donned a coed naked shirt of her own design, she had become one of the people who wears coed naked shirts. She didn't seem to comprehend my point. So when I sally forth into the following paragraph, in mockery of bloggers who refer to people by initial, you may wonder whether I am mocking the people who use initials or if I have just become one of those people. For example, both K. and K. are getting married this year, and they're both getting married to men named J. Is that creepy? In contrast, K., who only dates men named J. (which is definitely creepy), is not getting married this year, but you don't need to get married when you're in Europe. Get it? Okay, here we go. Y. calls me up and says, Clint, do you want to go to the opera tonight? Two questions later, I say, Sure. Is there any pre-opera dinner action? I have dinner plans, she replies haughtily, T. was interested in dinner though. Call C . about it. Don't invite C .! I had no intention of inviting either C . or C ., but I called C . C . didn't answer, so I constructed a voodoo doll and stabbed it. After some time, circumstances changed a bit, and in order to accommodate reality a bit, Y. cancelled her dinner plans, and we arranged a meeting place with T. and C . and E. Since none of us were going to end up having time for dinner, Y. said that she'd bring finger sandwiches . There was some discussion of buying wine to go with the finger sandwiches , which I thought was a little silly, and the conclusion was a bunch of vague non-committal grunts. I was surprised when three bottles of wine showed up. I was surprised by the enormity of the finger sandwiches . I was surprised to see M. at our meeting spot. Then M. got a phone call and proceeded to announce that A. was en route. There was some quibbling over whether we should all wait for A. or whether M. should wait while the rest of us got our seats. We concluded that the latter was the sanest option. I opted to wolf down one of the foot-long finger sandwiches and a healthy amount of whichever wine got opened first. A. shows up with a large bag of food. She explains that she had gone shopping at Whole Foods, and as she is still drunk from the margaritas she had started drinking at lunchtime, she had bought a bit too much food. At this point, there is no indication of her drunkenness, though she has bought numerous cheeses, loaves of bread, candies, a giant low-fat or fat-free cake-like abomination, cookies, a several-pound chunk of chocolate, and a sizeable bottle of Orangina. She drinks the Orangina as not to get any drunker, and I cringe in terror as a boor gets on stage and screams about how the fatcats in Washington are trying to purge the Earth of the performing arts and how we've all got to take action to fight that. I consider writing to my elected representatives in the Federal government, but only because the guy on stage is one of them. A. switches from Orangina to wine at M.'s coaxing. Some asshat in front of us starts waving the flag of another country for no reason we can discern. Y. starts hissing about how she needs someone to fetch her a shotgun. It takes far too long for anyone to forcibly stop the flag waver, but it happens eventually. No shotguns were involved. Now, among those not in the know, there are often rumors that A. and I have a thing going. This is because I call her fat and threaten to do possibly-unpleasant things to her breasts, and in return she calls me things I won't mention and threatens to do non-breast-related things to me, and makes obscure Lloyd Alexander references that only I understand. Those in the know, on the other hand, are aware that she cheated on her husband with M., and are somewhat irritated by this because apparently her husband is a really nice guy. I've never been allowed to meet him, so I've no idea. Anyway, we start misbehaving. E. managed to maintain decorum the entire time, but M. and A. started fondling each other and kissing and giggling, and C . started SMSing comments about how these people can't behave themselves, and T. is on IRC complaining about how people are misbehaving. A. grabbed at my cell phone in protest of our rude electronic communication, so I slapped the hell out of her. Do you want me to beat him up? M. inquired from A.'s lap. Being possessive and protective of girls with whom you wish to copulate is apparently a rather popular pastime in the white trash community, because C . had threatened to beat me up on A.'s behalf not two days before. Anyway, to her credit, she said, No, I deserved it. To show my admiration, I beaned her with a wine cork. C . had some hand sanitizer, which we entertained ourselves with while arguing about which opera La donna mobile is from. I wish the consensus had been West Side Story, but the majority opinion was for La boh me. I'll assume that the had something to do with the confusion. Against all odds, they managed to finish the opera despite us and the other miscreants, and we proceeded to leave. On the way out, M. and A. had an utterly inane discussion which would have been utterly forgettable had they not ended each sentence by calling each other baby . Thenceforth, I have addressed them both as baby , which makes them very embarrassed and quiet. Clint, A. whined, Give me your job. You're drunk, I countered. But I'm cute! A. insisted. Oh, I see. You're REALLY drunk, I observed. Meh, she mumbled, no longer on her sluttiness high. Men are dumb. M. declared that I must absolutely go see some museum exhibit I'm sure I don't care about, and A. said, No! We're going to see that! Yes, we are, M. agreed. Okay, baby, I said patronizingly, then went home with T.

29 August 2006

Erich Schubert: Keeping your users out.

Today I was trying to find some information in the Ubuntu forums. I'm seriously annoyed. There was one thread that seemed relevant, but it has some 310 pages. Yes, thats over 3000 posts. Unfortunately, Ubuntu (and I consider this arrogant behaviour) doesn't allow you to search the forum or access attached images if you are not registered. I can understand things like spam protection. But WTF do you require registration for searching? I mean... I was trying to find out if the Ubuntu community could help, and all I get is "register first"!? Thats pure harrasment of non-registered users. I don't think I'll bother to remember another username and password just for their crappy forums. I hate forums anyway. And the size of that thread just shows that forums don't scale well. Especially if you can't search. [Update: yes, I've been a bit harsh here. The front page says that they're experiencing speed issues, and thus have disabled search within the forum. Actually I can't believe that search requests make such a huge load (especially compared to me browsing a 30-page thread...) - but maybe their search function is just implemented badly? I wouldn't be surprised if they do some huge SELECT to search, and don't have an index optimized for text searching. Maybe they shouldn't be using a closed source software for running their forum. I guess they could just fix the search functionality then. If opensource software doesn't meet their requirements, they're bound to get some support by the community to make the software meet them, if vBulletin actually is better in some points. IMHO vBulletin sucks. And given the speed issues "it is what the admin prefers" might miss some important point - that at some point you can't just keep getting a larger CPU]

26 August 2006

Andrew Pollock: [debian] Mirror, mirror...

What feels like an eternity ago, at linux.conf.au 2005 in Canberra, AJ floated the idea of me being the Debian mirror coordination guy. I expressed interest in this, but somewhere along the line, I think there were some crossed-wires over whether I was interested or not, and nothing came of it. The other day, I pinged AJ on a few things, and the mirror coordination role came up again. I re-expressed my interest in doing it, and so here I am. So I'm now in the process of getting my head around exactly what the job entails, whilst I wade through 12 months of mail to mirrors@debian.org, that so far (for August 2005) appears to be about 95% spam. Yay. I'll also go through all of the current bugs assigned to the mirrors pseudo-package, and try to validate them, and either act on or close them, depending on the current state of affairs and contactability of the submitters. So I envisage it'll take a while to just get on top of the backlog, and then I'll look at any areas where we can automate mirror verification (I've got to look at what's currently in place). Helping run mirror.linux.org.au has been educational. I quite like the system that the Linux Kernel Archive Mirror System has in place, and wouldn't mind having something similar for Debian, if it's feasible. But that sort of stuff is a little while down the track, I have to get on top of the backlog first.

Scott James Remnant: Upstart in Universe

upstart is a replacement for the init daemon, the process spawned by the kernel that is responsible for starting, supervising and stopping all other processes on the system. The existing daemon is based on the one found in UNIX System V, and is thus known as sysvinit. It separates jobs into different “run levels” and can either run a job when particular run levels are entered (e.g. /etc/init.d/rc 2) or continually during a particular run level (e.g. /sbin/getty). The /etc/init.d/rc script is also based on the System V one (and is in the sysv-rc package), it simply executes the stop then start scripts found in /etc/rcN.d (where N is the run level) in numerical order. Why change it? Running a fixed set of scripts, one after the other, in a particular order has served us reasonably well until now. However as Linux has got better and better at dealing with modern computing (arguably Linux’s removable device support is better than Windows’ now) this approach has begun to have problems. The old approach works as long as you can guarantee when in the boot sequence things are available, so you can place your init script after that point and know that it will work. Typical ordering requirements are: This worked ten years ago, why doesn’t it work now? The simple answer is that our computer has become far more flexible: We’ve been able to hack the existing system to make much of this possible, however the result is chock-full of race conditions and bugs. It was time to design a new system that can cope with all of these things without any problems. What we needed was an init system that could dynamically order the start up sequence based on the configuration and hardware found as it went along. Design of upstart upstart is an event-based init daemon; events generated by the system cause jobs to be started and running jobs to be stopped. Events can include things such as: In fact, any process on the system may send events to the init daemon over its control socket (subject to security restrictions, of course) so there is no limit. Each job has a life-cycle which is shown in the graph below: The two states shown in red (“waiting” and “running”) are rest states, normally we expect the job to remain in these states until an event comes in, at which point we need to take actual to get the job into the next state. The other states are temporary states; these allow a job to run shell script to prepare for the job itself to be run (“starting”) and clean up afterwards (“stopping”). For services that should be respawned if they terminate before an event that stops them is received, they may run shell script before the process is started again (“respawning”). Jobs leave a state because the process associated with them terminates (or gets killed) and move to the next appropriate state, following the green arrow if the job is to be started or the red arrow if it is to be stopped. When a script returns a non-zero exit status, or is killed, the job will always be stoped. When the main process terminates and the job should not be respawned, the job will also always be stopped. As already covered, events generated by the init daemon or received from other processes cause jobs to be started or stopped; also manual requests to start or stop a job may be received. The communication between the init daemon and other processes is bi-directional, so the status of jobs may be queries and even changes of state to all jobs be received. How does it differ from launchd? launchd is the replacement init system used in MacOS X developed as an “Open Source” project by Apple. For much of its life so far, the licence has actually been entirely non-free and thus it has only become recently interesting with the licence change. Much of the goal of both systems appears initially to be the same; they both start jobs based on system events, however the launchd system severly limits the events to only the following: Therefore it does not actually allow us to directly solve the problems we currently have; we couldn’t mount filesystems once the “filesystem checked” event has been recived, we couldn’t check filesystems when the block device is added and we certainly couldn’t start daemons once the complete filesystem (as described by /etc/fstab) is available and writable. The launchd model expects the job to “sit and wait” if it is unable to start, rather than provide a mechanism for the job to only be started when it doesn’t need to wait. Jobs that need /usr to be mounted would need to spin in a loop waiting for /usr to be available before continuing (or use a file in a tmpfs to indicate it’s available, and use that modification as the event). This is not especially surprising given that Apple have a high degree of control over both their hardware and the actual underlying operating system; they don’t need to deal with the wide array of different configurations that we have in the Linux world. Had the licence been sufficiently free at the point we began development of our own system, we would probably have extended launchd rather than implement our own. At the point Apple changed the licence, our own system was already more suitable for our purposes. How does it differ from initng? Initng by Jimmy Wennlund is another replacement init daemon intended to replace the sysvinit system used by Linux. It is a dependency-based system, where upstart is an event-based system. The notion of a dependency-based system is interesting to talk about at this point. Jobs declare dependencies on other jobs that need to happen before the job itself can be started. Starting the job causes its dependencies to be started first, and their dependencies, and so on. When jobs are stopped, if running jobs have no dependencies, they themselves can be stopped. It’s a neat solution to the problem of ordering a fixed boot sequence and the problem of keeping the number of running processes to a minimum needed. However this means that you need to have goals in mind when you boot the system, you need to have decided that you want gdm to be started in order for it, and its dependencies, to be started. Initng uses run levels to ensure this happens, where a run level is a list of goal jobs that should be running in that run level. It’s also not clear how the dependencies interact with the different types of job, a dependency on Apache would need the daemon to be running where a dependency on “checkroot” would need the script to have finished running. Upstart handles this by using different events (“apache running” vs. “checkroot stopping”). Again while interesting, Initng does not solve the problems that we wanted to solve. It can reorder a fixed set of jobs, but cannot dynamically determine the set of jobs needed for that particular boot. A typical example would be that if the only dependency on the job that configures networking is the mount network filesystems job, then should that job fail or notbe a goal (e.g. because there are no network filesystems to be mounted) the result is that network devices themselves will not be configured. You could make everything a goal, and just use the dependencies to determine the order, however this is less efficient than just ordering the existing sysv-rc scripts (which
can be done at install time). Another example is that often you simply don’t know whether something is a dependency or not without reading other configuration, for example the mount network filesystems may be a dependency of everything under /usr or may just be a dependency of anything allowing the user to login if it just mounts /home. The difference in model can be summed up as “initng starts with a list of goals and works out how to get there, upstart starts with nothing and finds out where it gets to.” How does it differ from Solaris SMF? SMF is another approach to replacing init developed by Sun for the Solaris operating system. Like initng it’s a dependency-based system, so see above for the differences between those systems and upstart. SMF’s main focus is serive management; making sure that once services are running, they stay running, and allowing the system administrator to query and modify the states of jobs on the system. Upstart provides the same set of functionality in this regard, services are respawned when they fail and system administrators can at any time query the state of running services and adjust the state to their liking. Will it replace cron, inetd, etc? The goal of upstart is to replace those daemons, so that there is only one place (/etc/event.d) where system administrators need to configure when and how jobs should be run. In fact, the goal is that upstart should also replace the “run event scripts” functionality of any daemon on the system. Daemons such as acpid, apmd and Network Manager would send events to init instead of running scripts themselves with their own perculiar configuration and semantics. A system administrator who only wanted a particular daemon to be run while the computer was on AC power would simply need to edit /etc/event.d/daemon and change “on startup” to “on ac power”. What about compatibility? There’s a lot of systems administrators out there who have learned how Linux works already and will not want to learn again immediately, there’s also a large number of books that cover the existing software and won’t cover upstart for at least a couple of years. For this reason, compatibility is very important. upstart will continue to run the existing scripts for the forseeable future so that packages will not need to be updated until the author wants. Compatibility command-line tools that behave like their existing equivalents will also be implemented, a system administrator would never need to know that crontab -e is actually changing upstart jobs. Does it use D-BUS?
“To D-BUS people, every problem seems like a D-BUS problem.”
—Erik Troan
The UNIX philosophy is that something should do just one job, and do it very well. upstart’s one job is starting, supervising and stopping other jobs; D-BUS’s one job is passing messages between other jobs. D-BUS does provide a mechanism for services to be activated when the first message is sent to them, thereby starting other jobs. Some people have taken this idea and extended it to suggest that all a replacement init system need do is register jobs with D-BUS and turn booting into a simple matter of message parsing. This seems wrong to me, D-BUS would need to be extended to supervise these services, provide means for them to be restarted and stopped; as well as deal with being process #1 which means cleaning up after children whose parent’s have died, etc. It seems far simpler to arrange for D-BUS to send an event to init when it needs a service to be started, and focus on being a very good message passing system. The IPC mechanism used by upstart is not currently D-BUS because of various problems, however it’s always been expected that even if init itself doesn’t communicate with D-BUS directly, there would be a D-BUS proxy that would ensure messages about all init jobs and events would be given to D-BUS and D-BUS clients could send messages to init to query and change the state of jobs. What is the implementation plan? Because this is process #1 we are changing, we want to make sure that we get it right. Therefore instead of releasing a fully-featured daemon and configuration to the world, we’re developing it in the following stages:
  1. Principal development; at the end of this stage the daemon has been implemented and can manage jobs as described.
  2. Replacement of /sbin/init while running the existing sysv-rc scripts. This is the shake-down test of the daemon, can it perform the same job as the existing sysvinit daemon without any regressions?
  3. /etc/rcS.d scripts replaced by upstart jobs. These consitute the majority of tasks for booting the system into at least single-user mode, and contain many of the current ordering problems and race conditions. If the daemon solves the problems here, it will be a success.
  4. Other daemon’s scripts replaced by upstart jobs on a package-by-package basis; this will be an ongoing effort during which upstart will continue running the existing sysv-rc scripts as well as its own jobs. During this time the event system may be tweaked to ensure it truly solves the problems we need.
  5. Replcement of cron, atd, anacron and inetd. This will happen alongside the above and result in a single place to configure system jobs.
  6. Modification of other daemons and processes to send events to init instead of trying to run things themselves.
The current plan is that we will be at least part of the way into stage #3 by the time edgy is released, with that release shipping with upstart as the init daemon and the most critical rcS scripts being run by it to correct the major problems For edgy+1 we hope to have completed stage #5 and be at least part of the way into the implementation of stage #6. From the start of development of edgy+2, no new packages will be accepted unless they provide upstart jobs instead of init scripts and init scripts will be considered deprecated. What state is it in now? The init daemon has been written and is able to manage jobs as described above, receiving events on the control socket to start and stop them. This has now been uploaded to the Ubuntu universe component in the upstart package for testing before it becomes the init daemon. We welcome any experienced users who want to help test this; install the package and follow the instructions in /usr/share/doc/upstart/README.Debian to add a boot option that will use upstart instead of init. If your system boots and shut downs normally (other than a slightly more verbose boot without usplash running) then it is working correctly. Other types of events will be added as required during development and testing. Currently only a basic client tool (initctl) has been written, compatibility tools such as shutdown will be written over the next week or two before it replaces our sysvinit package.

Jeff Bailey: When I breathe in...

Wow, haven't had time to post in a while. Some major highlights over the past couple of weeks:

(longish entry, hidding behind an lj-cut to avoid flooding various aggregators...)



Opus and ConCentric

Angie and I went to Opus and ConCentric. For those not familiar, it's an annual UU Young Adult (18-35yr olds) campout and spritual retreat. When we're there, we do activities, workshops, worship, cook, clean, sit around the fire, swim, talk, laugh, cry, and all the things that come when you throw people together in a space for 10 days. Every time that I go, I both miss it and am glad when I leave. Over the course of the year, I start to think about only the good parts and when I go back. But when I'm there, there's tempers, hurt feelings, things go wrong. At the same time, when I'm there, I meet some of the people I'll connect with the strongest over the course of the year. Sometimes just a feeling or a song from the camp will help me reconnect and push through in the year in between.

This Opus in particular was interesting. I'd been away for two years, after having been on the planning committee for two years. There were things I loved: There were new people, new songs, new games. I learned to crochet, swam naked under the stars, reconnected with many old and new friends. This particular camp in Maryland is the one at which I proposed to Angie in 2000. There were things that sucked: The cooking staff had trouble getting food out for the first few days, which resulted in one of them quitting; a few hospital visits for people onsite stressed my friend who was the first aid attendant. Fortunately, Angie and I have worked in camp kitchens before, and she was able to step in and fill that roll. A ...

I need a collective for a group of people that doesn't sound like 90's corporate psychobabble. 'team's are things that compete. Maybe I'll steal the word from the current Ubuntu release.

... knot of 4 of us are applying to be kitchen staff next year. I have to be careful what I commit to this year, since in general all commitments I'm making to people officially expire in February. I can't tell what life will be like on the other side of having a child!

It's also hard going to a camp where we've been before, I think. My memories of that camp are mostly centred around people who weren't there. One of whom is dead, many have aged out, many just didn't come this time. I miss all of you.

For the drive down, Angie and I rented a Smart Car from Avis. (Photo by Simon Law) Driving down to Maryland was fun. These things aren't for sale in the US until 2008, and there were many pictures of us taken on the drive and at gas stations. At least a dozen SUV drivers walked over to us to ask the mileage. It sustains 120km/h with no problems and doesn't get blown around too much on the highway. A few times I took it up to 130km/h, but at that point it starts to blow around alot. It *is* tiny, though. Packing enough for Angie and me to travel for 10 days was a bit tight, and driving a Yarris when I got back felt *huge*. On the way down, including Angie going to work once, and us taking a detour, the Diesel cost us $35, and the tolls cost us $40.

We did the drive down in two days. The first day making sure that we crossed the border and getting from Montr al to Albany. On the drive down on the second day, we didn't want to hit the NJ Turnpike at 5pm on a Friday, so we stopped for lunch at a place called Eduardo's Pizza in Boonton, NJ. They had some of the best pizza we've ever had, and the nicest staff. They gave us directions to a waterpark nearby which had a neat ride called High Anxiety (Picture 2 Picture 3). I prefered to call it Funnel of Doom. The park was overpriced for a full day for what you'd get, but the half-day discount prices were worth it and the park was mostly empty because of a state fair.

The drive back was mostly a day of hard driving. Being at camp was wonderful, but we wanted our own *beds*. We got a bit lost coming back, and somehow paid less than $10 in tolls, despite travelling in the same amount of time. I like adventures like that.

So what's next? Re-entry into the world is almost done, but now there's re-entry into the mainstream UU communities. This is the part I find the hardest. Opus is such an idealised world, where we talk about anti-oppression work, changing the world, changing ourselves to help create this new world. The worships are spritually alive (Elandria, YOU ROCK MY WORLD!) and the group doesn't stay long enough for alot of politicking to set in. Our jobs leaving there are always to take a part of that community and recreate it elsewhere. I think it's the toughest job I've ever had.

Go out into the highways and byways. Give the people something of your new vision. You may possess only a small light, but uncover it, let it shine, use it in order to bring more light and understanding to the hearts and minds of men and women. Give them not Hell, but hope and courage. Do not push them deeper into their theological despair, but preach the kindness and everlasting love of God.
- John Murray


For whatever God means to you of course. Blessed be. =)

Evan Prodromou: 9 Fructidor CCXIV

We're still in wt:Copenhagen today, but we head out this afternoon for our tour of the Baltic Sea. We've had a great time in the city so far, mostly due to staying with longtime Wikitraveller wt:User:Elgaard, who generously offered us the extra room in his apartment for the time we're here. There's something about staying in an actual human being's home while you're travelling to really recharge the batteries. After a week in hotels and restaurants, a little time in a real house can make you feel a lot more human. We took our time getting to Copenhagen from wt:Odense at the end of the Wikisym conference, mostly because I was really hung over. I'd spent the last night of the event drinking at the Irish pub in the pedestrian area, and I probably had 1-5 pints too many. Paul Yount calls Irish pubs "the first Open Source franchise", and it's true: you can expect certain things at a pub no matter where it is in the world. Although we started out with about 30 people, the crowd thinned through the night. I had a good time talking with Brion Vibber and Chuck Smith about the state of Esperanto-language wikis on the Web -- in a mish-mash of English and Esperanto, of course. (In case you were wondering: the state is "fine".) I also chatted Wikimedia Foundation politics with Angela Beesley; we both think Erik Moeller is going to make a good addition to the WMF board. After the pub shut down, I headed to the deathly silent casino in the sub-basement of the Radisson of Odense. The bar was eerily silent, and the gaming tables were intense and serious; I don't think people could have been more somber if they were organ harvesters gambling for body parts. The last hangers-on were Andrea Forte of Georgia Tech, Alex Schroeder of CommunityWiki, Sunir Shah of MeatballWiki, and Eugene Eric Kim, of Blue Oxen and HyperCore. In other words, some of the smartest people in the wiki world today -- we talked wiki politics and theory until the wee hours of the morning. They all switched to mineral water while I was still slugging down pints of Carlsberg Special, which is probably where I went wrong. Wikisym, for me, was one of the best conferences I've been to this year, and I've been to a lot. It capped off a long summer of conference-going, and this fall should be relatively tranquil. Which is great: I have a lot of work to do, based on the ideas I've picked up this season. tags:

sterbro All of which is to say that I was feeling pretty crufty the next morning as we got on the train. Kindly Maj got us a late checkout and let me sleep in late, which helped a lot; a falafel sandwich around 11AM also cleared my head a bit. The train ride from Odense to Copenhagen was great, and by the time we got to Niels Elgaard Larsen's house in sterbro (a neighborhood of Copenhagen) I was pretty refreshed. Niels took us out to an early dinner at a restaurant called Pixie in a square by his house. Copenhagen has some pretty strict traffic laws, and the number of cars on the street is possibly the least I've ever seen for a major metropolis, leaving a lot of room for sidewalks, bike paths, and open parks and plazas. We got to chat with Niels over a fresh pasta dinner, and thence home to his house for beers and more talk. One great thing about visiting Wikitravellers is that they tend to be a) very smart, b) well-travelled, and c) interested in Free Software and Free Culture. Niels is no exception; he's active in the Danish and European Free Software and information freedom communities, and he's extremely interesting to talk to on the subject. We shared travel stories and talked about Open Source and Open Content later than I would have thought, based on my earlier-morning hangover. Probably the high point of the evening, for me, was when Niels shared a brilliant idea for a way to distribute Wikitravel guides in digital form for a very wide array of users. We've had a hard time settling on a mobile document format for Wikitravel guides, since mobile devices like PDAs and cell phones support standards so poorly. It's one of the most requested features for Wikitravel, but it's going to take a huge amount of work to cover even a fraction of the mobile device owner community. Except Niels had a genius idea for how to distribute guides in a simple, standard format that works on a mobile digital device many if not most travellers carry with them every time they travel. The idea: make guides that are downloadable JPEG images which can be copied to a SD card or Compact Flash or Memory stick or whatever, then stuck into a digital camera. If the camera supports zooming on images, and has a decent screen for review, the guides might be useful and readable. I'm going to try to do some experiments with the idea -- I think it could be a real winner. Adding 30-40 images to a camera today is pretty cheap, and if they're just text I think some aggressive compression can work well. tag:

Copenhagen on foot Yesterday we did a big tour of the city on our own. In the morning, we had some breakfast at the Laundromat Cafe right next door to Niels's house, and I took the opportunity to clean a week's worth of dirty laundry. Nothing like a stack of clean clothes to make you feel more like a decent citizen. I was down to a bathing suit and the ICANNWiki t-shirt Ray King gave me at Wikisym. Then we headed out on the town to do some sight-seeing. First we hit the Kastellet, a fortress in northeast Copenhagen that's the oldest operational military base in Europe. It's got the distinctive star-shaped outline typical of old fortifications, and is surrounded by a lovely park with ducks and swans. We had lunch at a nearby caf , with large beers. (Gee, I'm getting worried about the pattern here.) After lunch we made an unscheduled stop at den lille havfrue -- the famous Litle Mermaid statue in the harbour. It was miniscule and surrounded by perhaps 100 onlookers, crammed into a tiny swatch of sidewalk. We stopped about half a mile away, took some pictures of the crowd, and moved on. We then hoofed it down through the harbour and across Nyhavn and a bridge to Christianhavn and Christiania. We'd both heard about the city-within-a-city run on anarchist principles -- kind of like a giant squat -- but neither of us had been there before. It was an interesting place -- packed with people, lots of food cooking a beer-drinking, caf s and restaurants all over the place, interspersed with art installations and little gardens. But it had the unkempt scumminess of a big squat, too -- especially on the main drag -- and there were a few too many pitbulls and gutterpunks for my tastes. Overall a good experience but I don't know if I'll go back. After our long walk we took the metro back to Niels's, where we napped until he and wife Chiquita got home. Chiquita is an investment banker from wt:Toronto who does a lot of business in Europe, where she met Niels a few years ago. They were married last year and have had a long-distance relationship -- visiting each other a week or so out of each month -- for the whole time. She's moving here this year, which I think will be nice for both of them. We had a good dinner at a place called Thomas's -- a buffet, which seems to be very popular here -- and then back home for a nightcap and bed. Amita June was overtired by the time we got her to bed, and she let us know that we'd pushed her too hard with a quarter-hour of heavy crying. But we all got to sleep pretty well afterwards, and at least the parents know that we should take it easy in the future. tags:

21 August 2006

Gustavo Franco: GNOME 2.14 Desktop uploads

We're done with platform uploads (glib, gtk, pango and others). It's time to do the Desktop uploads and welcome our new and cool GNOME 2.14 desktop in Debian sid. Yes, there's a <a href="http://www.0d.be/debian/debian-gnome-2.14-status.html">status page</a>.<br /><br />I've just uploaded vte and gnome-terminal (gnome-panel is waiting the new libedata-cal1.2-dev). pkg-gnome work, basically Guilherme Pastore stuff. He did a awesome upstream work <a href="http://www.gnome.org/start/2.14/notes/en/rnusers.html">speeding up vte/gnome-terminal</a> too. Hopefully <a href="https://nm.debian.org/nmstatus.php?email=guilherme.pastore%40terra.com.br">he'll be a DD soon</a>, and it's not his fault that he's not on board yet.<br /><br />Closing, UPLOAD YOUR GNOME 2.14 DESKTOP RELATED PACKAGES NOW! Thanks. =)

Gustavo Franco: 7th International Free Software Forum

I'll be in Porto Alegre, Brazil <a href="http://fisl.softwarelivre.org/7.0/www/?q=en">for the event</a> (FISL, in portuguese) from 19 may until 22, the last day. There will be some interesting Debian related activities there:<br /><br /><span style="font-weight: bold;">Debian stand<br /><span style="font-weight: bold;"></span></span>We will have a stand in the event, and there we plan to coordinate a Key Signing Party (KSP) and a Bug Squashing Party (BSP). Since we will have many DDs and NMs there, it sounds promising. If you want to join us in the BSP, keep an eye at debian-qa mailing list and irc.freenode.net - #debian-bugs.<span style="font-weight: bold;"><br /><br />Sacix<br /></span>I will talk about a CDD called <a href="http://www.sacix.org/">Sacix</a>, that aims to be the default choice for telecentres and counts with more than 15000 end-users in Brazil right now. The project wasn't a CDD until i jumped in and released with a team the 5.11 (November, last year). The next release is scheduled to May and will be Sarge based again, but with a interesting telecentre management system developed in PHP, some "in house made" backports and stuff from backports.org. Stay tuned or just go there and watch my talk.<br /><br /><span style="font-weight: bold;">Debian-BR-CDD<br /></span>Unlike Sacix, <a href="http://cdd.debian-br.org/">Debian-BR-CDD</a> has no clear goal in terms of audience and in its first release ships the most user-friendly GNU/Linux desktop for Portuguese speakers until now. The 1.0 announcement was made, but the release party and Otavio Salvador (DD and Debian-BR-CDD starter) talk will happen during the event.<br /><br />I'm sure that i will have some time to keep uploading <a href="http://python-modules.alioth.debian.org">python-modules</a> and meet with Otavio to talk about some new stuff for LTSP package and discuss it with <a href="http://alioth.debian.org/projects/pkg-ltsp">pkg-ltsp</a> members. Hopefully i'll be more involved in GNOME too, due to the evil <a href="http://qa.debian.org/developer.php?login=guilherme.pastore@terra.com.br">Guilherme</a> influence, that just received his account. Isn't it cool when you see a 15yr old hacker joining the project ? That's the real "fresh blood" we need.<br /><span style="font-weight: bold;"><br /></span>

Aigars Mahinovs: Dell Next Day service - 10.5 days turnaround

I previously mentioned that my brand new Dell Inspiron XPS m1710 notebook broke down just a few weeks after I got it. It took from Wednesday to Friday to arrange for pick-up n the notebook. The DHL guy came to my house on Monday morning and picked my laptop up. He said that the official line on these is that I will get it back in a week, but usually they get them back in a couple of days. On Tuesday I received an SMS saying that my laptop has arrived to repair centre and then another saying that it has proceeded to repair. Nothing happened on Wednesday but on Thursday I received another SMS, again saying that it proceeded to repair. On Friday I finally called back on the XPS support line and got an answer that my laptop is fixed and currently is being tested and that I will most probably get it back on Monday as Dell does not use the delivery option to deliver on Saturdays. And finally today at 11.00 in the morning a DHL courier knocked on my door with my notebook in hand. There was a note in the package saying that the CPU has been replaced. All in all - 10.5 days from first report until the laptop is fixed. I assume that is the worst case scenario. The techs on the phone were competent, but did not have the information about what I went trough in their online diagnostics wizard and did not have the information about emails that I sent them. One tech answered me on the phone, but another answered my email. There could be more integration there. Also I could not find any way to see more details about the progress of the repairs on Dell website - that should be easy to provide. In an ideal world, in cases when it is clear that the problem is in hardware, but not in the hard drive, it would be great if Dell could provide a temporary replacement laptop for the time of repair and put the hard drive of my existing laptop into the temporary replacement notebook, so that I an contiue working like nothing happened. It might not be the same spec, but it must be easy to swap the hard drive in, so I suppose that means that the same model is required. Note: just as I was starting to write this post, a Dell Customer Advocate commented on my previous blog post. They sure deserve some plus points for that :)

19 August 2006

Uwe Hermann: OSI Fights Free Software License Proliferation

OSI's License Proliferation Committee has published a first draft report which categorizes Free Software (or Open Source, if you want) licenses. The categories are The charter of the committee states "[t]he purpose of the Committee is to identify and lessen or remove issues caused by license proliferation", which is a good thing, IMHO. I'm fed up with the recent trend that every company or organization invents their own "open source" license (often I would not even consider such licenses remotely open of free, but that's another issue). In total, the report categorizes 59 licenses into the above categories. I'm sure most people would agree that such a huge amount of licenses is totally useless and only creates confusion and problems. Please, if you have to decide on a Free Software license one of these days, choose a major, well-known one. Or even better, if you currently use a non-standard license in one of your projects, please consider switching to a more streamline license which fits your needs. Thanks! (via Heise)

Clint Adams: Whaling in Memphis

I was sitting in the airport, watching all the teenage Marines hitting on each woman they saw, and watching them get consistently rejected, when I may have had an auditory hallucination. By means of the public address system, some sort of airline employee had summoned a list of passengers to the gate, and none of those passengers were named Horselover Fat. Nevertheless, I sashayed up to the desk and inquired of the manchimp standing there, Did someone call my name? He looked at me, grinning smugly, and asserted his intellectual superiority by pointing out that he couldn't answer that question without knowing my name. Rather than explaining to him that he could have assimilated that little bit of knowledge by reading the boarding pass that I was holding in front of me, I told him that my name was Jarom Hennessey, for that was the name in the passport I was using. (Hi, Alana. Hi, Ophira. Die, Aliza.) Nope, he said, and as I began climbing over a pile of Marines, he continued, Oh, wait. She called your name and I didn't hear. So I climbed back, and waited for him to ask my name. Alas, he did not; he only said, You don't have any objection to sitting in Business class, do you? No, I lied, and so he printed me a new boarding pass. It turns out that this was the good sort of Business class not the foul sort you might get on British Midlands, where your seat is exactly 14 millimetres wider than those in Economy, and they still stab you with sharpened Yorkshire pudding and plead with you to do your part in lightening the load of the airplane, even though you are several thousand feet in the air and don't even want to be going to the UK in the first place, but the kind where the enormous seat reclines all the way back, has electronic adjustable lumbar support and all kinds of other gadgets, the food is pretty good, and you can even get snakes if you ask for them. First class on that flight looked even better, especially because there was a 55-year-old 4'7"-tall man giving people laypdances and begging them not to keep calling him a stewardess , because apparently he is some sort of flight attendant . Anyway, I sat next to some fratboy douchebag who eventually learned to mind his own goddamn business, and passed on the free Bellinis since it was only 6am. I did avail myself of other free stuff, and when the stewardess (not the guy from First class) took my breakfast order, she asked if I wanted a DVD player. In mimicry of Fratboy Douchebag, I grunted, Sure. She brought me a portable DVD player, which claimed to have a battery, but didn't work unless it was plugged in, and also claimed that it would not play any DVDs not provided by the airline. I did not have the opportunity to test this, since I had opted to not bring any DVDs with me. Instead, I perused the selection provided me. These DVDs were all labeled to indicate that they could be played only in the airline-provided DVD player. I have a funny story about that. I'm not going to tell it. I don the noise-cancelling headphones, and jack them into the DVD player, into which I have put Transamerica. For a little while, I think that the lack of speech is the movie being artsy. Then I begin to suspect that something is horribly wrong, so I start over, with subtitles on. It becomes clear that all the speech has been elided, as well as some of the sound effects. A bad burn? I swap the DVD out for Firewall, and experience similar problems. Summoning one of the stewardesses, I complain that there seems to be something wrong with something. I trade everything in for a new set. This time I don't get Transamerica, so I put in Firewall; having seen the first two minutes, I have to watch it to completion now. There's no sound at all. I discover that if I press down on the headphone plug, shifting the jack sideways, I can hear the audio portion of the presentation. What a pain in the ass. Here would be another good place to not tell the funny story. I switched to a better movie after that. In retrospect, I should have taken more advantage of the in-flight service, since my next leg was abysmal. This airline was one of my favorites a little over half a decade ago, and now I am plotting ways to never fly it again. I'll note that the seat was smaller than Greg Pomerantz's former toilet, that the radio controls were from the wrong century, and instead of having hot food included, the flight staff sold sandwiches and snack boxes . Matthew Garrett might say that this sort of flight gives one more freedom than the sort where you get a choice between two different meals or nothing at all, but I think that it is a travesty. There should be giant warning indications for such flights, so that one has ample time to purchase crappy, overpriced airport food to drag on board, as that is a better alternative. The third leg was rather unremarkable, except for the elderly Jewish man who kept fondling a stewardess and gesticulating some sort of claim that he had no command of English. Just prior to the descent, she gave him a loud scolding, repeating at the end, Yes, you understand me. I imagine that she could make quite a bit of money as a prostitute for the Chasidim; they like their hookers blonde. Now the fourth leg was pleasant for numerous reasons, most of which are boring. The guy across the aisle from me bore some disturbing similarities to Mr. Foxworthy, but was not nearly entertaining enough to hold either my interest or the interest of a blonde chick, who sat on the other side of him and probably wouldn't be all that popular with the Chasidim. One of the stewardesses was Latina, but spoke like a limp Swiss man. Her partner in comedy was not Latina, and did not speak like a limp Swiss man. I didn't catch their names, so I'll call the first one Marta and the second one Gladys. Marta and Gladys were having a work-related discussion about a complimentary beverage prior to it having been served to some fool behind me. There was a bit of a communication mixup, so Gladys leaned over to me and gestured a few allegations about Marta, concluding with So if you have to talk to her, just use sign language or somethin'. Hearing this, Marta shoved Gladys out of the way, leaned over to me, and said, You just wait. Later on, I'll tell you something really bad about her. Then I wrecked some guy's priceless painting. Oops. Isn't paint a liquid- or gel-like substance? If you ask me, all instances of art are terraist weapons. Oh, Gladys sighed happily, I don't know what I'd do if you weren't here. Later, at the deplaning, Gladys cried out, My friend! , and Marta nudged me and said, She's single!

Next.

Previous.