-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Checking EXT4_FS_SECURITY for overlay #10418
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
Conversation
LGTM |
Are we sure that this really is only necessary for |
hmm yes that is true I always forget about the other FS's On Wed, Jan 28, 2015 at 11:24 AM, Tianon Gravi notifications@github.com
|
Maybe docker should warn about missing kernel features on start like it fails with overlay on top of btrfs. Even a little hint in error message would help a lot for systems where kernels are compiled from who knows what. |
Based on unclejack/boot2docker@0108e1f, CONFIG_EXT4_FS_POSIX_ACL might also be required. |
@bobrik Do you want to update this to include |
Signed-off-by: Ian Babrou <ibobrik@gmail.com>
2228ae2
to
a6c6d8b
Compare
@unclejack updated! |
@bobrik Thank you! LGTM |
ping @tianon |
I'm still not sure I'm 100% comfortable with hard-coding Any ideas for how we can reconcile this sanely, @jfrazelle? 😞 |
@tianon ext4 is a file system known to work with overlay. Perhaps these flags could be listed for each file system? (e.g. overlay+ext4 -> all deps are there, overlay+xfs -> missing xfs config option and so on) |
Do we have anyone testing graph drivers on XFS right now? So, you're thinking something like this, right?
|
@tianon Yes, that's what I had in mind. I'm not sure what's the status for overlay on xfs in the kernel or if it needs some special options, but I know there are a lot of people waiting to use overlay on xfs. Having those file systems written down with their names also sends a clear message: these are the file systems you need for overlay, everything else might not work and might eat your data TM. edit: devicemapper also works with xfs, so that's something to keep in mind. We probably want to do same thing there as well and have a shared function for this file system feature checking code to use in both places. |
Ok, that sounds fair. 👍
|
soooo what was the verdict here? |
oh nm it became a discussion of xfs so merging |
Checking EXT4_FS_SECURITY for overlay
strace
:docker logs:
I was running overlayfs on top of ext4.
cc @jfrazelle.