Search Results: "ms"

9 January 2010

Andrew Pollock: [life] Twenty weeks later

Sarah hit the 20 week mark on Monday, and so we had the big anatomical ultrasound. We also found out that it looks like we're having a girl. We're now trying to come up with a name. There was also a worrying piece of news: they couldn't see the cavum septum pellucidum, while they were checking out her brain. Apparently the cavum septum pellucidum is a particular marker they look for when they're checking everything out. Now what the absence of the cavum septum pellucidum actually means isn't terribly clear. Apparently normally this is found along with other abnormalities, but the rest of her brain structures look fine. The nuchal translucency we had earlier in the pregnancy came back fine also. So we got bustled off to have a chat with the genetic counsellor (during which the 4.1 earthquake happened). We got booked in for an amniocentesis for later that afternoon, as well as a fetal MRI at 22 weeks, and trundled off home. To cap things off, when we were trying to park back at the hospital for the 2pm appointment, I managed to scrape the car up against one of the poles in the car park. (The lower level parking is notoriously tight). Note to self: always use the free valet parking service from now on. Sarah had some second thoughts about the amniocentesis, as it does carry with it some risk of miscarriage, and after chatting with with a couple of the obstetricians, we elected not to do it. The fetal MRI should definitively determine if the cavum septum pellucidum is absent, and then we can talk to a paediatric neurologist about what the ramifications of that might be. One of the reasons they wanted to do an amniocentesis now, rather than after the fetal MRI, is the amniocentesis itself takes a couple of weeks for the results to come back, and that would bring us up to the 24 week mark. Apparently if we wanted to terminate the pregnancy, once it was at 24 weeks, we'd have to go to LA to do it. Whilst I consider myself an atheist these days, I was raised a Catholic, and although I like to think of myself as pro-choice, I still have a lot of problems with abortion, so I don't think I'd be comfortable terminating unless it could be shown with reasonable certainty that our baby was going to be in a really bad way. Based on how the rest of the brain looked, and the nuchal translucency results, and the fact that the amniocentesis would only identify chromosomal and not genetic neurological disorders, I don't think we'll be aborting. From my limited research, it sounds like the cavum septum pellucidum disappears at about 3 months after birth anyway, so looking at it one way, you could say our baby's brain is developing faster. Other research has indicated a correlation with optic nerve development issues, so I don't know if that means she might be blind. We really need to chat with a paediatric neurologist. But hopefully the fetal MRI will find it, and this will turn out to be nothing. An anxious two weeks will now follow.

8 January 2010

Steve Kemp: For the record, that's a question you never have to ask.

