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

test: Fixes proxy device unix tests on Ubuntu Eoan #6045

Merged
merged 1 commit into from Aug 7, 2019

Conversation

@tomponline
Copy link
Member

commented Aug 7, 2019

The file permission on /tmp in the Busybox image on Ubuntu Eoan did not allow global access for all users.

This caused problems when running forkproxy as a non-root UID/GID with UNIX sockets.

This commit sets /tmp inside the container to 1777 before running the UNIX socket tests.

Suggested-By: Stéphane Graber stgraber@ubuntu.com
Signed-off-by: Thomas Parrott thomas.parrott@canonical.com

test: Fixes proxy device unix tests on Ubuntu Eoan
The file permission on /tmp in the Busybox image on Ubuntu Eoan did not allow global access for all users.

This caused problems when running forkproxy as a non-root UID/GID with UNIX sockets.

This commit sets /tmp inside the container to 1777 before running the UNIX socket tests.

Suggested-By: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>

@stgraber stgraber merged commit ba3000c into lxc:master Aug 7, 2019

5 checks passed

Branch target Branch target is correct
Details
DCO All commits signed-off
Details
Testsuite Testsuite passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@tomponline tomponline deleted the tomponline:tp-device-proxy-test branch Aug 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.