Jamie Neil's blog

snmpd reports ioctl 35123 returned -1

xen chart The updated version of snmpd in Debian Etch doesn't seem to like our customised vif interfaces names that we're using for Xen hosting. I'm seeing the error "ioctl 35123 returned -1" in syslog every 5 minutes. Reverting to the standard "vifx.y" format fixes the problem.

I started using xen guest names for vif interfaces to allow our graphing system (Cacti) to keep track of which interface matched a particular guest. For example a guest called acme would have an interface called acme.eth0 in the xen host instead of a dynamically generated name like vif14.0. This seemed to be working fine with Sarge, but alas not with Etch. I tried some variations like acme-eth0 and acme.0, but nothing seems to get rid of the error except vifx.y.

Tags: 
Subjects: 

Using Callbacks in RT

We've used Best Practical's Request Tracker (RT) for several years now for managing both customer support queries and our own internal processes, and over that time I've always customised it by simply hacking the existing Mason pages and putting them in rt3/local/ to override the original versions. However this is always a huge pain when it comes to upgrades as I have to backport all my changes to the new version.

Subjects: 

This body part will be downloaded on demand

There seems to be some problem in the way the Thunderbird email client handles certain kinds of attachment which means the message "This body part will be downloaded on demand" is displayed when you try to view a message. We've seen this problem both with VCard attachments (.vcf) generated by Thunderbird when combined with other attachment types, and with certain attachments sent from Microsoft Outlook.

Subjects: 

Cyrus IMAP Indexing

One of Cyrus IMAP's more sophisticated features is the ability to create indexes of messages and mailboxes to allow fast searching of headers and message text.

The indexing is done using squatter, and is best achieved by launching it at regular intervals from cyrus.conf:

Subjects: 

Noisy logging from SASL2 SQL library

There's a bug in the current SASL2 SQL library (libsasl2-modules-sql) which means it logs at debug level all the time, and there's no way of switching it off. This fills up auth.log with junk because the default syslog configuration on Debian logs all auth output including debug which makes logcheck unusable.

Until SASL2 is fixed, the only way I've found to work around this is to reduce the logging level for auth and authpriv to exclude debug messages. For syslog-ng this requires the following change to /etc/syslog-ng/syslog-ng.conf

Subjects: