Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 174887

Summary: arpwatch has confilcting variables in conf.d and init.d files
Product: Gentoo Linux Reporter: Rob <RaSTuS.Rob>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rob 2007-04-17 09:24:05 UTC
ebuild: net-analyzer/arpwatch-2.1.15-r4
* In /etc/conf.d/arpwatch there is a variable called 'IFACES' while the corresponding variable in /etc/init.d/arpwatch is named 'IFACE'.

workaround:
* Renamed variable /etc/conf.d/arpwatch 'IFACES' to /etc/conf.d/arpwatch 'IFACE'.

Reproducible: Always

Steps to Reproduce:
1.ACCEPT_KEYWORDS=~x86 emerge net-analyzer/arpwatch
2.Check variables mentioned in 'Description'.
3.

Actual Results:  
as per 'Description'.
Comment 1 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-04-17 09:49:16 UTC
Thanks for the report, but there is no bug in it since IFACES may contain several interfaces.

IFACE is only a local variable which you don't want to modify. See:

start() {
        for IFACE in ${IFACES}
        do
        (stuff...)
        done
}


at home i use IFACES="eth0 eth1 eth2" in /etc/conf.d/arpwatch

Closing as Invalid, feel free to reopen if you disagree
Comment 2 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-04-17 11:13:56 UTC
*** Bug 174900 has been marked as a duplicate of this bug. ***