Bug#342104: strange mysql bug, possibly thread related
> I've installed libc 2.3.1+kbsd.13 (alongside kfreebsd-image 5.4-8)
> and mysql works ok.
> Indeed, and amavis=>clamd works, too :)
I played with it and the reason seems related to
thread signaling AND setuid()/setgid() calls.
Robin, Konstantinos, please, can you test to change
user of mysql and clamd to root ?
After that, it should work with latest glibc.
Given it helps also for you:
There is a exception granted for SIGUSR1 and SIGUSR2,
but not for our current thread signals.
Details in kernel sources, sys/kern/kern_prot.c, function
int cr_cansignal(struct ucred *cred, struct proc *proc, int signum)
Already fixed in FreeBSD 6.0, suggested patch for package kfreebds-5: