[Bug 263760] www/grafana8: Fails to start automatically inside a jail, manual start works

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 May 2022 19:03:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263760

            Bug ID: 263760
           Summary: www/grafana8: Fails to start automatically inside a
                    jail, manual start works
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: t.tom@succont.de
                CC: drtr0jan@yandex.ru
             Flags: maintainer-feedback?(drtr0jan@yandex.ru)
                CC: drtr0jan@yandex.ru

I'm running Grafana 8.4.7 inside a jail. When the jail restarts grafana is not
started automatically. The grafana.log file only reports the shutdown, nothing
on the start of the jail.

If I start the grafana service manually it works fine.

Here is my configuration:

root@grafana:~ # pkg info | grep grafana
grafana8-8.4.7                 Dashboard and graph editor for multiple data
stores
root@grafana:~ # sysrc grafana_enable
grafana_enable: YES

Steps to reproduce it:

tobias@kahlo:~ % sudo bastille cmd grafana service grafana status
[grafana]:
grafana is running as pid 7723.
[grafana]: 0

tobias@kahlo:~ % sudo bastille restart grafana
[grafana]:
grafana: removed

[grafana]:
grafana: created

tobias@kahlo:~ % sudo bastille cmd grafana service grafana status
[grafana]:
grafana is not running.
[grafana]: 1

tobias@kahlo:~ % sudo bastille cmd grafana service grafana start
[grafana]:
Starting grafana.
[grafana]: 0

tobias@kahlo:~ % sudo bastille cmd grafana service grafana status
[grafana]:
grafana is running as pid 8166.
[grafana]: 0

Anything else I can help to debug this issue? 

Thanks.
Tobias

-- 
You are receiving this mail because:
You are the assignee for the bug.