[Bro-Dev] [JIRA] (BIT-1166) installation does not take place in given prefix entirely

grigorescu (JIRA) jira at bro-tracker.atlassian.net
Mon Jul 7 06:56:10 PDT 2014


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

grigorescu commented on BIT-1166:
---------------------------------

After some off-list e-mails, the conclusion reached was:

* broctl's CMakeList will install files in /var/opt/bro if the prefix is not /usr and the OS is not OS X.
* This is in line with [FHS|http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard#Directory_structure].
* Modifying this behavior would be a breaking change for many places, but we could introduce a configure option to override the location of the directory.

Personally, I build packages to install Bro, and these are the default paths in packages. I've had to work around core dumps running /var out of disk space, since the partitioning scheme didn't leave much room in /var. Having such an option would be useful for me, at least, but it's not immediately clear to me how trivial of a change this would be.

> installation does not take place in given prefix entirely
> ---------------------------------------------------------
>
>                 Key: BIT-1166
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1166
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro, BroControl
>    Affects Versions: git/master
>            Reporter: Matthias Vallentin
>              Labels: build
>
> When configuring Bro to remain in a given prefix, say {{/opt/bro}}, the installation of BroControl still attempts to create a spool directory outside of the prefix:
> {code}
> ./configure --prefix=/opt/bro
> make
> make install
> [...]
> CMake Error at aux/broctl/cmake_install.cmake:200 (FILE):
>   file cannot create directory: /var/opt/bro/spool.  Maybe need
>   administrative privileges.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3-OD-08-005-WN#6328)


More information about the bro-dev mailing list