A proper way to install ports into a jail, from the host machine
Kevin Way
kevin at insidesystems.net
Thu Jun 17 14:59:01 GMT 2004
As it stands, many ports can be installed into a jail from the host
machine by setting: PKG_DBDIR, PORT_DBDIR, X11BASE, LOCALBASE,
LINUXBASE, MANPREFIX, PREFIX, LDCONFIG, and __MAKE_CONF. As far as I
know, this leaves two problems.
The first problem is that scripts which check for and create users (and
change ownership on files/directories) aren't currently setup to do so
with respect to a jailed environment.
The second problem is that it's all quite obscure.
As such, I'm wondering if there would be support for the addition of a
JAILBASE variable, which would correctly set the aforementioned
variables, and more importantly would handle user/group/file ownership
issues correctly with respect to the jail.
Kevin Way
InsideSystems
More information about the freebsd-ports
mailing list