Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
cmd/snap-confine: look for PROCFS_SUPER_MAGIC #2843
Conversation
zyga
added this to the
2.23 milestone
Feb 14, 2017
|
The code changes are fine assuming that we can do everything exactly the same when +1 conditional on test demonstrating this works properly. Since I suspect this will need to be a manual test, please paste the output of the manual test. Thanks! |
|
@jdstrand I ran half a dozen snaps with this patch in. I don't have a reliable test at this stage as the effort is just unfolding but landing this will pave the way to packaging and testing this on an ongoing basis, with spread. Until then (until we have spread run on 3.10) I can only give you my word that it works. The manual page for |
|
Isn't the test simply on a 3.10 kernel, install snapd/snap-confine configured for devmode, install hello-world, start hello-world.sh, touch /tmp/foo, exit, then start hello-world.sh and see if /tmp/foo exists? If this is what you meant by 'ran half a dozen snaps with this patch in', then +1. |
|
@jdstrand yes, I did exactly this (on CentOS 7 to be precise). Thank you for the +1 |
zyga commentedFeb 14, 2017
This patch makes it possible for snap-confine to run on kernel 3.10 where nsfs
is not a thing yet. Everything seems to work fine but we need to look for this
filesystem type in addition to NSFS_MAGIC as we usually do.
Signed-off-by: Zygmunt Krynicki me@zygoon.pl