Skip to content
/ rooms Public

A compartmentalization tool based on FreeBSD jails

Notifications You must be signed in to change notification settings

mheily/rooms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

WARNING This is a developer preview and should not be used for anything important. It may destroy your data or worse. Use at your own risk!

Pay close attention to this part of the license:

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Overview

Rooms are a distributed form of containers that are based on ZFS and FreeBSD jails.

More information

For more information about building and using this software, see https://mheily.github.io/rooms

TODO: Linux build notes

  • quick notes on building on Debian-based systems

sudo apt install libboost-program-options-dev

BUG:

it is expected that '<pool>/room/<blah>' exists
but what if you want the pool to be mounted at /room, so
the desired dataset is '<pool>/blah'
  • things "mostly work" now but installation is tricky. All file permissions are nobody:nogroup instead of root:root. Not sure if remounting / will fix, or if debootstrap needs to run inside a user namespace w/ uid_map set to match.

  • manpage creation requires: sudo apt install docbook2x groff

  • to create a base archive:

    mkdir /tmp/ubuntu-xenial-x64 &&
    sudo debootstrap xenial /tmp/ubuntu-xenial-x64 http://archive.ubuntu.com/ubuntu/ &&
    sudo tar -C /tmp/ubuntu-xenial-x64 -JcPpf /tmp/ubuntu-xenial-x64.txz .

About

A compartmentalization tool based on FreeBSD jails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published