Search Results: "ag"

20 January 2009

Andrew McMillan: LCA 2009 - The first couple of days

LCA is once again proving it's premiere status as one of the top free & open source software conferences in the world. Our hosts in Hobart are well-organised and friendly, and though I've been locked into the Systems Administration miniconf by virtue of being one of the organisers, what I've been hearing from the other delegates with the freedom to sample other streams is that all of the miniconfs have once again achieved the high standards that we've come to expect from the conference. Right now I'm in the keynote by Tom Limoncelli who's giving us all a good kick in the proverbial, to switch us to the mindset of plenty, and to see beyond limited scarcity. Wonderful stuff. Linux == Infinite Love :-)

Jon Dowland: obama

Portrait of myself today, on the day the United States of America inaugurate their first black president. This post will probably be more valuable to me in years to come than anyone else right now, but never mind... I'm tired tonight. I mean physically tired, not mentally. Reading this back to myself if I just wrote "I'm tired" I'd assume mentally fatigued, as that seems to be my ground state. I'm suffering a mild cold but it's nothing serious. I'm unseasonably upbeat about work; for anyone looking forward, predictably but conciously disorganised, but improving. Tomorrow I have my annual review. I ate Quorn Korma tonight, one of my (very few) signature meals. I'm about to make the mistake of leaving the dishes until the morning. I'm in my third year occupying the NM queue and currently making a concious effort to get through it. On sunday I spent several hours on the effort; first, beating some of my packages into shape; then, looking at my outstanding questions. Tellingly I found the latter much more rewarding than the former. I'm also going through one of my seasonal "why do I do this" moments with Debian, perhaps not coincidentally whilst we are mired in a freeze for an overdue release. More on that in another post. I had a flat viewing this morning, one last night and another scheduled for thursday night. I'm living in "cosy" a one-bedroom flat with a nice view and terrible heating. I'm about to go to bed and pick up my current novel, "the Family Trade" by Charles Stross. As it's a fantasy novel, I can kid myself that I've broken out of the habit of reading Science Fiction novels (this after finishing Crichton's "State of Fear", an undeniably SF novel that sits in the mainstream literature shelves of just about every book shop). I shall probably write and publish book reviews for "State of Fear", "The Family Trade" and "Accelerando" (another Stross, thank you AJ) at some point.

Erich Schubert: Congratulations to the US and their new president

There are hard times ahead, but I figure that Obama might be just the right man at the right time to handle these issues. He gives the impression of being exceptionally smart and able to gather smart advisors around him. So I'm amazed at this huge step the US has made the previous weeks - one of the pictures of the year 2008 was Jesse Jackson crying after Barack Obama had been pronounced election winner. You do get the impression that after years of stagnation, the US is now trying to get ahead of the curve again when it comes to civil and human rights.I must admit that I really envy the US for this election result. We could definitely use some of that spirit in politics as well. And we also could use some smart people there ...

Romain Francoise: Backing up tweets

