[Bug 267914] www/grafana9: Grafana does not start at system startup
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 267914] www/grafana9: Grafana does not start at system startup"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Nov 2022 11:21:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267914 --- Comment #3 from Jony Hudson <bsd@j-star.org> --- Ahh, I hadn't seen https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263760 . I'm also running it in a jail, so it does look like it could be something jail specific. This reproduces for me, without using any jail management tools other than in the base system: uname -a # FreeBSD pop-bsd 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64 sudo zfs create zroot/jails/grafana-test # Empty root password, nothing but base installed, no services, no users: sudo bsdinstall jail /usr/jails/grafana-test sudo sysrc -f /usr/jails/grafana-test/etc/rc.conf sendmail_enable="NONE" sudo cp /etc/resolv.conf /usr/jails/grafana-test/etc/resolv.conf sudo sh -c 'cat << EOF >> /etc/jail.conf grafana-test { host.hostname = grafana-test.j-star.org; ip4.addr = hn0|10.0.0.199/24; path = /usr/jails/grafana-test; mount.devfs; exec.clean; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; } EOF' sudo service jail start grafana-test sudo pkg -j grafana-test install grafana9 sudo jexec grafana-test service grafana enable sudo jexec grafana-test service grafana start # Grafana is running as expected at this point sudo service jail restart grafana-test # Grafana has not restarted -- You are receiving this mail because: You are the assignee for the bug.