Skip to content
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

sanity: use proper SELinux context when mounting squashfs #6652

Merged

Conversation

bboozzoo
Copy link
Collaborator

We attempt to mount a squashfs image as part of sanity checks. Make sure to use proper mount context, so that SELinux does not complain.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
@bboozzoo bboozzoo added Simple 😃 A small PR which can be reviewed quickly SELinux labels Mar 26, 2019
@zyga zyga changed the title sanity: use proper SELinux mount context when sanity checking squashfs mounts sanity: use proper SELinux context when mounting squashfs Mar 26, 2019
Copy link
Collaborator

@zyga zyga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bboozzoo bboozzoo merged commit 7411732 into snapcore:master Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Simple 😃 A small PR which can be reviewed quickly
Projects
None yet
3 participants