Today I decided to give Twitter a second chance and reactivated my account after almost 12 months of inactivity. Since this time I won't be protecting my updates I had to delete all my previous (possibly embarrassing) tweets before making my timeline public. But I didn't want to lose my data, so here's how I took a backup:
  1. Install twyt (python-twyt in Debian)
  2. Determine how many pages of tweets you want to save (let's say 10)
  3. for i in seq 10 ; do twyt usertl -u <user> -p <password> -P $i >>twitter-backup.txt; done
You now have a text file with all your Twitter data.

Biella Coleman: Google it

So I am still getting a lot of comments on my blog about BCBS horror stories and recently this one was submitted, which seems particularly horrific:
I had an accident in June. I was rushed to the emergency room on a Saturday afternoon. An Orthopaedic surgeon that was on call came in to set my bones. BCBS says that the physician was out of network and they paid $3900 of a $21,000 bill. I had NO choice and I was not in any shape to find out if the doctor was in-network. Seems illegal to me.
Wow. I also got an email from someone else also undergoing some horror who has asked me for the email of the public relations director who had emailed me many moons ago. Normally I would feel somewhat guilty giving it out, but given that BCBS is seriously causing a lot of problems for people all over the country, I think it is important that top executives in the company know they are causing havoc and financial problems for scores of peoplethis one is pretty horrible as well . Second, the information is already public and so one can easily find this person s name by googling BCBS Horizon public relations director (You will get his name) and then google his name and you will get his email and phone number. Good luck. If I were not a professor and were financially secure, I would definitely spend all my time on health insurance reform activism (and kick some serious ass, since I really enjoy that type of political work). In the meantime, I will help in the little ways I can and hope that this administration, which is a vast improvement over the last, will also rattle the health insurance industry as well. There are also groups out there doing great work, so if you are into reform, do lend them a helping hand if you can!

Steve Kemp: I saw green fields and flowers. I could smell the grass.

Fabio Tranchitella recently posted about his new filesystem which really reminded me of an outstanding problem I have. I do some email filtering, and that is setup in a nice distributed fashion. I have a web/db machine, and then I have a number of MX machines which process incoming mail rejecting spam and queuing good mail for delivery. I try not to talk about it very often, because that just smells of marketting. More users would be good, but I find explicit promotion & advertising distasteful. (It helps to genuinly consider users as users, and not customers even though money changes hands.) Anyway I handle mail for just over 150 domains (some domains will receive 40,000 emails a day others will receive 10 emails a week) and each of these domains has different settings, such as "is virus scanning enabled?" and "which are the valid localparts at this domain?", then there are whitelists, blacklists, all that good stuff. The user is encouraged to fiddle with their settings via the web/db/master machine - but ultimately any settings actually applied and used upon the MX boxes. This was initially achieved by having MySQL database slaves, but eventually I settled upon a simpler and more robust scheme: Using the filesystem. (Many reasons why, but perhaps the simplest justification is that this way things continue to work even if the master machine goes offline, or there are network routing issues. Each MX machine is essentially standalone and doesn't need to be always talking to the master host. This is good.) On the master each domain has settings beneath /srv. Changes are applied to the files there, and to make the settings live on the slave MX boxes I can merely rsync the contents over. Here is an anonymized example of a settings hierarchy.. So a user makes a change on the web machine. That updates /srv on the master machine immediately - and then every fifteen minutes, or so, the settigngs are pushed accross to the MX boxes where the incoming mail is actually processed. Now ideally I want the updates to be applied immediately. That means I should look at using sshfs or similar. But also as a matter of policy I want to keep things reliable. If the main box dies I don't want the machines to suddenly cease working. So that rules out remotely mounting via sshfs, nfs or similar. Thus far I've not really looked at the possabilities, but I'm leaning towards having each MX machine look for settings in two places: That way I can rsync to /backup on a fixed schedule, but expect that in everyday operation I'll get current/live settings from /srv via NFS, sshfs, or something similar. My job for the weekend is to look around and see what filesystems are available and look at testing them. Obmovie:Alive

Theodore Ts'o: Israel and Palestine: A Viewpoint from a Former Zionist

Gunnar Wolf is Debian Developer, a Mexican, and is a former member of a Hashomer Kibbutz. He has written an essay on his blog entitled About the recent events and possible outcomes in Israel and Palestine . I strongly encourage people to read it, since he talks about the historical roots of the conflict (going back all the way to the roots of Zionism) in a way that while it is definitely not pro-Zionism, neither is it as unfair as some of the pro-Palestinian accounts of the period 1947-1949. It s about as balanced an account of the roots of the whole mess in the Palestinian areas and Israel that I think you can find, although he definitely has a point of view:
All in all, even if I won t live there again, [Israel] is a country I learnt to love, a society I have long studied And yes, I keep the political stand I had 12 years ago: The only solution is to dialogue, to treat the current enemies -and not only their governments- with respect, recognizing their dignity and right to life, to self-determination. Only then we will change the status quo.
On this day when we will finally see the back side of George W. Bush s presidency, I can only hope and pray that more people will be as thoughtful as Gunnar Wolf was in his blog posting. Even if we disagree (and there will be disagreement), it s only by encouraging more people to learn about all sides of such tragedies such as the Israeli-Palestinian conflict that we can help make decisions that might bring peace to this shattered world. May that day arrive soon!

Holger Levsen: Memetime



And again we will be recording and streaming the talks and discussions in the Debian Dev room. For that, we are still looking for a good DV camera with line-in (audio) - please contact me in case you can lend us one for those two days.

Russell Coker: Status of SE Linux in Debian LCA 2009

This morning I gave a talk at the Security mini-conf of LCA about the status of SE Linux in Debian. Here is a summary of the issues I covered: General Status In Lenny (the new release of Debian that will come out in a month or two) SE Linux is working well. Considerably better than in Debian/Etch. There is an installation document on my documents blog [1], it s very easy, only two scripts need to be run with no parameters to do most of the work (5 commands in total). There is more detail on installing SE Linux in Lenny (and other issues) in the Debian Wiki [2]. The default configuration of SE Linux is targeted . Previously we had separate policy packages for targeted and strict , now they are configuration options for selinux-policy-default. It is also possible to have some users in the unconfined_t domain (like the targeted policy) and some in confined domains such as user_t. Changing to strict can be done one user at a time, this needs further documentation. Backports I maintain an APT repository of i386 and AMD64 packages for better SE Linux support. This includes libraries built to not need an executable stack (see my previous blog post for details [3]). It also includes i386 libraries that don t need text relocations AKA execmod (see my blog post about why i386 must die for details [4]). My Lenny repository includes policy packages before they appear in Testing as well as the packages that are modified to fix the execmod and executable stacks issues. I plan to maintain this repository for some time, at least as long as I am actively using Lenny, but the content will change. I might back-port the newer upstream policy to Lenny at some later date. If I do this it will be near the time that Lenny+1 is released and I will put it in a different location to my current Lenny repository. I am currently deciding what to do with packages from external repositories such as debian-multimedia (see my previous post for the background) [5]. I may have to create a separate repository for non-standard Debian packages which I then modify to better support SE Linux. I also plan to build packages of Security Enhanced PostgreSQL [7] for Lenny and Lenny+1. After demonstrating it s capabilities I will suggest that it be considered for Lenny+1. Play Machine I have been running a Play Machine (open root machine) [6] for most of the last seven years. In the near future (probably the week after LCA) I will upgrade it to Lenny. One thing that I didn t mention is the fact that I plan to demonstrate other things such as SE-PostgreSQL in Play Machines. Training I have a Xen server that is used for my Play Machine, I will run it as a SE Linux training machine and grant temporary ownership of a DomU to anyone who wants to learn and have a document with a list of tasks to complete to learn about SE Linux. I might be able to get it online this week. If so then I ll make it available first to LCA delegates. I will also set up a Bittorrent server for a Xen image for anyone who wants to go through the same SE Linux training program on their own machine - this will allow them a greater time limit and also avoid contention for my server. Unfortunately I have some problems with BitTorrent, I would appreciate any advice about running a torrent tracker. Post Lenny SE PostgreSQL is an exciting new development that I want to get in Debian. Initially I will create my own APT repository for it and include it in my Lenny repository. Hopefully it will become a standard feature in Lenny+1. Security Enhanced X (the X window access controls) is a significant security feature. I hope to have that in Lenny+1, but it might not be possible.

Eric Warmenhoven: I ve decided to take up parenting as a hobby

My son Andrew is now ten weeks old, and already I ve learned so much. For example Being a good parent occasionally means being a proper adversary It s much harder than you might expect, and happens more often than you might expect. A pacifier is an excellent way to calm him down, especially when he has gas pain (and a pacifier can also reduce the risk of SIDS); however, he would let it fall out of his mouth when he wasn t sucking on it. Rather than hold it in, if you tug on the pacifier a little bit, it teaches him how to suck on it so it doesn t fall out. Sometimes what s best is actually not so good Andrew has a food allergy, but we re not exactly sure what he s allergic to. For the last couple weeks, he s been on Nutramigen, a hypoallergenic formula specifically for babies with food allergies, and has been responding really well. Meanwhile, Lisa s been on an elimination diet, eating mainly chicken and rice, trying to get everything he might possibly be allergic to out of her system so she can start nursing again. Recently, Lisa started nursing at an occasional feeding, and he coincidentally seems to have gotten more fussy. He s not screaming in pain like he was before going on the formula, and it s hard to say that it s because of the breast milk. Still, we re thinking about going back to just formula and seeing if he improves again. I read too much When I was a child, and still to this day, I had pretty severe sleep problems. I didn t sleep through the night until I was 18 months old. So before Andrew was born, Lisa and I read a few books about how to establish a healthy sleep pattern. All of them had various theories about why children develop sleep problems, and how to quiet a baby and establish a routine. Now we re so full of conflicting theories about problems that will develop if we do or don t follow some guideline, that it s hard to make a decision about what s best sometimes. It doesn t help that, in part due to his food allergy, he ll sleep through the night one night, and the next night wake up every few hours. Fortunately, only one feeding in the middle of the night has been the norm for quite some time, so it hasn t been too bad.

Sebastian Harl: I'm going to FOSDEM 2009

I'm going to FOSDEM

Matthew Garrett

Hey! My laptop's died again! Neat!

Russell Coker: Security Lessons from a Ferry

On Saturday I traveled from Victoria to Tasmania via the ferry (to attend LCA), they grossly failed in their security measures and provide three lessons for others:

  1. Make it possible for people to read security relevant documents .

  2. Make obeying the rules not be a cost and make the fact known.

  3. Don t be lazy.

Here is the detail:

  1. When driving towards the ferry in a queue that lasted about 30 minutes just around the last corner there was a sign notifying me of the security rules. As soon as it was visible I started reading it but the security guard started frantically waving at me, the time taken to read it was holding up the queue. Therefore I never discovered the full list of things that I m not supposed to do.

  2. One rule was that cylinders of gas (such as propane) were apparently banned and should be surrendered - presumably to prevent a gas leak in the confined space of the ship s hold from risking an explosion. Anyone who did have such a gas cylinder would probably not want to have it stolen by the security people and would be inclined to lie and hope that the security people wouldn t find it. If they had made it well known that such gas cylinders would be stored in safe keeping for the duration of the voyage and then returned then they would have been more successful.

  3. They wanted to check the luggage compartments of all vehicles. To check the tail-gate of the Kia Carnival van I was driving first required that all the bags which had been put over the back seat be removed (they were resting against the tail-gate and would fall out if it was opened). When the guard realised that they would have to wait for me to empty a lot of luggage out they decided to just trust me that I didn t have any bad things on board (even though due to point #1 I didn t know what bad things were). This problem happened a second time when I reached Tasmania and the guards wanted to search for fruit.

Obey Arthur Liu: Debian Summer of Code 08 : Where are they now (part 1/3)

It s been a while now since the 2008 Summer of Code ended. This year, twelve (?) projects were selected. That s twelve students working full time on a Debian-related project during the summer. The Google Summer of Code has sometimes been criticized in the past for having a poor student-developer retention rate inside the host projects. One of the goals of the program has always been to bring new people to budding or established free software organizations and it s a pity that some would leave the project as soon as the program ends. On the other end, poor integration of created code within the project leads to work that is hard to merge in, or worse, doesn t get merged in at all. That s a waste of time and resources and a probably cause of global warming as well. Hopefully, it s not always the case. Some people choose to stay committed within the organization in the long-term. Useful code gets merged in and pushed to the public. I am going to give a talk about this at FOSDEM (go to FOSDEM!) so I m giving you a little preview. I need your help to collect information for my talk. As you know, information is always hard to come by with these kinds of projects so anything can be useful. Without further ado, let s have a look at the cast of the Debian Google Summer of Code 2008: Netconf, a network configuration management system Presentation Netconf is a network configuration management system designed with modern network infrastructures and the needs of roaming users in mind. It is a personal project of Martin Krafft that he started in 2007. He did some presentations about it that you can find on the dev website. The project proposal was introduced by the mentor. The work was mainly about completing the roadmap items for version 1.0. Most of the design was done and code fleshed out. The stated goal was to have netconf ready for lenny. Martin noted that due to lack of regular free time, he couldn t reach that goal by himself. Student Jonathan Roes was a computer science graduate student from the University of North Carolina at Charlotte. He had programming experience as a hobby for a long time and wrote some free games and libraries for the Nintendo DS and some proprietary webapps. He submitted a few little patches in mid-march right after the publication of accepted mentoring organizations and went on to work from mid-may to mid-august. He wrote a lot of code right into the trunk since the whole project was a prototype. Result The last commit by Jonathan was also the last to date in the main netconf git repository. No further progress has been made and obviously netconf didn t get into lenny. I couldn t find any further public involvement of Jonathan within Debian. The ultimate Debian database, all things Debian in a SQL database Presentation The Ultimate Debian database wants to reunite all Debian data sources in a SQL database The project was mentored by Lucas Nussbaum and co-mentored by Stefano Zacchiroli and Marc HE Brockschmidt. The project proposal was introduced by Lucas. Student Christian Neronus Von Essen is.. well, there wasn t much information readily available on him. Result The whole project is coded up and working well with a whole bunch of data sources. There will be a talk at FOSDEM about this so I ll leave it to Lucas to talk about it in detail. I couldn t find any further public involvement of Christian within Debian. Security-beta, a beta testing for Debian security updates Presentation The task is to improve the quality assurance process for security updates by providing a public security update beta test program in addition to the existing QA done for security updates. During the preparation of security updates, there s an inherent delay between the initial upload of the fixed packages and the time until the packages have been built on porter machines. This time gap will be used for a new security update beta program. The project was supposed to be mentored by Moritz M hlenhoff. Student The project was supposed to be done by Nico Nion Golde. He is studying computer sciences at the Technical University of Berlin. He s also a DD. Result There s no nothing. Nico, what happened ? And obviously, he s still developing for Debian. Debgraph, a generic infrastructure for the development of packages management tools Presentation In a large software ecosystem such as Debian Linux, there is the potential for dependencies among software packages to create complex management and technical problems. For example, dependency loops (cycles) in which a package directly or indirectly depends on itself can confuse package management tools as they determine the proper order of package installation. debgraph helps developers to solve this problem by enabling generic queries (e.g., Give me all the nodes that depend on package X ) against the graph of packages and thus automating much of the manual labor that is typically involved in resolving dependency problems. The project was mentored by Robert Lemmen, who introduced the project proposal. The project was already started and the C++ code foundation was done by the time it was proposed. Student The project was executed by Adam Jensen, research assistant in the Software Engineering and Network Systems Laboratory at Michigan State University. Result Adam maintained a blog about his progress and finished ahead of schedule. However, the resulting work seems to be unused, which is a pity since the code could be used within other programs (package managers?). I couldn t find any further public involvement of Adam within Debian.
That s all for now. The information is quite fragmented I admit. Most of it was pulled from Google, mailing lists, commit logs, blogs, whatever. If some projects are lacking in information here, it s because I couldn t find it readily (which is an issue in itself!). In my next post, I ll try to analyze the success and failures to extract some insight. Teaser: pet projects!
If you re a student or a mentor mentioned above, feel free to fill any of the blanks in my report. It s much appreciated. You re not a student or mentor mentioned above and have an opinion on how to improve the next Debian Summer of Code ? Feel free to comment.
Sledge, ping! Here s a list of projects to be described in my next posts:

19 January 2009

Neil Williams: langupdate - Emdebian language support using TDebs

A bit of news on langupdate - things are moving along and it is mostly working, including a new no-op mode when installed on Debian so that it doesn't try to replace files from packages that do not use TDebs yet.

I've added support for /etc/locale.gen so that any configured locale is automatically picked up and selected for TDeb support. In addition, extra languages can be specified via the LANGUAGE environment variable. When languages are de-configured (or the LANGUAGE variable is unset or not given), unwanted TDebs can be automatically purged using the -r command to langupdate. As with previous releases, all cache data is downloaded to a dedicated directory under /var which is cleaned out after each run, including the downloaded TDebs themselves.

The one bug that is holding back a release is that although langupdate can identify TDebs for binary packages that have the same name as the source package, I'm having problems retrieving the name of the source package from the libapt-pkg (C, not perl) library without resorting to mass fork/exec for apt-cache showsrc. I'm not sure if it is a repository problem or an apt problem.

langupdate is now sufficiently advanced that I've asked for translations of the 41 gettext messages included with the binary. So far, I've got three translations in place and 10 days more before the translation deadline expires.

If anyone fancies helping out with the C/C++ code for langupdate, the
SVN is available via Emdebian.


# langupdate -?
Usage:
langupdate [OPTION...] - updates language support for emdebian

Apt frontend to match the Emdebian TDeb support with the installed
packages and supported locales.

Help Options:
-?, --help Show help options

Application Options:
-n, --dry-run Only show the cache data, do not install
-m, --mirror=mirror_name Use the specified TDeb mirror instead of the Emdebian default.
-r, --autoremove Remove TDebs for unsupported locales.
-v, --verbose=integer Specify verbose level [0-4]
--suite=codename Specify the apt suite name [default unstable]
--version Show version information and exit.

Emdebian TDebs provide a method for splitting all translation files out of
packages and into separate TDeb packages, organised by the locale root and
source package. This allows individual users to only install translations
files for the locales supported on their own machine and only for the
packages installed at the time.

Note that this functionality is not available for Debian TDebs.

Stefano Zacchiroli: gitweb vs DSA 1708-1 on lenny

packages backported by yours truly Just in case you need backported packages for DSA 1708-1 affecting backported gitweb to Etch (and in case you trust my as a builder), I've made available mines (arch amd64, signed with my DD GPG key, together with backports of build-deps). No, sorry, no upload to bpo: I did the rebuilds in a hurry, without bothering to check the backports guidelines as I usually do before uploading to bpo. Packages tested and working properly on medium-sized machines, including a forge-like service. Ah, right, beware that gitweb.css changed location since the last version in bpo, the new location is /usr/share/gitweb/gitweb.css, upgrade your links / alises / whatever to avoid a 80's theme for your brand new gitweb.

David Moreno: More Git tips?

Make sure you add the just launched git ready blog to your feed reader. Made by qrush. Audience applauds!

Stefano Zacchiroli: worst than bofh

One of the least useful error messages I've ever seen
# dar -N -x backup -K <censor> -g some/where -v
Extracting contents of the archive...
FATAL error, aborting operation
elastic buffer incoherent structure
#

Thanks dar, now it's clear.

Stefano Zacchiroli: git tips: coloring and aliases

Pimp your Git UI Resisting the meme on planet debian about ssh tricks, I'll try to start a new one about git tricks (simply because I do want to improve my git trick portfolio :-) ). Also, the following two are from Godog, to which I extorted an "intent to post" declaration, unattended thus far :-P Kudos for the tips! Command aliases Annoyed by the fact that git st doesn't do what svn st used to do? (Which gets even worse, since I do use git st waaaay more than how much I used svn st). Then enjoy command aliases with the following ~/.gitconfig lines:
[alias]
br = branch
st = status

Coloring Lines for ~/.gitconfig:
[color]
ui = auto

after that enjoy your pimped git status output.
Update thanks to KiBi, I've discovered color.ui = auto which is shorter than listing all UIs you want to be color-enabled, and also more future-proof.

Stefano Zacchiroli: ocaml batteries gzip

OCaml batteries, now with GZip-ed channels This week-end I've spent some time to kick-start my hacking onto OCaml Batteries Included (yes, it deserves a proper website). Last time I wrote about it was with my package maintainer hat on. In the meantime I've got trapped^Winvolved with upstream development as well, after having been so fool to propose integration with Batteries' I/O channels of compression/decompression libraries. Well, here are the first tiny teeny results:
    # open Batteries.System;;
    # let i = File.open_in "/tmp/fstab.gz";;
    val i : InnerIO.input = <abstr>
    # let i2 = GZip.uncompress i;;
    val i2 : InnerIO.input = <abstr>
    # IO.read_line i2;;
    - : string = "# /etc/fstab: static file system information."
    # IO.read_line i2;;
    - : string = "#"
    # (* same goes for output of course *)

i.e., no matter how you created an I/O channel (and with Batteries you can create it out of a lot of entities), you can apply a gzip compress/decompress filter. The underlying library is Camlzip, which also sets a precedent on how to integrate external libraries into Batteries properly. The code is not released yet (hey, Batteries is still alpha!), but is available from the Git repo, (zack/compress branch). Next milestone: bzip2 ... of course with the same interface, so that changing (de)compressor will be as easy as s/GZip/BZip2/g in the code above. tar and zip will come next (but with different interfaces, as old *nix jokes tell us, compressing and archiving are different tasks).

Next.

Previous.