On 1/14/2015 9:47 AM, Predrag Punosevac wrote:
and I ran
the chroot enable script from rrdtool.

As documented in the rrdtool pkg-readme, you must do:
/usr/local/share/examples/rrdtool/rrdtool-chroot enable

You should look under /usr/local/share/doc/pkg-readmes/, it comes with a
*lot* of OpenBSD specific information..

Thanks. I did run rrd-chroot enable, and changed rrdtool_path in setup.inc to /usr/local/bin/rrdtool (which is where rrdtool-chroot copies it in the chroot). Even with that, nothing worked until I coincidentally copied /bin/sh to the chroot.

Maybe $this->exec($cmdline) in php (class_rrdtool.inc line 103) requires sh? But that wouldn't explain if it works for everyone else.

Reply via email to