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

Add draft go-selinux project proposal #29

Merged
merged 3 commits into from
Feb 23, 2017
Merged

Add draft go-selinux project proposal #29

merged 3 commits into from
Feb 23, 2017

Conversation

caniszczyk
Copy link
Contributor

@caniszczyk caniszczyk commented Feb 9, 2017

Closes #27

Signed-off-by: Chris Aniszczyk caniszczyk@gmail.com

Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
@rhatdan
Copy link

rhatdan commented Feb 9, 2017

LGTM

A: No. Nothing in this proposal is intended to amend the OCI Charter (https://www.opencontainers.org/about/governance) or OCI Scope Table (https://www.opencontainers.org/about/oci-scope-table).

Q: Why move this out of the runc project?
A: TODO
Copy link

Choose a reason for hiding this comment

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

To be able to reuse this in different container projects as well as have dedicated maintainers for the SELinux library.

Copy link
Member

Choose a reason for hiding this comment

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

dedicated maintainers for stability

@mrunalp
Copy link

mrunalp commented Feb 9, 2017

Added one comment to address TODO. Otherwise LGTM. @caniszczyk Thanks for putting this together!

@crosbymichael
Copy link
Member

LGTM

@caniszczyk
Copy link
Contributor Author

@philips as chair of the @opencontainers/tob, any comments before we bring this up for a vote?

@philips
Copy link
Contributor

philips commented Feb 9, 2017

FAQ items I want to see:

  • Why is versioning this package with runc insufficient today? What issues have been encountered?
  • How will the release management of go-selinux work and get vendored into runc?
  • What is blocking sub-maintainers from being a concept in runc itself?
  • Who are the other target users of go-selinux?

@rhatdan
Copy link

rhatdan commented Feb 9, 2017

I have been personally asked for these go bindings outside of runc/libcontainer over the years.

@philips
Copy link
Contributor

philips commented Feb 9, 2017

@rhatdan but why a new git repo and release process? Is it to raise awareness? Have a separate release process because runc release too slow? Essentially what is the motivation.

@rhatdan
Copy link

rhatdan commented Feb 9, 2017

I was asked if I was interested, and I said sure. But I can't say I had a huge motivation.

That being said...
Getting more exposure and others to use it would probably lead to completing lots of features that are missing from the libcontainer/selinux bindings. There are lots of bindings in libselinux that do not have native bindings yet. Getting other projects to use SELinux bindings would also lead to potential improvements in the bindings. I am not sure if we sucked them into RKT when we do the SELinux work on it, or just referenced them from libcontainer.

Being able to get fixes into go-selinux without having to wait for runc approval would also be nice.

@runcom
Copy link
Member

runcom commented Feb 11, 2017

runc can also stick to a particular version w/o the hassle of people changing the selinux package causing bugs when upgrading (it happened)

@runcom
Copy link
Member

runcom commented Feb 16, 2017

Why is versioning this package with runc insufficient today? What issues have been encountered?

no versioning of selinux in runc - for instance, we fixed something in selinux in runc because CRI-O needed it but at the same time we broke docker which was relying on it. Having fixed versions for selinux wouldn't have led to this issue since docker could have stuck to a previous version and carefully test the new version w/o pulling new changes as part of a libcontainer library bump.

How will the release management of go-selinux work and get vendored into runc?
What is blocking sub-maintainers from being a concept in runc itself?

nothing I guess. To me it's clearer to have a dedicated repo for just the selinux library (as what we already have today with go-digest in OCI)

Who are the other target users of go-selinux?

docker, CRI-O, kubernetes(?), any other project out there requiring a dedicated selinux library. It'll be easy to add features in a dedicated repo also.

@rhatdan
Copy link

rhatdan commented Feb 16, 2017

RKT also I believe.

@philips
Copy link
Contributor

philips commented Feb 17, 2017

I don't really care either way but I trust @crosbymichael @rhatdan @runcom so:

LGTM

@philips
Copy link
Contributor

philips commented Feb 17, 2017

@caniszczyk I can propose this to the TOC. What are the next steps? Merge and propose via email?

@caniszczyk
Copy link
Contributor Author

@philips yep, you would have to do a @opencontainers/tob vote (see go-digest as an example: https://groups.google.com/a/opencontainers.org/forum/#!topic/tob/kplbAW5N9dc)

@philips
Copy link
Contributor

philips commented Feb 17, 2017

done

README.md Outdated
@@ -22,6 +22,7 @@ https://groups.google.com/a/opencontainers.org/forum/#!forum/tob (tob@opencontai

* [Digest](https://github.com/opencontainers/tob/blob/master/proposals/digest.md)
* [Image Format Spec](https://github.com/opencontainers/tob/tree/master/proposals/image-format)
* [Selinux](https://github.com/opencontainers/tob/blob/master/proposals/selinux.md)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm fine with all lower case, but where we uppercase anything I think we should use "SELinux".

* Antonio Murdaca <runcom@redhat.com> (@runcom)
* Daniel J Walsh <dwalsh@redhat.com> (@rhatdan)
* Mrunal Patel <mpatel@redhat.com> (@mrunalp)
* TODO
Copy link
Contributor

Choose a reason for hiding this comment

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

Fill this in before the TOB vote completes?

This project would incorporate the Governance and Releases processes from the OCI project template: https://github.com/opencontainers/project-template.

### Project Communications
Both of the proposed projects would continue to use existing channels in use by the OCI developer community for communication including:
Copy link
Contributor

Choose a reason for hiding this comment

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

Both? Copy/paste from somewhere else? I think there's only one project here, unless you mean runC is not leaving. Either way, I think this line could be more clear (e.g. listing projects by name).


## Frequently Asked Questions (FAQ)
Q: Does this change the OCI Charter or Scope Table?
A: No. Nothing in this proposal is intended to amend the OCI Charter (https://www.opencontainers.org/about/governance) or OCI Scope Table (https://www.opencontainers.org/about/oci-scope-table).
Copy link
Member

Choose a reason for hiding this comment

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

nit: markdown formatting is not pretty

image

@caniszczyk
Copy link
Contributor Author

We have enough votes to approve this before the vote closes out but I want to do a final call for maintainers on this project, right now I have three:

cc: @opencontainers/runc-maintainers

@caniszczyk
Copy link
Contributor Author

Also to note we have 8/9 +1s from the @opencontainers/tob on this so we have well cleared the minimum bar of votes needed for this project to happen.

@caniszczyk caniszczyk force-pushed the selinux-project branch 2 times, most recently from f9a808f to 542397e Compare February 20, 2017 13:10
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
@rhatdan
Copy link

rhatdan commented Feb 20, 2017

I have invited Stephen Smalley to be a maintainer, (SELinux upstream maintainer) but that should not slow this down.

@caniszczyk
Copy link
Contributor Author

@rhatdan what's his GitHub id btw?

@rhatdan
Copy link

rhatdan commented Feb 21, 2017

@stephensmalley PTAL

Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
@caniszczyk caniszczyk merged commit 0057edc into master Feb 23, 2017
@caniszczyk caniszczyk deleted the selinux-project branch February 23, 2017 16:27
@caniszczyk
Copy link
Contributor Author

We have enough votes here, @philips will call the vote later tonight on the mailing list.

Thanks @opencontainers/tob and everyone for participating.

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

Successfully merging this pull request may close these issues.

8 participants