Did a portupgrade from arpwatch-2.1.a15 to arpwatch-2.1.a15_2 and afterwards with the a manual restart of arpwatch I got this:
root@superman:~# /usr/local/etc/rc.d/arpwatch.sh restart
Waiting for PIDS: 587 590 593.
arpwatch already running? (pid=44695).
root@superman:~# ps auxwww|grep arpwatch
root 44695 3.7 1.0 3172 2476 p1 S 3:49PM 0:00.20 /usr/local/sbin/arpwatch -i dc0 -f arp.dc0.dat
I have the following in my /etc/rc.conf:
arpwatch_interfaces="dc0 de0 rl0"
Fix: Did a diff to the old arpwatch.sh and created the following patch, now it is working again:
How-To-Repeat: Restart arpwatch with '/usr/local/etc/rc.d/arpwatch.sh restart' or '/usr/local/etc/rc.d/arpwatch.sh stop' and '/usr/local/etc/rc.d/arpwatch.sh start'
Awaiting maintainers feedback
I concur with this patch, please commit.
I'll take it.
clsung 2006-10-04 00:58:55 UTC
FreeBSD ports repository
- make arpwatch work fine with multiple interfaces.
- bump PORTREVISION
Submitted by: Fabian Wenk <fabian_AT_wenks dot ch>
Approved by: maintainer (Thomas Abthorpe)
Revision Changes Path
1.47 +1 -1 ports/net-mgmt/arpwatch/Makefile
1.7 +2 -1 ports/net-mgmt/arpwatch/files/arpwatch.sh.in
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
Committed. Thank You.