Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Nov 2021 12:01:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259710] Environment variable JAIL causes pkg -j to malfunction
Message-ID:  <bug-259710-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259710

            Bug ID: 259710
           Summary: Environment variable JAIL causes pkg -j to malfunction
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bugs@rdls.net

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 scr=
ipt
fails to run with the following error message:

    jexec: jail "test" not found
    pkg: POST-INSTALL script failed

Reproduced using:
    # env JAIL=3Dtest 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.

--=20
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-259710-7788>