GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use `SelinuxContext.SHARED` by default by jeroen-vd-nl · Pull Request #7187 · testcontainers/testcontainers-java

Conversation

@jeroen-vd-nl

@jeroen-vd-nl jeroen-vd-nl commented Jun 12, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Followup on #6294

  • PR review done
  • Updated branch to latest testcontainers-java

Commits in total:

  • Use shared selinux context for filesystem binds (6294)
  • Update condition (6294)
  • Fix test (6294)
  • Fix format (6294)
  • Review feedback: only needs to mount on READ_WRITE access (new)
  • Update branch (new)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
monosoul and others added 9 commits December 6, 2022 22:11
@monosoul
Use shared selinux context for filesystem binds
eb6a1d0
On systems with SElinux enforcing trying to bind a filesystem path without a context will result in an error. Using shared context by default will make `withFileSystemBind(String hostPath, String containerPath)` method work for all systems. On Windows, Mac OS and Linux systems without SElinux it will have no effect. On systems with SElinux enforcing it will make the path accessible to the container.

Signed-off-by: monosoul <[email protected]>
@monosoul
Merge branch 'main' into patch-2
0ff9de1
@monosoul
Merge branch 'main' into patch-2
9e21007
@monosoul
Merge branch 'main' into patch-2
66e47b9
@monosoul
Merge branch 'main' into patch-2
04f3ccc
@eddumelendez
Update condition
1c17297
@eddumelendez
Fix test
caf655d
@eddumelendez
Fix format
c49d830
Jeroen v. Dijk-Jun
Review feedback: only needs to mount on READ_WRITE access
53b3e34
@jeroen-vd-nl
jeroen-vd-nl requested a review from a team June 12, 2023 13:31
@jeroen-vd-nl
Merge branch 'main' into patch-2
30af360
@jeroen-vd-nl

jeroen-vd-nl commented Jun 13, 2023

Copy link
Copy Markdown
Contributor Author

Update from our side: we can achieve the same result by using the local compose. Still this might be an addition to the code base, but for us the added value has vanished. Maybe for @monosul it still adds value.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eddumelendez eddumelendez mentioned this pull request Jun 20, 2023
Use shared selinux context for mounts #6294
Closed
@eddumelendez eddumelendez added this to the next milestone Jun 20, 2023
@eddumelendez eddumelendez added the type/enhancement label Jun 20, 2023
@eddumelendez eddumelendez changed the title selinux PR review update Use SelinuxContext.SHARED by default Jun 20, 2023
@eddumelendez
eddumelendez merged commit 9220816 into testcontainers:main Jun 20, 2023
@eddumelendez

eddumelendez commented Jun 20, 2023

Copy link
Copy Markdown
Member

Thanks @jeroen-vd-nl !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

type/enhancement

Projects

None yet

Milestone

1.19.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@jeroen-vd-nl @eddumelendez @monosoul
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.