[Bro-Dev] #293: scripts/local-interfaces cannot find ifconfig
Bro Tracker
bro-dev at bro-ids.org
Sat Oct 30 13:25:14 PDT 2010
#293: scripts/local-interfaces cannot find ifconfig
---------------------+------------------------------------------------------
Reporter: vallenti | Owner: robin
Type: Problem | Status: new
Priority: Normal | Component: BroControl
Version: 1.5.1 | Keywords:
---------------------+------------------------------------------------------
Comment(by robin):
> Is `local-interfaces` used somewhere other than in `debug.log`? Or put
differently, does it matter if this command fails?
It's used to figure out what the local IPs are, which in turn is used to
determine whether the script is running on the manager. If you see nothing
that's obviously failing, you should be fine.
> Annoyingly, this is the case here. On Linux, `/usr/bin/env bash` is not
a login shell and hence does not source `/etc/profile`, which usually
extends `$PATH` with the various `**/sbin` directories.
Hmmm…. Perhaps broctl should just add */sbin to its standard PATH in any
case.
--
Ticket URL: <http://tracker.icir.org/bro/ticket/293#comment:3>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list