Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
daemon: relabel config files. #34732
- What I did
Similar to #32529, without relabel these files, SELinux-enabled containers will show
- How I did it
Relabel the config files when they are created.
They may be relabelled just before they mounted, but I follow the same logic as #32529 did.
- How to verify it
I compiled CentOS 7 version of rpm for
- Description for the changelog
Relabel config files.
Signed-off-by: Wenxuan Zhao firstname.lastname@example.org
Sep 19, 2017
6 checks passed
@vieux I don't know how. I can write a shell script and set up a test case for testing (to prove the change works correctly), however I don't know how to write the test in go.
BTW, could someone check docker/libnetwork#1963, I'm not sure if this is a correct fix, but the issue exists for a long time, and many users have experienced this.