Mozmill 1.5.8 has been released

The final bits of Mozmill 1.5.8 are now available through Pypi. Install or upgrade Mozmill by running:
pip install --upgrade mozmill==1.5.8

We had to release this version to fix a recent regression which has been identified in Mozmill 1.5.7, and which caused a hard-stop when an user restart has been requested. The issue did only exist on OS X.

Beside this fix we now enabled the new boolean preference called ‘focusmanager.testmode’ by default. It will allow us to run multiple Mozmill tests concurrently on the same machine. Support for the focusmanager testing mode has already been made available on Nightly and Aurora builds. Also there is a good chance to get this patch landed in an upcoming Firefox 10.0.1 release. I will follow-up with another blog post with more details once the final landing has happened and we can actually make use of it across our supported branches.

Suppress socket warnings when using rdiff-backup

Since I have been using rdiff-backup to backup my Xen domU machines, I get a daily message from cron which informs me that some sockets couldn’t be backed-up because the path is too long:

SpecialFileError var/spool/postfix/public/flush Socket error: AF_UNIX path too long

After some digging I have found that this is related to the length limitation of the AF_UNIX constant in one of the kernel header files, and which only allows 107 characters. Depending on where you want to backup to the length can exceed.

The solution is simple. Why do you want to backup sockets at all? Those are bound to the current system and will be executed when an application gets started. So I don’t see a reason to backup those files. Therefor just use the –exclude-sockets option for rdiff-backup.

Please note that you will have to run rdiff-backup twice before the failure message from above will no longer appear.