The problem - at a first guess - will be somewhere in the config file parsing code or thereabouts. By the time syslog-ng gets to call fchown(), the file mode is set to a horribly wrong value:
> #1 0x0000000000434d66 in affile_open_file (name=0x68e030 "/var/log/syslog", > flags=33285, uid=0, gid=4, mode=65535, dir_uid=0, dir_gid=0, dir_mode=65535, > create_dirs=0, privileged=0, is_pipe=0, > fd=0x7fffffffddbc) at affile.c:101 > 101 fchmod(*fd, (mode_t) mode); > Current language: auto > The current source language is "auto; currently c". If one looks at the parameters passed to affile_open_file, one can notice that both mode and dir_mode are wrong. They're actually (int16_t)-1. This is on kfreebsd-amd64, so it looks like it's kfreebsd specific, and the arch doesn't matter. I will know more once I dived deeper in. With a bit of luck, I'll have a fix sometime tomorrow, unless someone beats me to it. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org