Hello Fedora developers and engineers,
I use Fedora Silverblue for quite a few years and believe I have a basic understanding how it all works, but despite of that I have a few questions. Some are about current version of Ostree and some are about the new version of Ostree with native containers. I will start with the questions about the current version of Ostree and after that I will ask the questions about the new version of Ostree (if it still will be called Ostree).
Question 1
Do I understand the working of Ostree right and does it work in the following way:
- You have a object store and this object store stores all the references (hard links) to the actual files. The object store is not really a database, but are just text files on disk.
- When you update the system, the object store is synchronized with the new version on the server (the repository) and after that all the new files are downloaded.
In an image it looks like this:
Is my understanding right?
Question 2
Do I understand Ostree right and an image is nothing more than a snapshot of the object-store (with the attached files)? Because all the files are hashed together they form the image?
Question 3
By default Ostree only stores the last two deployments (the current version and the previous one. Is it technially possible to store more versions? For example the last three, four of five? There may not be a need for it, but I’m just curious.
Questions 4
If I have understood the wiki of Ostree native containers correctly, the new version will not download the object store and files on the server, but only a new container image (or a layer of it)?
If so, what will the roll of Ostree be? It will only be used as the versioning system?
On the server side you could create a object store out of the container image, but I guess this is not how it will function (not necessary or cumbersome)?
Questions 5
Is the below image the ultimate goal of Ostree native containers? As far as I know, there isn’t a Fedora base image yet, but wouldn’t this create a beautiful hierarchy of the Fedora Atomic versions? The goal is that someone only has the write a new container file to create a new version of Fedora?
Questions 6
And my last question: is another goal that in the near future you can change to new image live by using a combination of systemd softboot and ostree apply-live? Is the idea that you press on a button in GNOME software and that than the image is updated without the user knowing it? Maybe just a short flickering of the screen? Or should the user still have to log out and log back in?
As you can read I’m very interested in the future of Ostree!
Thanks for reading and possibly answering some questions !
- Scott Trakker (my pseudo name on the internet)