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 to support version upgrades #17

Open
fsbruva opened this issue May 4, 2015 · 0 comments
Open

_update to support version upgrades #17

fsbruva opened this issue May 4, 2015 · 0 comments
Labels

Comments

@fsbruva
Copy link
Owner

fsbruva commented May 4, 2015

We need to strictly declare the jail's version number, (or allow it to be specified) within the jail to be updated. Additionally, the target (what do we want to upgrade TO?) needs to be communicated.

There are two use cases for updates:

  1. User has upgraded Nas4Free. Kernel will not match userland in jail, so we need to specify UNAME_r as the version that was actually installed. We need it to be a X.x-RELEASE. We also need to specify the destination (freebsd-update -r ?), probably by asking Nas4Free what version it is.
  2. User is contemplating upgrading Nas4Free, and the jails match Nas4Free. Jail can be upgraded to the specified destination version. No manipulation of UNAME_r is required, as the current userland is the same as the kernel. However, we need to specify the destination version.

There is a third case - wherein the jail and Nas4Free do not match, and will remain that way after the "upgrade." This is if... Nas4Free is at 10.1, Jail is 9.1, and user wants jail to upgrade to 9.3. This use case will not be supported by TheBrig.

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

No branches or pull requests

1 participant