Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add snap-discard-ns #135
Conversation
zyga
added some commits
Sep 12, 2016
zyga
added some commits
Sep 12, 2016
|
This should all be good as long as /run/snapd/ and /run/snapd/ns/ is only writable by root. That's true for /run/snapd/ns/ because sc_initialize_ns_groups() calls mkpath() which does the right thing by creating the directory with the 0755 mode. snapd must create /run/snapd/. Can you verify that snapd is creating that directory with the right permissions? |
|
@zyga and I discussed my last question in #snappy. He informed me that /run/snapd/ is created by sc_initialize_ns_groups() and we already know that it creates dirs with 0755 mode. Looks good to me. Thanks! |
zyga
merged commit c0b994a
into
master
Sep 12, 2016
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
zyga
deleted the
snap-discard-ns
branch
Sep 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zyga commentedSep 12, 2016
This branch adds the
snap-discard-nsprogram that does as the name suggests. It is a part of the namespace sharing feature. This program will be used by snap-confine spread tests before the appropriate branch lands in snapd (snapcore/snapd#1847)