tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: simple chroot environment rc.d script



On Thu, 23 Aug 2012 14:47:30 +0200 (CEST)
iMil <imil%home.imil.net@localhost> wrote:

> /etc/rc.subr knows how to handle a chrooted service, but nothing is
> available yet to build a basic chrooted environment.
> I wrote this simple script based on pkgsrc/mk/bulk/mksandbox which
> helps you creating a chrooted cage. Simply symlink it to the name of
> the service to be chrooted and enable it in rc.conf.

As it's related, in case this can be useful for inspiration or
reference:
http://cvs.pulsar-zone.net/cgi-bin/cvsweb.cgi/mmondor/mmsoftware/util/chroot-create.sh?rev=1.5;content-type=text%2Fx-cvsweb-markup
-- 
Matt


Home | Main Index | Thread Index | Old Index