Paul's Blog Entries for June 2006

Thursday 1st June 2006

Fuel Prices

Filled up the Micra at Sainbury's at Cheadle Royal. Petrol was 91.9p a litre, diesel 94.9p a litre. These are around 3p a litre cheaper than any other station that I visit regularly or pass on my usual travels. I wonder why that is?

Local Packages

Mail Server

I've been looking at my mail server configuration, trying to find out why so much spam was getting through, particularly for the MCIVTA rôle accounts. Turns out I still hadn't re-enabled spamass-milter after the reinstall I did for Fedora Core 5! I was passing my own mail through spamassassin via procmail anyway, so I still got some spamd log entries, which threw me off the scent. I'd turned off the milter because the load was killing my cripped post-upgrade system. In order to reduce the load in the future, I've whitelisted the Red Hat server that delivers most of the mailing list messages, so those won't go through spamassassin.

Fedora QA

Submitted missing buildreq bug-and-fix for SDL and clearsilver (not actually a missing buildreq issue).

Friday 2nd June 2006

Fedora Extras

Local Packages

Sunday 4th June 2006

Leon

We have now declared Leon officially mobile. Whilst he could roll about to get where he wanted to go already, and had a bit of a shuffling thing going, it was all rather uncontrolled and he would get to his destination more by chance than by design. He's now got a technique that resembles that of a seal flopping itself forward. It's not real crawling - though I'm sure that will come soon - but it gets him where he wants to go in a reasonably direct way.

Monday 5th June 2006

Local Packages

Fedora QA

Tuesday 6th June 2006

Local Packages

Fedora QA

Wednesday 7th June 2006

Local Packages

Server Outage

Had a brief server outage today. My ADSL line went down, and the usual watchdog script failed to bring it back up. This turned out to be because the pppd log file was configured to be in /var/log instead of /var/log/ppp, which SELinux wasn't happy with, resulting in pppd failing to start up again. It shows how reliable the ADSL link has been though, as I've had SELinux in enforcing mode for at least a week now and this must have been the first time it had been down since then.

Wiki

Turned off the httpd_unified SELinux boolean and fixed the resulting wiki breakage. Since it's now running using mod_fcgid in the httpd_fastcgi_script_t domain, the standard httpd_sys_* domains are no longer accessible. Changed the context types of the wiki directory to the httpd_fastcgi_* equivalents and added a couple of policy rules to allow httpd_fastcgi_script_t to search httpd_sys_* directories (since the wiki lives in the same directory hierarchy as regular CGI scripts). All is now well again.

In fact I've now gone further and split off the FastCGI parts of my local apache policy into their own separate FastCGI policy, and added some equivalent stuff from the regular apache policy that gives capabilities to system scripts, such as accessing a MySQL database. I'll probably bundle that into my mod_fcgid package along with a quick example of how to get moin running under SELinux and FastCGI, then submit it for Fedora Extras,

Thursday 8th June 2006

Local Packages

Wiki

Finally figured out why the !UserPreferences/Login feature wasn't working as intended on this wiki. The default theme (monobook) includes a custom username method that's based on older code. Patching the theme to use a slightly-tweaked version of the base class fixed it, si I'll now revert all the changes I made to make logging in easier.

Fedora QA

Friday 9th June 2006

Local Packages

SELinux

Saturday 10th June 2006

Allotment

The early potatoes aren't doing terribly well this year. About half of the Lady Cristl plot has died off, and although the Arran Pilot plants seem to be thriving, the one I dug up today had only a few very small tubers. I'll be leaving them there for at least another two weeks now.

Monday 12th June 2006

Local Packages

Fedora QA

Tuesday 13th June 2006

Local Packages

Wednesday 14th June 2006

Local Packages

Thursday 15th June 2006

Local Packages

Friday 16th June 2006

Fedora Extras

Saturday 17th June 2006

Fedora Extras

Sunday 18th June 2006

Fedora Extras

Monday 19th June 2006

Wiki

Fedora Extras

Tuesday 20th June 2006

Local Packages

Wednesday 21st June 2006

Local Packages

Thursday 22nd June 2006

Fedora Extras

The version of mock in Extras was updated to the new version, 0.6. This version does away with using comps style groups for populating the buildroot (at least by default), and introduces the use of a buildsys-build package, which is basically empty but has dependencies on all of the packages required for the buildroot. The default list of dependencies is much smaller than with the previous mock release, basically lining up with the BuildRequires Exceptions List from the Packaging/Guidelines, which is good.

In addition to using mock to test-build packages for Extras, I also use it to build packages for old distributions. There are some problems to be overcome to do this though.

I have built buildsys-build and buildsys-macros packages for Red Hat Linux 7 to 9, Fedora Core 1 to 5, and they are available in my local repository.

Friday 23rd June 2006

Local Packages

Monday 26th June 2006

Local Packages

Fedora QA

Fedora Extras

Tuesday 27th June 2006

Local Packages

Not a good day from a QA point of view.

There's a new release of dkms (2.0.12), but the upstream spec file wants to package a README.dkms that's not included in the tarball.
Update: This has since been fixed by releasing an updated tarball.

There's also a new release of bittorrent (4.20.1) but the curses client doesn't work:

$ bittorrent-curses bordeaux-DVD-x86_64.torrent
bittorrent-curses.py After import _
bittorrent-curses.py after imports
bittorrent-curses.py __main__
bittorrent-curses.py parse_confi...: uiname= bittorrent-curses
bittorrent-curses.py: create CursesTorrentApp
> /usr/bin/bittorrent-curses(397)__init__()
-> assert isinstance(metainfo, ConvertedMetainfo )
(Pdb)
Traceback (most recent call last):
  File "/usr/bin/bittorrent-curses", line 588, in ?
    app = CursesTorrentApp(metainfo, config, errlist)
  File "/usr/bin/bittorrent-curses", line 397, in __init__
    assert isinstance(metainfo, ConvertedMetainfo )
  File "/usr/bin/bittorrent-curses", line 397, in __init__
    assert isinstance(metainfo, ConvertedMetainfo )
  File "/usr/lib/python2.4/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.4/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
bdb.BdbQuit

... and neither does the GUI:

$ bittorrent
Traceback (most recent call last):
  File "/usr/bin/bittorrent", line 75, in ?
    from BitTorrent.platform import os_version, is_frozen_exe, win_version_num
ImportError: cannot import name win_version_num

It'd be nice if upstream shipped a changelog, responded to bug reports like they used to do, etc. I get the impression they only try things on Windoss before issuing releases these day.

Fedora Extras

Wednesday 28th June 2006

Local Packages

Fedora Extras

Thursday 29th June 2006

Local Packages

Job

Fedora QA

Friday 30th June 2006

Local Packages

Fedora QA

Previous Month: May 2006
Next Month: July 2006