| Summary: | Environment variable JAIL causes pkg -j to malfunction | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Richard Smith <bugs> |
| Component: | Ports Framework | Assignee: | Mark Linimon <linimon> |
| Status: | Closed Feedback Timeout | ||
| Severity: | Affects Some People | ||
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
where does that " jexec: jail "test" not found" pkg is not issuing such error message, neither does libjail which is what pkg uses Can you show me the output of: env JAIL=test pkg -o DEBUG_SCRIPTS=true -j test install webp # env JAIL=ballet pkg -o DEBUG_SCRIPTS=true -j ballet install webp Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: webp: 1.2.1 Number of packages to be installed: 1 The process will require 3 MiB more space. Proceed with this action? [y/N]: y [ballet.motoko.rdls.net] [1/1] Installing webp-1.2.1... [ballet.motoko.rdls.net] [1/1] Extracting webp-1.2.1: 100% + set -- webp-1.2.1 + /usr/sbin/service ldconfig restart jexec: jail "ballet" not found + [ -z '' ] + exit 1 pkg: POST-INSTALL script failed ^Triage: try to reclassify. To submitter: does this problem still recur with 14.0? |
If an environment variable called JAIL is defined when invoking "pkg -j" to install a package (e.g. webp) into a jail (e.g. test), the POST-INSTALL script fails to run with the following error message: jexec: jail "test" not found pkg: POST-INSTALL script failed Reproduced using: # env JAIL=test pkg -j test install webp Same problem occurs with "delete" command and POST-DEINSTALL script. The problem is present in FreeBSD 12.1 and FreeBSD 13.0.