Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2017 21:02:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 218159] ports-mgmt/pkg: pkg --chroot fails to run post install script (no longer chrooted?)
Message-ID:  <bug-218159-32340-9mMjl9OPKE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218159-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218159-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218159

Josef Karthauser <joe@truespeed.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|Works As Intended           |---
             Status|Closed                      |In Progress

--- Comment #2 from Josef Karthauser <joe@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218159-32340-9mMjl9OPKE>