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

selinux: switch to opencontainers/go-selinux #897

Closed
lucab opened this issue Jun 8, 2016 · 14 comments
Closed

selinux: switch to opencontainers/go-selinux #897

lucab opened this issue Jun 8, 2016 · 14 comments

Comments

@lucab
Copy link

lucab commented Jun 8, 2016

While touching rkt code, I realized there is an embedded copy of libcontainer selinux package. The two versions are now diverging, and I would like to reconcile/contribute back.

Looking at the code, it looks like most of it isn't container specific and could be nicely split into its own module. Would you be ok in splitting this out in a self-standing selinux module? I'd be happy to submit current rkt changes into that and getting rid of existing forks.

@cyphar
Copy link
Member

cyphar commented Jun 8, 2016

WDYT @rhatdan

Presumably this would live in opencontainers/selinux-golang or something like that, and all of the current runC maintainers would maintain that package too.

@rhatdan
Copy link
Contributor

rhatdan commented Jun 8, 2016

Fine with me.

@cyphar
Copy link
Member

cyphar commented Jun 9, 2016

/cc @caniszczyk @crosbymichael

@lucab
Copy link
Author

lucab commented Jun 22, 2016

@cyphar any news on this? Can the new repo see the light?

I'm certainly in favour of this living under the opencontainers umbrella, I just have some minor wish items:

  • having a clear set of MAINTAINERS to ping (as I guess not all runc people would have interests in that)
  • having tagged releases to help downstream consumers

@cyphar
Copy link
Member

cyphar commented Jun 22, 2016

I'm still waiting for a response from @caniszczyk and @crosbymichael. From my view, if @rhatdan is fine with it, then I'm fine with it too.

@caniszczyk
Copy link
Contributor

The @opencontainers/tob have the authorization to approve new projects, they would need to sign off it and we can move forward. @philips do you see anything wrong with this? This is essentially a utility package

@jonboulle
Copy link
Contributor

This seems to be live (https://github.com/opencontainers/go-selinux/), except it hasn't been integrated back into this repository yet - is there a plan for that?

@lucab lucab changed the title Consider splitting selinux package selinux: switch to opencontainers/go-selinux Mar 8, 2017
@lucab
Copy link
Author

lucab commented Mar 8, 2017

The first half of this has happened after opencontainers/tob#29, thus I've re-titled it for the remaining part.

@crosbymichael
Copy link
Member

We just need to do the work not to re-integrate this back into runc. If someone has time it should be a very simple PR with the code vendored.

@vbatts
Copy link
Member

vbatts commented Mar 8, 2017 via email

@crosbymichael
Copy link
Member

@vbatts naw

@vbatts
Copy link
Member

vbatts commented Mar 8, 2017

dang

@hqhq
Copy link
Contributor

hqhq commented Mar 9, 2017

@crosbymichael @vbatts I'll do it today.

@rhatdan
Copy link
Contributor

rhatdan commented Mar 9, 2017

I would prefer the repository be renamed to selinux with a subdir of the golang bindings.
I have been requested to move container-selinux to this repo, but moving the policy to something named go-selinux, makes no sense.

stefanberger pushed a commit to stefanberger/runc that referenced this issue Sep 8, 2017
Make pid option on platforms other than linux
stefanberger pushed a commit to stefanberger/runc that referenced this issue Sep 8, 2017
Through 96de01b (Merge pull request opencontainers#897 from crosbymichael/pids,
2017-07-12).

Signed-off-by: W. Trevor King <wking@tremily.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants