Update libcontainer to 47e3f834d73e76bc2a6a585b48d#19469
Update libcontainer to 47e3f834d73e76bc2a6a585b48d#19469calavera merged 1 commit intomoby:masterfrom
Conversation
This adds a fix for the resource struct in the cgroups type and seccomp IsEnabled function Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
|
I don't think it's a good idea to start vendoring a branch of libcontainer. opencontainers/runc#470 fixes master, and there's no reason not to merge it if we can't figure out why the state transition stuff is broken. There's no reason we can't re-merge a fixed version of the state transition stuff later. Because, if this gets put into 1.10, we now have to keep that branch around in perpetuity (who knows when someone will be trying to figure out a bug in 1.10, and they run However, if you're committed to us vendoring a branch, you should cherry-pick opencontainers/runc@bf899fe. It fixes a security bug. |
|
Hm Windows timeout (I think), but the first error looks weird; |
|
Windows error is unrelated |
|
LGTM |
1 similar comment
|
LGTM |
Update libcontainer to 47e3f834d73e76bc2a6a585b48d
|
LGTM |
|
@calavera @tiborvass @crosbymichael Can you please explain why you all LGTM'd and merged a vendor for a non-master branch of runc, when opencontainers/runc#470 actually fixes the problems, passes all tests, has a vendor PR open that also passes all tests and merges cleanly on master, and has two LGTMs? More importantly, is there a reason why my comment wasn't even addressed? The reason why I thought it was important to deal with this problem is not only because hot-fixes like this have tendency to stick around, but also because I actually have to bisect docker quite regularly, and usually run For future reference to anyone who needed to run The commit |
|
@cyphar Since Docker already released RC, we can't vendor runc master, so cherry-pick important bug fixes would be the way to go. After 1.10 released, we can vendor the whole runc mater again. In this model, I think the path sanitation patch which fixes security problem can also be cherry-picked, we just need someone open the PR. |
|
@cyphar we're still figuring out the process for vendoring and all suggestions to improve it are welcome. Having said that, currently, the process does not prevent us from sending subsequent vendoring PRs if need be. It seems to me that opencontainers/runc#470 was not approved in time for this round of vendoring. Your vendoring PR #19024 got indeed 2 LGTMs, but it was referencing your fork, which is not okay. We probably should make that clearer in the vendoring policy. About vendoring commits that are not in upstream master, I don't directly see it as a problem and I don't quite understand the issue you have with bisecting, however I do see problems with our vendoring policy and I suggest we continue this discussion on the maintainers mailing list or in a PR to the vendoring policy. Although we are in a release period, sorry for not addressing your issues in time. |
|
@tiborvass opencontainers/runc#470 got one LGTM and one tentative LGTM ("I'm okay with this but ..."). That's what I was referring to, and that counts as 2 IMO.
In SUSE, we backport fixes to bugs for 1.9.1 and (previously) 1.8.3. Quite a few bug fixes are in vendor commits (and sometimes bugs are caused by vendor commits). My workflow for such cases is something like:
Now, you could argue that it is possible to do the same thing without I would appreciate it if the vendoring policy at least required some detailed decription of the non- All of that being said, I'd be happy to start a dialogue about vendoring policy. Another weird thing that Docker appears to do is tag non-master branches with release tags (which is quite confusing). |
|
I agree we should improve the process for cherry-picking patches of vendors in release period, I got the same problem sometimes, it's all for developers. What about we just backport patches without touching vendor ids, and keep these patch in separate? |
This adds a fix for the resource struct in the cgroups type and seccomp
IsEnabled function
Fixes #19329
Signed-off-by: Michael Crosby crosbymichael@gmail.com