-
Notifications
You must be signed in to change notification settings - Fork 289
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
layerfs setup in PUPMODE 5 #3526
Comments
overlay is chosen if aufs is unsupported, or if booting with This line sets the default of aufs:
Then, setup_onepupdrv is called for every SFS that gets loaded. This block in setup_onepupdrv changes UNIONFS to
When UNIONFS=overlay, a SFS is added to the stack using remount_overlay. It extracts the list of layers from /proc/mounts (if there is one) and creates a new overlay mount point with an extra layer for the newly mounted SFS. Otherwise, if UNIONFS=aufs and it's the first SFS, the aufs mount point is created. Every SFS loaded is added as a read-only layer. All this happens inside setup_onepupdrv. |
Let me try again |
The 10.0.x kernel is built without aufs support. If the kernel supports aufs but you want to use overlay anyway, you must pass |
That is not nice... |
I'm fed up with aufs. If I can't maintain a 10.0.x release series for a year+ only because of frequent breakage of aufs or because aufs is unmaintained with known issues years before the kernel's EOL, then aufs is out of my releases. All non-Debian-based woof-CE kernels (still) have a variant with aufs. A user who wants to swap the kernel with one of those is free to do so, but I won't be fixing aufs-specific bugs or fixing failing kernel builds for kernels with aufs. Anyway, it's easy to switch between the two, without having to run woof-CE. You only need to swap the kernel (or drop
|
No body asks you to support Aufs. All I'm suggesting that one of puppies (and linux in general I would say) traditions is to tinker with the system. Removing a pre-existing option/choice from puppy and wanting to support it are two different things I believe. |
If I offer that choice, I won't be able to build kernels every time aufs breaks. Users who use overlay won't be able to use an up-to-date kernel with the latest security, only because that kernel cannot be built with aufs. It happened in 5.10.140, it happened in 5.15.41, and it will happen again. |
I do not think that are many distros offering on their stable releases the latest kernels just one day or week after they are released. The major reason is that they may brake some important functionality. |
|
Looked briefly in the init and pup sfs but I can not pin point where the layered files system (aufs or overlay) is defined.
The default in the init is aufs and DISTRO_SPECS has no relevant info (PUNIONFS) on first boot. So where would the overlay instruction would be?
The text was updated successfully, but these errors were encountered: