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

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

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

Robin Sommer commented on BIT-1047:

That sounds quite cumbersome to track. Also people already risk their
stuff being overwritten whenever there's something with the same name
in the distribution (i.e., this is only about someone adding news
files; if he's editing existing files, he'll already loose it).

Also note that this applies only to source installs; people installing
from packages (including security onion) won't be affected.

One precaution we could take is making the installation directory
read-only so that if somebody started editing stuff in there, he'd at
least need to override that.

I think overall my preference here is making sure "make install" works
reliably and produces consistent results over saving people who edited
stuff they shouldn't ...

> 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