[Bro-Dev] #902: Error loading __load__.bro/main.bro if dir containing these scripts is not in the site directory

Bro Tracker bro at tracker.bro-ids.org
Wed Oct 17 12:54:48 PDT 2012


#902: Error loading __load__.bro/main.bro  if dir containing these scripts is not
in the site directory
----------------------+------------------------
  Reporter:  aashish  |      Owner:
      Type:  Problem  |     Status:  new
  Priority:  Normal   |  Milestone:  Bro2.2
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:
----------------------+------------------------

Comment (by jsiwek):

 In [f71f50d9d14d43ff547c0891377d0d630d0b61b3/broctl]:
 {{{
 #!CommitTicketReference repository="broctl"
 revision="f71f50d9d14d43ff547c0891377d0d630d0b61b3"
 Fix `broctl install` to now also copy subdirs of dirs in SitePolicyPath.

 Paths in SitePolicyPath were expected to be a flat directory of bro
 scripts, so adding a new path to the default SitePolicyPath and then
 adding bro script "module" directories to it would not be correctly
 installed by BroControl.  Instead of silently ignoring subdirs
 inside a path in SitePolicyPath, the install command now recursively
 copies them to the right place.

 Addresses #902.
 }}}

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/902#comment:1>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list