Hello all,
I've been trying to clean up some of the DTC installer script (http://www.gplhost.com/software-dtc.html) to make it a bit easier to get running on FreeBSD. The project is one of the nicer open source control panels I've found so far.
One thing I'm having trouble working around is making device nodes inside a jail. DTC has a chroot shell for those that wish to provide shell access to their hosting customers, and since it has a hierarchy of user perms for these users, there is a full set of chroot binaries, devices, etc. up and down a customer's filespace. Each instance of this chroot skeleton needs some basic device nodes created (random, null, etc.).
In a jail, this isn't allowed...
Are there any other options other than something hackish like a cron job outside the jail calling a script that walks the hierarchy and does the proper mknods if they don't yet exist? I'd also like to avoid devfs, since I could easily end up with hundreds of devfs mounts to manage.
I've been trying to clean up some of the DTC installer script (http://www.gplhost.com/software-dtc.html) to make it a bit easier to get running on FreeBSD. The project is one of the nicer open source control panels I've found so far.
One thing I'm having trouble working around is making device nodes inside a jail. DTC has a chroot shell for those that wish to provide shell access to their hosting customers, and since it has a hierarchy of user perms for these users, there is a full set of chroot binaries, devices, etc. up and down a customer's filespace. Each instance of this chroot skeleton needs some basic device nodes created (random, null, etc.).
In a jail, this isn't allowed...
Are there any other options other than something hackish like a cron job outside the jail calling a script that walks the hierarchy and does the proper mknods if they don't yet exist? I'd also like to avoid devfs, since I could easily end up with hundreds of devfs mounts to manage.