Opened 4 years ago

Closed 3 years ago

#487 closed Feature Request (wontfix)

portjail script improvements

Reported by: gcooper Owned by:
Priority: major Milestone:
Component: System Configuration Version: 9.0-BETA3
Keywords: Cc: trac-bugs@…


The following patch improves portjail in the following ways:

  1. You can now specify the following items on the command line to tune your portjail experience:
    1. TARGET:TARGET_ARCH (uname -p:uname -m).
    2. The hostname.
    3. The source directory (in case you don't want to use /usr/src).
    4. The method for installing a portjail (to avoid having to create scripts to deal with the interactive prompts that are in the current portjail script).
    5. A destdir option so I can install the jail to an arbitrary location.
    6. A means for passing in options to make (MAKEFLAGS) I can pass in custom build parameters, including (but not limited to) SRCCONF=/dev/null, -j 8, etc.
    7. A number of other bits are now tunable via the environment (MANPATH, etc).

There are other improvements that could and should be made to this script and 'jailme' (in particular, the architecture and version aren't correct for the jailed system -- I know the solution to this problem), but this seemed like a logical place to checkpoint the work for review purposes.

The work is needed to create a deterministic portsjail environment for the FreeNAS 8.2.x plugins effort.

Attachments (1)

pcbsd-portjail-script-improvements.patch (14.9 KB) - added by gcooper 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by gcooper

comment:1 Changed 3 years ago by joshms

  • Resolution set to wontfix
  • Status changed from new to closed

Port jail has now become obsolete with the new improvements to the warden so we will close this ticket for now. Please feel free to submit your ideas for the warden utility =).

Note: See TracTickets for help on using tickets.