[Bug 218159] ports-mgmt/pkg: pkg --chroot fails to run post install script (no longer chrooted?)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 28 21:03:00 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218159
Josef Karthauser <joe at truespeed.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|Works As Intended |---
Status|Closed |In Progress
--- Comment #2 from Josef Karthauser <joe at truespeed.com> ---
Sorry - you are right I wrongly reported it was a chroot option problem. Mea
culpa. I was trying lots of things and it was late when I raise the bug.
However, the install still fails with rootdir which is what I was reporting
(although I thought it was a chroot issue):
[1/1] Extracting influxdb-1.1.0: 100%
cp: /usr/local/etc/influxd.conf.sample: No such file or directory
pkg: POST-INSTALL script failed
It looks like the POST-INSTALL script isn't being run in the context of the
rootdir, which looks like an issue to me.
(p.s. the reason I can't run -j is that the jail doesn't have network
connectivity to the outside world - it's a vimage jail. Similarly running
chromed doesn't work because it switches to using the resolv.conf within the
chromed environment which isn't configured for the public network).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list