Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174887 - arpwatch has confilcting variables in conf.d and init.d files
Summary: arpwatch has confilcting variables in conf.d and init.d files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 174900 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-17 09:24 UTC by Rob
Modified: 2007-04-17 11:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***