openpam oddity?

Dag-Erling Smørgrav des at des.no
Sun Dec 18 22:27:28 UTC 2011


Michael Butler <imb at protected-networks.net> writes:
> Any ideas why courier-authdaemon is now reporting ..
>
> authdaemond: in openpam_dynamic(): No error: 0
> authdaemond: in openpam_load_module(): no pam_unix.so found
>
> I've recompiled libpam and courier from scratch :-(

Can you ktrace courier-authdaemon?

# env LD_UTRACE /usr/local/etc/rc.d/courier-authdaemond restart
# ktrace -di -tcntu -p $(cat /var/run/authdaemond/pid)

then reproduce the error, then

# /usr/local/etc/rc.d/courier-authdaemond restart

to stop the trace, and

# kdump >courier-authdaemond-trace.txt

to translate it to human-readable form.  The trace will *not* include
any passwords, just a list of system calls, filename lookups and linker
operations.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list