Date: Mon, 15 Feb 2016 11:57:23 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207209] textproc/kibana4 Message-ID: <bug-207209-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207209 Bug ID: 207209 Summary: textproc/kibana4 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: aduitsis@gmail.com Hello, May I extend my deepest thanks for making this port available and keeping it updated. I don't know whether this should be classified as a bug relevant to the port, but here goes. Using textproc/kibana43-4.3.1. I've noticed that all the files under /usr/local/www/kibana43/ incl. the directory itself are root:wheel by defau= lt. When trying to use the server.basePath conf directive in kibana.yml (e.g. server.basePath: /kibana4), kibana4 will try to modify files under the /usr/local/www/kibana43/optimize/bundles/ path and possibly other paths. Si= nce kibana4 by default runs as www:www, this is not possible and kibana will no= t be able to start with this error: {"type":"log","@timestamp":"2016-02-14T13:15:04+00:00","tags":["fatal"],"pi= d":52116,"level":"fatal","message":"EACCES, open '/usr/local/www/kibana43/optimize/bundles/kibana.entry.js'","error":{"messa= ge":"EACCES, open '/usr/local/www/kibana43/optimize/bundles/kibana.entry.js'","name":"Error",= "stack":"Error: EACCES, open '/usr/local/www/kibana43/optimize/bundles/kibana.entry.js'\n = at Error (native)","code":"EACCES"}} I was able to workaround by doing=20 chown -R www:www /usr/local/www/kibana43.=20 It may be possible to narrow down the directory even further. Furthermore, permissions for the contents of /usr/local/www/kibana43 are -w= , so a similar error will be logged even if the permissions are correct. So=20 chmod -R u+x /usr/local/www/kibana43=20 did the trick. Again, maybe this could be made even narrower. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207209-13>