Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2006 20:23:05 -0400
From:      "Marc G. Fournier" <scrappy@freebsd.org>
To:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mknod within a jail ...
Message-ID:  <C791E3349188E5D58F5A38EB@ganymede.hub.org>
In-Reply-To: <44hcx47lqx.fsf@be-well.ilk.org>
References:  <7FF5BAB0C7346830548B5582@ganymede.hub.org> <44hcx47lqx.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Sunday, November 12, 2006 10:00:54 -0500 Lowell Gilbert 
<freebsd-questions-local@be-well.ilk.org> wrote:

> "Marc G. Fournier" <scrappy@freebsd.org> writes:
>
>> I'm playing with DTC right now, within a Jail ... and one of the steps to
>> set  it up is to run mknod to create devices for a chroot environment,
>> which, of  course, fail in a jail ...
>>
>> Is there any way around this?
>>
>> Mounting devfs isn't an option, since for each domain in the jail that gets
>> created, it appears that it needs its own chroot env, with its own dev
>> directory ...
>>
>> Am I really stuck? :(
>
> Why don't you run it on the jail filesystem, but from outside of the jail?

The software we're trying to get working is DTC (ISP control panel), and what 
it does is builds a seperate chroot hierarchy per domain created so that the 
owner of the domain will be able to ssh in, but also so that any cgi's operate 
within that chroot environment ...

So, the 'root' in the vServer would need to be able to do this each time a new 
domain is added, which means given *them* the ability to run a command on the 
base operating system ...

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org                              MSN . scrappy@hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFV7rp4QvfyHIvDvMRArIEAKCbVw2ip55A5FQMngV8rn6l57uyogCcCMX9
hoIAGQ/SE6FNLmGs2jHLlg0=
=ZJvL
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C791E3349188E5D58F5A38EB>