Hello, Does anybody have thoughts (solution) about "attachable" user environment for a jails?
I mean that diving into a jail (jexec) leave user (operator) with a shell/tools available inside a jail. This make things hard because operator will work efficiently and with less pain only with own well-known and customized tool. The straight-line solution is to install needed tools and configuration files in every jail. For example, install vim/emacs/kakoune, plugins, and configurations in every jail. The solution obviously is a bad because it raise many problems such as keeping it up-to-date and potentially have a dependency conflict with native jails library/binaries. In other words it pollute jails with things not related to a jail functionality. I'm thinking about some "toolchest" with a preconfigured tools which may be attached to any jail giving to operator stable environment defined in this toolchest. I see it as hierarchy of a files containing all editor/tools/scripts and configurations. Then "diving in a jail" seems to be: 1. Mount_nullfs toolchest to a predefined dir in a jail; 2. Do "jexec -e" with environment and a shell pointed to that mounted toolchest. But may be somebody has a more smarter thoughts. -- Best regards, Anthony Pankov mailto:[email protected]
