-
Notifications
You must be signed in to change notification settings - Fork 31
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
[BUG] Pot lacks a documented update workflow for bases. #83
Comments
Thanks for reporting. We've been focused a lot around the container model, that we didn't provide enough attention to thin jails. I'll write down here a couple of things, but I'm working on a web site with all the documentation here the WIP Creating a base, a related # pot create-base -r 12.1
# pot run base-12_1
root@base-12_1:~ # For now, you have to run |
That still leaves the |
yes, a proper solution would be to access |
I committed 2 main changes:
I'd like your feedback on three things I would do:
|
The first would be a slight problem for me because I'm currently working on stripping down the jails to just the linker, a handful of executables, their required libraries and filesystem components for the data. I would have to leave The second would be highly appreciated. Documentation what pot can and can't do would have saved me time reading the implementation and tracing its execution with sh -x and dtrace. That's how I learned about Such a command would be useful, but again documentation on how the different kind of jails pot can manage interact with the rest of FreeBSD is key to keep experienced users happy e.g. there is 1:1 relation ship between a base and its jail. The jail can be used to make changes to the jail. A common pattern in all those cases is that pot interacts closely the rest of FreeBSD which is what makes it so flexible and powerful. This offers a lot of implied interfaces between |
thanks for your feedback, it's really appreciated.
Documentation is a pain, but I'm trying to do my best. I'm writing the thick jail section, I'll ask you for a review, if you available to help a bit! |
Sorry jumping from ldd's output (not a dynamic executable) to the conclusion that it had to be a static executable was sloppy of me. I'm willing to help improve the documentation. |
Would you mind sharing this flavuor? |
My rsyncd flavour contains an empty rsyncd and this rsyncd.sh:
The resulting pot is too limited to support all pot features e.g. there is no ifconfig for |
Describe the bug
I found no documentation on how to apply security and errata updates and to a pot base.
To Reproduce
Steps to reproduce the behavior:
pot create-base -r 12.1
pot create -v -b 12.1 -p azkaban
pot run azkaban
freebsd-version
inside the the jail. It shows that the jail runs an unpatched userland.Expected behavior
I expect there to be a easy find and follow documentation covering how to keep the jail user lands up to date.
Additional context
My host system is running FreeBSD 12.1-p2.
The text was updated successfully, but these errors were encountered: