[Bro-Dev] [JIRA] (BIT-1308) Add /opt/bro/bin to $PATH in RPM

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Mon Oct 19 13:07:00 PDT 2015

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

Johanna Amann commented on BIT-1308:

Sorry for the long reply times. Not having Bro automatically added to the path actually was a conscious decision due to several reasons.

First -- if users install the packages for bro-nightly and bro simultaneously, it is unclear which one would end up in the path (they are designed in a way that the packages can be installed simultaneously). Furthermore, it often only is desired to have the bro binaries accessible by the user that actually runs Bro --- some of the binaries contained in the distribution (like broctl) are also only runnable as root.

If you think there is a reason to add it, please let me know - I am going to close this for now :)

> Add /opt/bro/bin to $PATH in RPM
> --------------------------------
>                 Key: BIT-1308
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1308
>             Project: Bro Issue Tracker
>          Issue Type: New Feature
>          Components: Bro
>    Affects Versions: 2.3
>         Environment: CentOS 6
>            Reporter: Richie B.
> In the Bro documentation, the first step after installing the Bro RPM is to add /opt/bro/bin to your $PATH. This can easily be done automatically by adding a file /etc/profile.d/bro.sh in the Bro RPM that contains:
> pathmunge /opt/bro/bin

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list