==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=8126
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
--- Comment #5 from mab974 <[email protected]> ---
Created attachment 4950
--> http://bugs.contribs.org/attachment.cgi?id=4950&action=edit
/var/log/messages (test-case)
VERiFying Bug 8126 - If you have the contrib OpenVPN will not assign the
correect interface
= Environment:
Clean installation of SME 8.1
Installation Arpwatch as per wiki (expand-template+start)
[root@sme864bug ~]# ps axf | grep arp
3947 pts/1 S+ 0:00 | \_ grep arp
3944 ? S 0:00 arpwatch -i eth0 -f /var/lib/arpwatch/arp.dat -u
pcap -e root -s Arpwatch
------>[OK]
Installation smeserver-openvpn-bridge as per wiki
signal-event post-upgrade; signal-event reboot
= Original problem:
[root@sme864bug ~]# ps axf | grep arp
3947 pts/1 S+ 0:00 | \_ grep arp
-------> [not OK !!!]
[root@sme864bug ~]# cat /etc/sysconfig/arpwatch
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
# -u <username> : defines with what user id arpwatch should run
# -e <email> : the <email> where to send the reports
# -s <from> : the <from>-address
OPTIONS="-i eth0 -f /var/lib/arpwatch/arp.dat -u pcap -e root -s 'Arpwatch'"
-------> [not OK !!!] should be br0 rather than eth0
[root@sme864bug ~]# ifconfig -a
bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
br0 Link encap:Ethernet HWaddr 08:00:27:E0:CC:7B
inet addr:192.168.77.1 Bcast:192.168.77.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:6103 (5.9 KiB)
eth0 Link encap:Ethernet HWaddr 08:00:27:E0:CC:7B
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:3534 (3.4 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:10:02:26
inet addr:192.168.100.151 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1467 errors:0 dropped:0 overruns:0 frame:0
TX packets:1630 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:331092 (323.3 KiB) TX bytes:129393 (126.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:603 errors:0 dropped:0 overruns:0 frame:0
TX packets:603 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48967 (47.8 KiB) TX bytes:48967 (47.8 KiB)
tap0 Link encap:Ethernet HWaddr B6:48:BD:56:8F:33
UP BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root@sme864bug ~]# expand-template /etc/sysconfig/arpwatch
[root@sme864bug ~]# cat /etc/sysconfig/arpwatch
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
# -u <username> : defines with what user id arpwatch should run
# -e <email> : the <email> where to send the reports
# -s <from> : the <from>-address
OPTIONS="-i br0 -f /var/lib/arpwatch/arp.dat -u pcap -e root -s 'Arpwatch'"
[root@sme864bug ~]# /etc/init.d/arpwatch start
Starting arpwatch: [ OK ]
[root@sme864bug ~]# ps axf | grep arp
3947 pts/1 S+ 0:00 | \_ grep arp
3944 ? S 0:00 arpwatch -i br0 -f /var/lib/arpwatch/arp.dat -u pcap
-e root -s Arpwatch
[root@sme864bug ~]#
---->[repeats at each use of signal-event post-upgrade + reboot]
--->[log file attached : /var/log/messages]
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/