Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Data and Jails per USER #341

Open
zenny opened this issue Feb 10, 2021 · 7 comments
Open

Separate Data and Jails per USER #341

zenny opened this issue Feb 10, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@zenny
Copy link

zenny commented Feb 10, 2021

Hi,

what are the minimal changes required to separate data and configs per user to a new zfs vol or filesystem mounted to, say $bastille_prefix/data/user^1-N/servicename.domain.tld from standard jails in `$bastille_prefix/jails/user1^1-N/servicename.domain without much affecting the bastillebsd script?

A case in point is https://github.com/msimerson/Mail-Toaster-6/blob/d4ea67033409592a151f76e23a508523e8d00b2b/mail-toaster.sh#L52-53 which does not interfere the jail configurations and related data while updating jails. An nifty approach I think.

Cheers, and stay safe.

@zenny zenny added the enhancement New feature or request label Feb 10, 2021
@bmac2
Copy link
Collaborator

bmac2 commented Oct 20, 2023

@zenny so trying to reiterate what you are wanting.

  1. jails to be able to be spun up for a specific user
  2. jails to be able to be on seperate filespaces or zfs volumes
  3. a change to the jail's ownership

Is that a good summary of the items you are requesting?

@s1dh
Copy link

s1dh commented Oct 21, 2023

The "2." Would already make my day 👍

@zenny
Copy link
Author

zenny commented Oct 23, 2023 via email

@zenny
Copy link
Author

zenny commented Apr 21, 2024

On Fri, Oct 20, 2023 at 7:19 PM Barry McCormick @.***> wrote: @zenny https://github.com/zenny so trying to reiterate what you are wanting. 1. jails to be able to be spun up for a specific user 2. jails to be able to be on seperate filespaces or zfs volumes 3. a change to the jail's ownership Is that a good summary of the items you are requesting?
Exactly! :D

Any updates on this request? Thanks.

@bmac2
Copy link
Collaborator

bmac2 commented Feb 16, 2025

Going back through issues now. Will look at how this might be done.

@tschettervictor @yaazkal

@tschettervictor
Copy link
Collaborator

Having jails be per user is too complicated IMO.

As for separate file systems, this would require some work rewriting.

@tschettervictor
Copy link
Collaborator

#888 allows setting custom zfs options when creating the jail.
Will this be enough?

@zenny
@s1dh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants