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

Update release basejail datasets after updating a release #31

Closed
gronke opened this issue Aug 26, 2017 · 1 comment
Closed

Update release basejail datasets after updating a release #31

gronke opened this issue Aug 26, 2017 · 1 comment

Comments

@gronke
Copy link
Member

gronke commented Aug 26, 2017

When a release that was already copied to the collection of base datasets (/iocage/base/<RELEASE>), the datasets representing the datasets need to get updated as well.

I wonder what the most efficient way to do that is. Here are some options:

Run freebsd-update a second time

+ does not need to write/touch all files
- HardenedBSD currently does not cache assets on the host (yet)
- It it another source of errors that require our action (e.g. roll back changes from the previous release update, so that the release and the base do not diverge)

Copy over the files

+ simple
- slow
- reads and writes back from disk
- errors like full disks may still require our action to handle rollbacks

Suggestions welcome :bowtie:

@gronke
Copy link
Member Author

gronke commented Sep 4, 2017

Solved by using rsync in 03c00b0

@gronke gronke closed this as completed Sep 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant