[Bro-Dev] #716: BroControl: Improve installation when changing Spool directory location

Bro Tracker bro at tracker.bro-ids.org
Sun Dec 11 21:16:06 PST 2011


#716: BroControl: Improve installation when changing Spool directory location
----------------------+------------------------
 Reporter:  eddyg     |       Type:  Patch
   Status:  new       |   Priority:  Low
Milestone:  Bro2.0    |  Component:  BroControl
  Version:  2.0 Beta  |   Keywords:
----------------------+------------------------
 When changing the spool directory location, most likely at installation
 time BroControl should create the directories that it depends upon when it
 needs them. In this case it is in three places, I have modified the code
 at those places rather than "at the top" mainly due to inexperience with
 the code base, feel free to suggest a better location.

 Changes:
 * Changed locking code to create the spool dir if required to help with
 initial install and new spool directories.
 * Changed cron HTTP stats code to create the statsdir if required
 * Changed the Df code to silently handle missing directories at install,
 they will be created later.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/716>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list