--
nicholas cole
total 234
drwx------ 2 courier courier 512 Jul 10 14:32 .
^^^^^^^^^^
Ok, that's a problem, the directory should be mode 755.
You need to investigate why the permissions were set this way. What was
your umask when you did make install?
You might have to rm -rf /usr/lib/courier, then do a make install with your
umask set to 022. You can back up the contents of /usr/lib/courier/etc,
and restore your configuration after the reinstall.
Do those files have the proper owner/perms? And the
closest to strace I have is ktrace, I'm assuming they're
practicially the same thing?
I don't know. The idea is to trace the system calls of a process. If
that's what your ktrace does, then it is. You also need the ability to
automatically trace any created child processes (the -f flag), since the
error will be reported by a child process.
Allright! I was using umask 077, so I rm -rf
/usr/lib/courier again, changed my umask to 022, ran make
install again, and this is what I find in my logs! Still
want me to look around as to why this is going on, or does
the umask explain this?
Jul 10 21:27:39 cornfed courierlocal: ... <te...@cornfed.hidden.net>,success:
Message delivered.
Here's a snip of FreeBSD's ktrace manpage:
The ktrace command enables kernel trace logging for the
specified pro-cesses. Kernel trace data is logged to the
file ktrace.out. The kernel operations that are traced
include system calls, namei translations, signal
processing, and I/O...
And it also has something similar to straces -f option (-d i think)
PS, THANKS!