Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667214 - www-apps/kibana-bin: qa/optimize improvements
Summary: www-apps/kibana-bin: qa/optimize improvements
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-09-28 10:21 UTC by Tomáš Mózes
Modified: 2019-04-25 13:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2018-09-28 10:21:48 UTC
1) mgorny - https://github.com/gentoo/gentoo/pull/9892
 * QA Notice: Files built without respecting CFLAGS have been detected
 *  Please include the following list of files in your report:
 * /opt/kibana/node_modules/clipboardy/fallbacks/linux/xsel

2) mrueg - @proxy-maint
<mrueg> it looks like kibana runs an optimize for their js bundle stuff during startup
<mrueg> there's an optimize folder in /opt/kibana that it needs to write to
<mrueg> it might not be a problem in a default install, but with plugins this causes some headache
<mrueg> since /opt/kibana/optimize is root:root
<mrueg> would it be possible to create a /var/lib/kibana/optimize with kibana:kibana and symlink it to this one?
<hydrapolic> mrueg, which version of kibana-bin are you talking about?
<hydrapolic> 6.4?
<mrueg> hydrapolic: 6.3.2 currently
<mrueg> but it should be valid for 6.4 as well
<hydrapolic> how do you reproduce and what is the error?
<mrueg> https://github.com/elastic/kibana/blob/f5d44f6d9fe83f9c91377b34b991f296591f6d56/docs/plugins.asciidoc#installing-plugins-with-linux-packages
<mrueg> we've some kibana plugins packaged internally as ebuilds, dropping files in the plugin folder
<mrueg> what kibana does on the first run is to run the optimize step which includes the plugins in /optimize
<mrueg> their "solution" is to chown -R kibana:kibana /path/to/kibana/optimize
<mrueg> which I would like to avoid, at least my gut feeling is applications shouldn't write to /opt
<hydrapolic> are there any free plugins I can test this on?
<mrueg> hydrapolic: you could try installing x-pack via the plugin https://www.elastic.co/guide/en/kibana/current/install-plugin.html#_installing_plugins_with_linux_packages
<mrueg> or this plugin: https://github.com/floragunncom/search-guard-kibana-plugin
<hydrapolic> well x-pack seems special as they released it included already
<mrueg> well USE="-x-pack" and then install the xpack after
Comment 1 Larry the Git Cow gentoo-dev 2018-11-10 20:57:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4247887f6386d2da8013dab7eff21d8c4e5cbaad

commit 4247887f6386d2da8013dab7eff21d8c4e5cbaad
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2018-11-09 10:58:53 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-11-10 20:56:45 +0000

    www-apps/kibana-bin: bump to 5.6.13
    
    Bug: https://bugs.gentoo.org/667214
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-apps/kibana-bin/Manifest                 |  1 +
 www-apps/kibana-bin/kibana-bin-5.6.13.ebuild | 70 ++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2019-04-25 13:36:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfb8d4d0681f719a67e0b566a8be346c4fe456be

commit bfb8d4d0681f719a67e0b566a8be346c4fe456be
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2019-04-19 22:13:15 +0000
Commit:     Manuel Rüger <mrueg@gentoo.org>
CommitDate: 2019-04-25 13:36:34 +0000

    www-apps/kibana-bin: bump to 7.0.0
    
    Closes: https://bugs.gentoo.org/667214
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Manuel Rüger <mrueg@gentoo.org>

 www-apps/kibana-bin/Manifest                |  2 +
 www-apps/kibana-bin/kibana-bin-7.0.0.ebuild | 88 +++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af04ccfe5a796e90fbc804ef1451ea24a017963

commit 8af04ccfe5a796e90fbc804ef1451ea24a017963
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2019-04-19 22:12:23 +0000
Commit:     Manuel Rüger <mrueg@gentoo.org>
CommitDate: 2019-04-25 13:36:32 +0000

    www-apps/kibana-bin: bump to 6.7.1
    
    Closes: https://bugs.gentoo.org/667214
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Manuel Rüger <mrueg@gentoo.org>

 www-apps/kibana-bin/Manifest                |  2 +
 www-apps/kibana-bin/kibana-bin-6.7.1.ebuild | 86 +++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)