Five years ago I spent an hour wandering around a large department store looking to buy a kettle & a set of bathroom scales. Much to the amusement of the woman I was shopping with I spent a very long time trying to find the cheapest available set of scales. (We're talking at least 20 minutes, due to the nature of the store and the crowds.) Once I'd selected the cheapest possible set of bathroom scales we walked over to the kitchen section of the store. I glanced over all the available kettles and picked up the one that looked the nicest (in terms of size, shape, and handle design) with no regard for the price at all. Why? A set of bathroom scales I use maybe twice a year. A kettle I use in excess of ten times a day. Something you use that often should be right. Even if over time you take it for granted and forget about it. (FWIW the scales were 6.50 and the kettle cost me 39.95 - John Lewis 15/03/2005 - I kept the reciept!) I'll haggle and quibble over prices for a lot of things, trying to ensure that I don't pay too much. But there are items which are worth paying for (and I don't just mean that "expensive == good" idea some people seem to have). On that basis I'll think nothing of paying 150 for a pair of shoes for example, even though I'll go out of my way to save 5- 10 on a DVD player. Because shoes are important, used very very often, and DVD players just aren't. (ObReference: I have one pair of shoes. I have five pairs of boots. I might pretend I don't but I also have a pair of sandals. Sshhh it'll be our little secret. ;) Anyway today my kettle broke. I had to buy a new one at short notice. I did so and the replacement is obviously more advanced. It boils quickly and quietly which is technically an advangtage but in practise is actually a drawback. Generally speaking I'll fill the kettle, turn it on, then wander away. I'll only return to the kitchen to make my delicous beverage when I hear the "click" signaling that the kettle's job is done. This new one? From outside the kitchen I cannot hear it at all... In conclusion: Technology and progress is all around us. Sometimes a technical step forward "being quiet" is a bad thing. In other news I'm fighting with IPv6 & a head cold. Both suck. ObTitle: Alias

Russell Coker: Ext4 and Debian/Lenny

I want to use the Ext4 filesystem on Xen DomUs. The reason for this is that the problem of fsck times on ext4 (as described in my previous post about Ext4 [1]) is compounded if you have multiple DomUs running fsck at the same time. One issue that makes this difficult is the fact that it is very important to be able to mount a DomU filesystem in the Dom0 and it is extremely useful to be able to fsck a DomU filesystem from a Dom0 (for example when you want to resize the root filesystem of the DomU). I have Dom0 systems running CentOS5, RHEL5, and Debian/Lenny, and I have DomU systems running CentOS5, RHEL4, Debian/Lenny, and Debian/Unstable. So to get Ext4 support on all my Xen servers I need it for Debian/Lenny and RHEL4 (Debian/Unstable has full support for Ext4 and RHEL5 and CentOS5 have been updated to support it [2]). The Debian kernel team apparently don t plan to add kernel support for Ext4 in Lenny (they generally don t do such things) and even backports.debian.org doesn t have a version of e2fsprogs that supports ext4. So getting Lenny going with Ext4 requires a non-default kernel and a back-port of the utilities. In the past I ve used CentOS and RHEL kernels to run Debian systems and that has worked reasonably well. I wouldn t recommend doing so for a Dom0 or a non-virtual install, but for a DomU it works reasonably well and it s not too difficult to recover from problems. So I have decided to upgrade most of my Lenny virtual machines to a CentOS 5 kernel. When installing a CentOS 5 kernel to replace a Debian/Lenny kernel you have to use console=tty0 as a kernel parameter instead of xencons=tty , you have to use /dev/xvc0 as the name of the terminal for running a getty (IE xvc0 is a parameter to getty) and you have to edit /etc/rc.local (or some other init script) to run killall -9 nash-hotplug as a nash process from the Red Hat initrd goes into an infinite loop. Of course upgrading a CentOS kernel on a Debian system is a little more inconvenient (I upgrade a CentOS DomU and then copy the kernel modules to the Debian DomUs and the vmlinuz and initrd to the Dom0). The inconvenience of this can be an issue in an environment where multiple people are involved in running the systems, if a sysadmin who lacks skills or confidence takes over they may be afraid to upgrade the kernel to solve security issues. Also apt-get dist-upgrade won t show that a CentOS kernel can be updated, so a little more management effort is required in tracking which machines need to be upgraded. deb http://www.coker.com.au lenny misc To backport the e2fsprogs package I first needed to backport util-linux, debhelper, libtool, xz-utils, base-files, and dpkg. This is the most significant and invasive back-port I ve done. The above apt repository has all the packages for AMD64 and i386 architectures. For a Debian system after the right kernel is installed and e2fsprogs (and it s dependencies) are upgraded the command tune2fs -O flex_bg,uninit_bg /dev/xvda can be used to enable the ext4 filesystem. At the next reboot the system will prompt for the root password and allow you to manually run e2fsck -y /dev/xvda to do the real work of transitioning the filesystem (unlike Red Hat based distributions which do this automatically). So the state of my Debian systems running this is that the DomUs run the CentOS kernel and my backported utilities while the Dom0 just runs the backported utilities with the Lenny kernel. Thus the Debian Dom0 can t mount filesystems from the DomUs which makes things very difficult when there is a problem that needs to be fixed in a DomU, I have to either mount the filesystem from another DomU or boot with init=/bin/bash .

MJ Ray: Goodbye to an LLP Co-op

The Tool Factory closed its doors on 31st December 2009. As you may remember, our co-op is one of few LLP co-ops and we mentioned 2amase LLP in our case study as one of the others. 2amase were closely linked to The Tool Factory LLP. Their goodbye message lists multiple reasons for the closure, but a key part seems to be a dispute between members about the copyright of their proprietary Business Plan Writer tool. I think there s a strong resonance between cooperative principles and free and open source software, so I m not suprised that proprietary software development has contributed to failure of a co-op, but it s still a shame. Goodbye and best wishes for the future to The Tool Factory workers. I hope to promote links between cooperatives and free software more in 2010. New Co-operatives UK head Ed Mayo mentioned it in his first speech, so the time seems right. If you d like to help put on some co-op FOSS events, leave a comment here or get involved in this open co-op discussion, please.

Chris Lawrence: From the department of bad statistics

I m glad to see that some things never change; in this case, it s the low quality of local news reporting in Laredo. Pro8News breathlessly reports that Mexican drivers are less likely to be ticketed since less than 25% of parking tickets in Laredo are issued to Mexican-licensed vehicles. This story just begs to be placed on a research methods final as one of those identify all of the problems with this analysis questions. Bonus points for invoking Bayes theorem.

Cyril Brulebois: X.Org tricks for Intel users

With the current move of X.Org to unstable, a few tips might help xserver-xorg-video-intel s users. Current issues involve screen turning to black from time to time, including while typing, or after a few seconds of inactivity, or after a few minutes. Depending on the applied tips, it s sometimes possible to switch back to a console, trigger a suspend to RAM, and then get back to an un-black screen. (The funny think being that using s2ram may break the Intel wireless driver, which can be fixed by then using s2disk ) Restarting the X server is usually insufficient. Logs (be it X.Org s or kernel s) don t show anything. Given those issues showed up with the previous X.Org stack too, with recent kernels, it might just be a bug there. Various stuff that can be tried: With that setup (apparently, the first tip is particularly interesting, the second didn t seem to help much), turning to black seems to only happen when using MPlayer or VLC, while it was previously happening while e.g. reading a few lines of IRC backlog Passing various -vo flags to MPlayer, like -vo x11, doesn t seem to help. Have to try with some 2.6.33-rcX before reporting this bug, just wanted to let others know about current findings

7 January 2010

Debian News: Brief updates: Lenny d-i with kernel 2.6.32, GPG coordination, debian-ports archive key, python-stdeb and upcoming BSP

Neil Williams: Change of career and relocation.

Further to my previous entry of putting the house on the market, it's now definite that I'm relocating to Cambridge to work as a self-employed application developer with Toby!Churchill.

Time to start hunting for accommodation in Cambridge tomorrow . . .

Joachim Breitner: screen-message ported to Windows

Over the holidays I investigated how to cross-compile GTK applications for Windows, and managed to port screen-message. I also created an Inno Setup based installer for it that includes the necessary GTK DLLs. You can grab it from the screen-message homepage. The installer optionally binds screen-messages to the key combination Alt-Ctrl-S.
I would have published the binary much earlier if starting the application had not always given the error message
The application failed to initialize properly (0xc000007b). Click on OK to terminate the application.
on Windows, while it worked fine under WINE. It took me a while to find the cause, as there seems to be only one mention of it in the internet: One must not use MinGW s strip.exe utility on DLLs not created with MinGW, it seems. I added a make installer target to the Makefile to create the installer. If you are curious about how that works, have a look at the source.

Jonathan McDowell: Prettifying Debian boot output

Being a bit of a freak I actually tend to read my boot output. Well, when I'm not using that time to go grab a cup of coffee first thing on a Monday morning. However I don't always find Debian's default output as clear as I'd like (especially when I haven't had that coffee yet, or when I'm half watching a remote machine boot over its serial console). ISTR that RedHat had much nicer boot output (I'm talking about text based here, not the fancy Plymouth stuff) with a row of OK/FAILED etc down the right hand side that made it nice and obvious what was happening. Of course we can do that with Debian, at least for packages that use the lsb-base logging functions. Drop the following into /etc/lsb-base-logging.sh and enjoy a slightly prettier boot. I'm slowly filing wishlist bugs with patches for those bits and pieces I use that don't use lsb-base for their init script logging.

# Colour our init scripts output
# int log_end_message (int exitstatus)
log_end_msg ()  
    # If no arguments were passed, return
    if [ -z "$ 1:- " ]; then
        return 1
    fi
    retval=$1
    log_end_msg_pre "$@"
    # Only do the fancy stuff if we have an appropriate terminal
    # and if /usr is already mounted
    if log_use_fancy_output; then
        RED= $TPUT setaf 1 
        GREEN= $TPUT setaf 2 
        YELLOW= $TPUT setaf 3 
        NORMAL= $TPUT sgr0 
        $TPUT hpa $(( $TPUT cols  - 12))
    else
        RED=''
        GREEN=''
        YELLOW=''
        NORMAL=''
    fi
    if [ $1 -eq 0 ]; then
        /bin/echo -e " [   $ GREEN OK$ NORMAL    ]"
    elif [ $1 -eq 255 ]; then
        /bin/echo -e " [$ YELLOW WARNING!$ NORMAL ]"
    else
        /bin/echo -e " [ $ RED FAILED$ NORMAL  ]"
    fi
    log_end_msg_post "$@"
    return $retval
 
log_action_end_msg ()  
    log_action_end_msg_pre "$@"
    if [ -z "$ 2:- " ]; then
        end=""
    else
        end=" ($2)"
    fi
    /bin/echo -n "$ end "
    # Only do the fancy stuff if we have an appropriate terminal
    # and if /usr is already mounted
    if log_use_fancy_output; then
        RED= $TPUT setaf 1 
        BLUE= $TPUT setaf 4 
        NORMAL= $TPUT sgr0 
        $TPUT hpa $(( $TPUT cols  - 12))
    else
        RED=''
        BLUE=''
        NORMAL=''
    fi
    if [ $1 -eq 0 ]; then
        /bin/echo -e " [  $ BLUE DONE$ NORMAL   ]"
    else
        /bin/echo -e " [ $ RED FAILED$ NORMAL  ]"
    fi
    log_action_end_msg_post "$@"
 


(This is mostly for my own future reference, because I keep trying to search for details on it and not finding exactly what I want. I forget where I even found the basis for this, though there are lots of similar snippets out there. I've not tried it with a concurrency based boot so it may well look horrible under that.)

Kumar Appaiah: Brief updates and some advice

So, while Richard is busy doing research and arranging or facilitating several Debian workshops, here I am, gulping down Idlis and Dosas by the dozen. It's been a fun visit, and I got to visit several places in my native state, but since my visit to Mumbai is rather short, I won't be able to say hello to several friends this time (Sorry Kartik). Maybe this would happen only when I am back in India on a permanent basis; let's see...Here are some general guidelines for travelers which I'd like to share:It's been a really fun trip, and I am sure I'll enjoy the rest of the trip, till I get back to my old routine and resume work.Finally, in keeping with the spirit of a blog I try to understand (albeit, in vain, I must accept), I duplicate the concept of a post from that blog, here is an up-to-date list of airports in which I have sat, but never left except by way of airplane:More updates later. Bye for now.

6 January 2010

Christine Spang: configuring Gnome screensaver for unicode-screensaver

I love unicode. You should too. For the unicode-lover out there, Joachim Breitner recently created an xscreensaver hack called unicode and uploaded it to debian. [1] I didn't like the default colourscheme of black text on a white background, so I hacked it to support colour configurability. The patches are in the Debian package as of version 0.2-1. If you're using xscreensaver, you can configure it using the xscreensaver configuration dialog for a subset of the available colours. If you want different colours, you can edit ~/.xscreensaver by hand. Gnome screensaver, however, does not have a configuration UI, opting instead to present a simpler interface and also allow administrators to lock down the screensaver configuration if desired. You can still configure the screensaver on unlocked systems without a GUI. Here's how to do it. [2] At a terminal:
mkdir -p .local/share/applications/screensavers
cp /usr/share/applications/screensavers/unicode.desktop .local/share/applications/screensavers
editor .local/share/applications/screensavers
There's an Exec line in the file that should look like this:
Exec=/usr/lib/xscreensaver/unicode -root
Change it to look like this:
Exec=/usr/lib/xscreensaver/unicode -root -background <bgcolor> -foreground <fontcolor>
Swap the two colours with any X11 colour of your choice. Make sure to quote any multiple-word colour names. I like black as a background, with white or firebrick or another non-jarring bright colour as the font colour. If you want, you can also change the "Name" field in the file, but it's not necessary for things to work. Now, open up gnome-screensaver-preferences and select the new screensaver. U+2673: RECYCLING SYMBOL FOR TYPE-1 PLASTICS Lastly, leave your laptop strategically with the screensaver on to geek out all your friends with your unicode prowess. [1] Thanks Joachim! [2] There is actually another way to do it, if you prefer to interact graphically. For the other method, get /usr/share/applications/screensavers/unicode.desktop, edit it to your taste, and then drag-and-drop it onto gnome-screensaver-preferences, which will automatically put it in the right place in .local. You may need to restart gnome-screensaver preferences in order to see the new screensaver in the selection box. The feedback isn't very good.

5 January 2010

Russell Coker: Which is Better, Original DVD or Pirate MP4?

For a long time it has been obvious that in all cases anti-piracy technologies discourage purchases and in many cases encourage piracy. I first discovered the significance of this in about 1991 when I attended a public lecture by a senior employee of Borland and a member of the audience claimed that the Borland product he bought didn t function correctly due to anti-piracy measures. The Borland employee firmly stated that Borland did not use anti-copying technology on any of it s products, didn t have any plans to do so, and the problem in question must have been caused by something else. Of all the hostile questions that were asked, this was the only one that caused the speaker to appear agitated so it was obviously an issue that was considered to be important within Borland. In the late 80 s anti-piracy measures were mostly based around creating floppy disks that couldn t be easily copied (violations of various aspects of the disk formatting standards). This meant that you couldn t make a backup copy of the data, so it wasn t uncommon for people to seek pirate copies of their commercial software for daily use to avoid wearing out their valuable original floppy disks. Then the dongle was invented and people who bought software sometimes sought pirate copies so that they could use their printer and their commercial software without having to change plugs on their PC. But in those cases the benefits to uncrippled software to the users were small. Now a large part of the battle on copy protection concerns DVDs. If you had a DVD of a recent movie and an MP4 which would you rather watch? Would you prefer to be forced to watch some anti-piracy rubbish for a couple of minutes at the start of the movie (with fast-forward disabled) or would you prefer to just start watching it? Would you prefer to be able to pre-program the sections of the movie that you watch (as some parents desire to skip the sex and/or violence in movies for their teenagers) or would you prefer to be forced to watch the movie straight-through with only a manual fast-forward to skip sections? Would you prefer to have a DVD that can t be played properly on many (most?) computers because of the CSS encoding or an MP4 that plays on everything from PCs to mobile phones without an issue? Would you rather have 100 movies in the spare space on your laptop hard drive when you travel and 1000 movies on your desktop system or the much smaller number of boxed DVDs that you can store? I think that in most cases a pirate MP4 will give a better experience than a DVD. So the question is, why pay for a DVD when in most cases you get a lesser experience than you will get from a MP4 file downloaded by bittorrent? One reason for buying the DVD is to support the film industry. But I doubt that such a profitable industry will get much sympathy in today s economy. Another reason is the morality, some people consider piracy to be theft (it isn t by definition theft requires that for at least a moment the property be completely in the possession of the thief) and therefore avoid it. One technical reason for buying a DVD is the fact that it may have multiple languages supported, it will have subtitles, it may have an audio track with the creators giving a commentary, and it may have extra scenes that were cut from the main release. I believe that work on adding subtitles to the video file formats is a work in progress, so it s only a matter of time before the DVD rips include all this extra data. Really the content creators should focus on making a product that meets the needs of users and that they want to pay for. Pirating books is technically possible, but almost no-one does it. Some successful authors such as Charles Stross freely publish significant parts of their work and Cory Doctorow freely publishes all his work in electronic form. Books just work well, they meet the needs of users and people want to buy them. Sure they can sell them second hand, lend them to other people, and it s technically possible to pirate them, but they remain profitable. On my documents blog I have a page of links to free short stories that I liked [1] and a page of links to free books [2]. It seems to me that creators of other copyright content should consider how they can be of service to their customers. We are all familiar with corporations and misguided individuals who get whiny about the supposed losses due to piracy. Bruce Everiss has unfortunately joined this trend and demanded the disconnection of Internet users based on unproven accusations of game piracy [3]. I don t know whether the game buying experience sucks as badly as the DVD buying experience, but based on the reports of locked-down consoles that have to be cracked before they run Linux I expect that the modern game industry is doing at least as badly as the movie industry. They need to provide things that users want! One thing to note is that a Windows or console game player who uses pirate games will probably buy some games at some future time, while someone like me who uses free software both by principle and because it gives a better user experience will probably never pay for a game (I haven t got time to play all the free games so I probably wouldn t even buy a Linux game).

Vincent Sanders: Back to work

Well that is the end of my time off, tomorrow it is back to work. However my break started with snow and it seems its finishing that way.


Unfortunately despite my previous enthusiasm this weather is becoming a little tedious. Schools have been closed today so I had to child mind instead of getting anything done.

Speaking of getting things done...I have completely failed to do anything productive whatsoever for the last couple of weeks. I have played some computer games, watched some TV read some books and listened to music and you know what? Aside from a tiny guilty feeling, I have thoroughly enjoyed myself.

I suppose I should apologize for not contributing to all those open source projects that could have used my help, but that would imply remorse which I seem to be lacking. Oh well

Mentioning music, I have acquired a selection of new music over the holiday which I ought to talk about. In no particular order:Unfortunately none of it was outstanding which sometimes happens when I take a punt on a large pile of new music. On the upside none of it was particularly bad either, so a kind of "no win" deal. Though on re-listening the "XX" album is starting to grow on me and the albums from the DFTBA label are so inexpensive they are more than worth it.

Russell Coker: An Interesting new Auction Site

BidRivals.com is an interesting new auction site, their business model is that you buy bids for $0.80 each. If you want to bid on an item it costs you $0.80, then if you win the auction you pay for it. Every bid increases the price by 2 cents. So if you see an auction with a current price of $2.00 that apparently means 100 bids have been placed IE $80 have been spent. Currently a Canon EOS 50D Digital SLR camera + a lens is on auction, it has a buy it now price of $2,499 (the same price that Harvey Norman advertises) and the bidding is at $163 and climbing so the auction site has apparently made almost $6,500 in revenue and the product has not been sold yet! The auction also has no fixed end time, it seems that about 10 or 15 seconds are added to the clock every time someone bids, and the autobidder will kick in when 4 seconds remain. So there will probably be an autobid every 6-11 seconds somewhere between 300 and 600 bids per hour at a cost of $0.80 each every item that is running with autobids will generate something between $240 and $480 in revenue without being sold! Now if you don t win the auction (or give up trying to win) then you can buy it for the difference between the cost of your bids and the product price. In the case of the camera in question if you had made 500 bids (which would be quite easy with the autobid feature) then that would be $400 worth of bids, and given a choice between losing that $400 and using it as a down-payment on the regular retail price I think that most people would choose to buy the product. Of course if you buy it from Harvey Norman you save the delivery fee and probably get more options if you want to return it I ve never had to return something to Harvey Norman but I m assuming that it would be a lot easier than returning an item to an online store! I don t consider this to be a real auction site. I believe that a real auction has genuine bids of a value that is determined by the bidder, the auctioneer (or auction software) may decline bids that are too low in value or which have too small an increment. Bidding in an auction generally costs the bidder nothing the only exception I ve personally seen is auctions which have a printed catalogue in which case you pay for the catelogue, a fixed fee which is small when compared to the auction prices. It seems to me that a significant portion of the revenue (possibly the majority of the revenue) of BidRivals is from the bidding fees, and the other significant portion of the revenue would be comprised of profits made from auction customers who opt to buy the item at it s list price to avoid wasting the money that they have put in to bids. The actual prices of the items are small by comparison. Note that I am not accusing BidRivals of doing anything illegal (such as running a gambling system), I am merely stating that I don t believe that they offer a good deal for customers. While they aren t strictly a gambling site, it seems that one could get lucky and make a single bid (costing $0.80) at the right time and get a $2,499 camera for $170 (or whatever it ends up selling for) while others may spend hundreds of dollars in bids and get nothing other than a potential down-payment on the full $2,499 price. That s a lot more luck than I want in any of my purchases! I recommend not doing business with them or anyone like them.

Rapha&#235;l Hertzog: 5 years of Freexian

5 years ago I founded my own company Freexian SARL with the goal to make a living out of my free software experience. I marketed the company as being specialized on the Debian distribution in the hope to combine my Debian work and my professional work. Given that Freexian is still alive I think I met the first goal. My free software experience allowed me to complete many projects: a large number of development projects for embedded devices running a custom Linux distribution (usually built with debian udebs), the development of a Debian derivative (SLIS) and some recurring tasks of remote system administration. However, even if I use Debian daily for all my work, very few of the projects that I complete for customers have direct results in terms of improvements for Debian (except some bugreports and some related fixes). And even when I m able to contribute something back to Debian, it s usually not in areas that I care about. My focus within Debian is on the technical and organizational infrastructure of the project: as a dpkg/dpkg-dev maintainer I try to improve the packaging infrastructure, as a QA member I maintain the Package Tracking System to ease collaboration, as an Alioth admin I ensure all DD can host VCS repositories for their Debian related projects, as a developers-reference co-maintainer I try to share good packaging practices, etc. Given this bias, it s difficult to find customer projects that would let me contribute in those areas. Thus I think I need to try another approach: the simplest solution would be to find sponsors for some of my own Debian-related projects (if you have something else to suggest, please leave a comment either in the blog or by mail). That said finding sponsors looks like a difficult task in itself. While I can imagine (for example) a company using Debian on embedded devices that would like to sponsor the rewrite of update-alternatives in C in order to get rid of the perl dependency in the dpkg package (if you know such a company, get in touch with me!), I don t see who would have an interest in sponsoring the time that I need to contribute new sections to the developers-reference manual. But who knows maybe I should just try and publicly solicit sponsorship for some of the projects that I care about. In any case, suggestions and comments are welcome! Partagez cet article / Share This

Peter Eisentraut: Remove and Purge

Debian's package manager dpkg has the perhaps unique feature that it distinguishes between removing and purging a package. Removing it removes the program files but keeps the configuration files (and sometimes the logs) around, purging it really removes everything. While this distinction undoubtedly has some uses, I have found that I almost never make use of it. I think in about six years of using Debian I have actually needed a remove-but-not-purge functionality about five times, during some really tricky upgrades (and using Aptitude instead of APT might have helped, not sure) and once when I wanted to build a package that had a build dependency that conflicted with a package I had installed (cowbuilder came later).

I think many people don't fully realize this distinction, and thus aged systems will often contain dozens or hundreds of removed-but-not-purged packages lying around. Great fun cleaning that up. And therefore, at some point in the distant past I have switched all my APTs to purge by default, using the configuration setting Apt::Get::Purge "true";. At the time I thought this would be daring, but I have never looked back. The one time a year that I don't want to purge I override this by hand.

Later, APT actually got an apt-get purge command, but there is no apt-get autopurge and no apt-get dist-upgrade-and-purge (or whatever) to purge the packages it wants to remove. This can be worked around by carefully adding --purge to all invocations of apt-get, but who will remember that. And of course apt-get remove is hardwired into my fingers.

How do other people handle this? Are there undiscovered reasons removing is the better default? How do you clean up packages that were forgotten to be purged?

4 January 2010

Russell Coker: Ext4 and RHEL5/CentOS5

I have just noticed that Red Hat added Ext4 support to RHEL-5 in kernel 2.6.18-110.el5. They also added a new package named e4fsprogs (a break from the e2fsprogs name that has been used for so long). Hopefully they will use a single package for utilities for Ext2/3/4 filesystems in RHEL-6 and not continue this package split. Using commands such as e4fsck and tune4fs is a minor inconvenience. Converting a RHEL 5 or CentOS 5 system to Ext4 merely requires running the command tune4fs -O flex_bg,uninit_bg /dev/WHATEVER to enable Ext4 on the devices, editing /etc/fstab to change the filesystem type to ext4, running a command such as mkinitrd -f /boot/initrd-2.6.18-164.9.1.el5xen.img 2.6.18-164.9.1.el5xen to generate a new initrd with Ext4 support (which must be done after editing /etc/fstab), and then rebooting. When the system is booted it will run fsck on the filesystems automatically but not display progress reports which is rather disconcerting. The system will display / contains a file system with errors, check forced. and apparently hang for a large amount of time. This is however slightly better than the situation on Debian/Unstable where upgrading to Ext4 results in an fsck error on boot which forces you to login in single user mode to run fsck [1] which would be unpleasant if you don t have convenient console access. Hopefully this will be fixed before Squeeze is released. I now have a couple of my CentOS 5 DomUs running with Ext4, it seems to work well.

Biella Coleman: All tech

Fall semester I did not teach any classes that covered digital media (in part because I was swimming in the stuff writing a review essay on the topic, which I am sending today to the journal, ending about 4 months of hell). On the other hand, spring semester will be all about digital media: hackers, free software, privacy, piracy, phone phreaking and more. I am excited. Here is my graduate syllabus on the commons and piracy and here is my undergraduate class on hacking. Both are still under development but pretty far along.

Biella Coleman: All tech

Fall semester I did not teach any classes that covered digital media (in part because I was swimming in the stuff writing a review essay on the topic, which I am sending today to the journal, ending about 4 months of hell). On the other hand, spring semester will be all about digital media: hackers, free software, privacy, piracy, phone phreaking and more. I am excited. Here is my graduate syllabus on the commons and piracy and here is my undergraduate class on hacking. Both are still under development but pretty far along.

Next.

Previous.