Wednesday, February 18, 2009

Tale of two hard drives

My replacement (SATAII) drive is exhibiting strange behaviour.

I installed Fedora 10, and customized it in exactly the same manner as my remaining IDE drive. The difference?

CUPS works flawlessly on my IDE with SELinux enabled and set to Permissive. On the other, CUPS is being blocked from creating files. I tried "enabling" all of the SAMBA options to no effect. Currently SELinux on that drive has been disabled.

If I ever have time, will investigate this mystery.

Other than that, not much to report on. It's hard for me to blog every week when nothing's really changed.

As for SBR600, last week we (as a class) compiled some packages while measuring system activity.

Friday, February 6, 2009

Hard drive dead

Well, it was bound to happen. My old IDE hard drive from way back (actually, 2nd semester) died today. I'm currently updating and customizing Fedora 10.

Will have to complete the process next week (Feb.9).

Here's hoping my remaining IDE drive lasts for the rest of the semester!

Thursday, February 5, 2009

New prm created from cups-pdf

Using the cups-pdf package, I modified the original source code to attempt dynamic output directory usage. So far it hasn't worked.

However, the source and binary do build using rpmbuild -ba.
Testing the source and binary rpm's using rpmlint produces 2 error messages regarding file permissions. I downloaded the official source rpm and tested with rpmlint, getting the exact same error message.

Testing with "mock" worked, as the binary rpm did build from the source.

Tuesday, February 3, 2009

Made my first RPM

Took a long time.

First I tried using a template Spec file, but "rpmbuild" failed on "Source0". After considerable reading, troubleshooting and pondering, figured out the right URL format to allow download of source from the SourceForge site.

Then I was stuck in the middle of the %prep stage. Rpmbuild was trying to change the working directory to something based on the versioning scheme I used. However, since the original source uses a different version number, the build would stop. Once I used the same version number as the source, it worked.

The source RPM is here:filezilla-3.1.5.1-1.fc10.src.rpm