Picture of Jürgen Kreileder

Archive for the ‘Linux’ Category

cyrus_sasl patch for Exim 4

The Exim 4 source code supports authentication with SASL since version 4.43. Debian started enabling this feature in exim4_4.50-2. After I’ve had upgraded to that version and replaced my saslauthd authenticators with brand-new cyrus_sasl authenticators, I’ve noticed that auth.log got flooded with entries like ‘exim4: OTP unavailable because can't read/write key database /etc/opiekeys: No such file or directory.’

My exim configuration uses three different cyrus_sasl authenticators and each exim invocation resulted in three of these OTP warnings because exim calls sasl_listmech() for each configured authenticator. It doesn’t specify a limiting mech_list, that means SASL will test which of all installed mechs actually can be used for authentication. Debian’s SASL package includes libotp.so, so it also tries to use OTP which is not configured on my system.

There are two ways to get rid off the warnings:

  • Remove /usr/lib/sasl2/libotp.*. You’ll have to do this after each upgrade of the libsasl2-modules package.
  • Rebuild exim with this patch. The patch specifies a limiting mech_list option for SASL. This limits sasl_listmech() to the mechs used in the exim configuration. Other mechs won’t be tried anymore.

May 3rd, 2005: A slightly modified version of the patch has been integrated into Exim CVS and will be included in the next Debian release of exim4 (see Debian bug #299743)

32-bit compat patch for inotify-0.21

The inotify API has been changed, watches are now added via the file’s fd. That makes the 32-bit compat patch pretty trivial:
inotify-0.21-compat.patch

March 18th, 2005: The patch has been integrated into inotify 0.21-2

evdev compat patch now in -mm kernel

My 32-bit compat patch for evdev has been integrated into Linux 2.6.11-mm3.

Linux on POWER Contest

IBM has launched another PowerPC porting contest. You can win Segways, G5s, and cash. I think the list of requested tier 2 and 3 ports is a bit ridiculous, it includes:

  • Shell scripts which need no porting at all
  • Stuff that already works on ppc32 and ppc64
  • Windows applications which will be quite hard to port
  • Wine, which won’t work without an x86 emulator (AFAIK some Windows programs already work with Wine and qemu)

Adobe Reader 7 for Linux

Adobe just released Acrobat Reader 7 for Linux (download here).

Unfortunately it’s still x86-only — no AMD64 or PowerPC versions are available. Linux users on non-x86 architectures maybe should send them feature requests and bug reports until they extend their support to those architectures.