Fedora Updates can be revised

Tuesday, December 8th, 2009

Fedora package developers very often submit a test update for a package, get some feedback on it, then submit another test update incorporating further fixes.  This resets the “karma” back to zero, as well as making search results for packages in the Fedora Update system very cluttered.

Did you know that you can edit an existing test update?  Doing this keeps the list of fixed bugs, keeps any user comments about the update, and keeps the karma from previous testing.


After clicking Edit, make your changes but be sure to choose Testing or Stable for the Request field.

Mapping encrypted volume groups to disk partitions

Monday, November 9th, 2009

I’m about to try installing a Fedora 12 test image onto the spare disk partition in this computer, but it’s taken me a while to work out which partition actually is spare. The reason: most of my filesystems are in logical volumes on LUKS-encrypted devices.

So, for my own reference as much as anything else, here is how to map an encrypted logical volume back to an actual disk partition.


CUPS cancelled jobs showing up in the queue

Friday, October 16th, 2009

The newest stable branch of CUPS, 1.4, has a different job cancellation behaviour (hey, two words in a row spelt differently in American English!) than 1.3 did.  If you have cancelled a job but it still appears in the job queue, this might explain why.


PolicyKit and printing

Tuesday, August 11th, 2009

gtk-dialog-authentication-100The latest release of Fedora allows more flexibility with configuring print queues and managing print jobs. This is because it is now able to use PolicyKit to do these things, which means you get to choose when and whether users should be prompted for authentication when performing administration tasks on printers or jobs. The implementation is slightly tricky, so I’ll explain the details.


Re-writing hal-cups-utils to avoid hal

Monday, July 20th, 2009

The program that adds printer queues when a USB printer is connected is hal-cups-utils. It is a simple program that hooks into hal, the hardware abstraction layer, and adds/enables/disables CUPS queues as necessary.

As hal will be going away shortly — that, and the fact that hal-cups-utils doesn’t really work very well — I have had a go at re-writing it as a udev rule over the last few days.