[Bug 337130] New: arpwatch ignores second interface
https://bugzilla.novell.com/show_bug.cgi?id=337130 Summary: arpwatch ignores second interface Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Minor Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: EGauselmann@beit.de QAContact: qa@suse.de Found By: --- arpwatch invoked as /usr/sbin/arpwatch -N -i eth0 -i tr0 ignores interface eth0. It only watches tr0. If I exchange the interfaces in /etc/sysconfig/arpwatch so it reads ARPWATCH_INTERFACE="tr0 eth0" then the running daemon only watches eth0. Only the last "-i ifX" seems to survive. This worked ok in openSUSE 10.2 so I took the binary /usr/sbin/arpwatch from 10.2 but funny enough that didn't work either! Might be one of the dependant libraries? ldd shows linux-gate.so.1, libresolv.so.2, libpcap.so.0 and libc.so.6 and ld-linux.so.2 but I didn't try further. Instead as a workaround I modfied the start/stop script to invoke arpwatch for each interface configured with additional "-f arp.ifX.dat" flag which works fine. Part of /etc/init.d/arpwatch now reads ----8<---- if [ -n "$ARPWATCH_INTERFACE" ]; then for ifX in $ARPWATCH_INTERFACE; do $ARPWATCH $ARPWATCH_ARGS -f arp.$ifX.dat -i $ifX rc_status -v done else startproc $ARPWATCH $ARPWATCH_ARGS rc_status -v fi ----8<---- and "ps ax|grep arpwatch" shows it running twice: /usr/sbin/arpwatch -N -f arp.eth0.dat -i eth0 /usr/sbin/arpwatch -N -f arp.tr0.dat -i tr0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=337130 Martin Mrazik <mmrazik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmrazik@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |draht@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=337130 User draht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=337130#c1 Roman Drahtmueller <draht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Roman Drahtmueller <draht@novell.com> 2008-11-12 03:33:03 MST --- Fixed for 11.1 and SLE11. Thank you for the report! *** This bug has been marked as a duplicate of bug 149003 *** https://bugzilla.novell.com/show_bug.cgi?id=149003 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com