Archive for the ‘Ubuntu’ Category

Fixing and reporting Ubuntu bugs

Friday, January 18th, 2008

My friend Matt and I have shared a number of stories regarding our frustrations with reporting bugs to Ubuntu. He recently wrote an overview of his experiences — Why I’ve stopped reporting bugs to Ubuntu — which was linked to by OSNews. The comments there are mostly level and reasonable, but some people are missing the focus of his statement. He’s not whining “fix my bug!”, he’s drawing attention to the methodology used to process bugs.

(more…)

Ubuntu 7.10 “gutsy” caveat: beware EVMS!

Tuesday, October 30th, 2007

A small PSA: If you are upgrading Ubuntu to 7.10 “gutsy”, check to see if you have the “evms” package installed. If you do, and you have no knowledge of installing it and don’t know what it is, then you probably should remove it. The consequences of keeping it are a spew of system messages:

device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

Even worse, you may be unable to mount any partitions aside from /! That’s what happened to me. :-(

(more…)

Making a new file the Ubuntu way?

Thursday, October 25th, 2007

While innocently reading the 7.10 Release Notes my left eyebrow raised at their method for creating a new file with a single word in it.

echo letter | sudo tee /etc/papersize >/dev/null

Say what? Why on Earth use tee if you are going to dump it’s output to /dev/null? I assume whoever wrote it ran into a file permission problem due to the redirection.1 How about the following:

sudo sh -c 'echo letter > papersize'

I’m not going to complain that their way spawns an extra process; I dislike complaints which ignore the capacity of modern computers and that this command is run once by hand. Probably, I just think their way is ugly. :-)

  1. The sudo manpage also suggests using sh -c for making redirection work.