Trouble getting a core dump from clamd

Doug Poland doug at polands.org
Thu Jan 21 01:18:31 UTC 2010


On 2010-01-20 17:11, Boris Samorodov wrote:
> On Wed, 20 Jan 2010 15:24:51 -0600 Doug Poland wrote:
>
>> % sysctl -a | grep core
>> kern.corefile: /var/coredumps/%U/%N.core
>
> As CORE(5) says %U is a UID...
>
>> % touch /var/coredumps/file
>> % ll !$
>> ll /var/coredumps/file
>> -rw-r--r--  1 doug  wheel  0 Jan 20 15:13 /var/coredumps/file
>
> ... so you should have a directory /var/coredumps/<UID>  owned by
> (well, at least have permissions to write by) this UID.
>
That was it, thanks for the keen vision!

-- 
Regards,
Doug


More information about the freebsd-questions mailing list