[Bro-Dev] [JIRA] (BIT-1047) Delete old scripts before installing new ones

Robin Sommer (JIRA) jira at bro-tracker.atlassian.net
Tue Jul 30 08:12:06 PDT 2013


    [ https://bro-tracker.atlassian.net/browse/BIT-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403#comment-13403 ] 

Robin Sommer commented on BIT-1047:
-----------------------------------





Seth had one: somebody was loading one of the old scripts in
local.bro. However, the error message was suggesting that the old
script itslef had a problem because that's where teh error eas
encountered (a record field had went away so that script didn't work
anymore). If we had deleted the old script, it would have been clear
that local.bro needs updating.

More generally, not cleaning up leaves the install directory quite
messy over time. If somebody wanted to understand what scripts Bro
uses (or just what's available, sya in policy/), that could get quite
confusing.

Robin

                
> Delete old scripts before installing new ones
> ---------------------------------------------
>
>                 Key: BIT-1047
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1047
>             Project: Bro Issue Tracker
>          Issue Type: Improvement
>          Components: Bro
>            Reporter: Robin Sommer
>             Fix For: 2.2
>
>
> People keep having problems when they install a new Bro version 
> over the installation of an old one because scripts that have disappeared in the new version will keep sticking around from the previous installation. 
> We should simply remove the old scripts/base and scripts/policy before installing anything new. People aren't supposed to edit in there so that should be safe.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://bro-tracker.atlassian.net/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the bro-dev mailing list