On Fri, Aug 01, 2008 at 07:07:11PM +0200, Michael wrote:
> Hi,
> 
> after I already stumbled about some other, probably related, issues in 
> sysjail (fixed) and dovecot (reported but not yes fixed) I might have 
> found a similar issue with arpwatch, related to the Berkeley-DB.

Sorry, I don't understand what you mean. Arpwatch doesn't use Berkeley
db at all.

> Arpwatch itself seems to be working fine, I get emails for new stations, 
> and only once, but the arp.dat always stays size 0. After restarting 
> arpwatch I get all new station mails again.

I can't reproduce this. I removed the arpwatch package, the arp.dat*
files, reinstall the package und started arpwatch without any
parameters. Soon I get the first mails. IIRC arpwatch does update the
arp.dat file every 20 minutes. I currently have:

$ ls -l /var/arpwatch
total 580
-rw-r--r--  1 root  wheel     478 Aug  1 22:20 arp.dat
-rw-r--r--  1 root  wheel       0 Aug  1 21:56 arp.dat-
-r--r--r--  1 root  wheel  269902 Aug  1 21:56 ethercodes.dat

Works as expected. Do you run any programs which need your network card
running in promiscuous mode?

I use the arpwatch-2.1a15p0 package, running 4.4-beta on sparc64 here.

> The issue with sparc64 and Berkeley-DB in general is described here:
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=4480

I couldn't find anything about Berkeley db there.

> http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am_misc/align.html
 
> Sadly I am not good enough at C to be able to fix this myself.
> 
> It seems that libdb is producing misaligned values.
> 
> I reproduced it on two different sparc64 machines, one with OpenBSD 4.3 
> and one with 4.4-beta snapshot from 06/22/08, same behaviour.

What do you reproduce? What exactly did you do, what did you get and
what did you expect?

> Would be nice if someone could confirm and maybe help fixing this. :-)
> 
> There might also be more apps in the ports tree that are not working as 
> intended on sparc64...

Regards,
Markus

Reply via email to