libcontainer: rm windows pieces#2700
libcontainer: rm windows pieces#2700kolyshkin wants to merge 3 commits intoopencontainers:masterfrom
Conversation
|
For context, this is |
Nothing is in there, so removing. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This was initially added by commit d78ee47 but later moved from libcontainer/configs to libcontainer/devices by commit 677baf2. Looks like since commit 677baf2 and also [1] there is no use for this, thus removing. [1] containers/buildah#2652 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Commit bf74951 added these two functions, but they are only used from Windows code. The v1 of this patch moved these functions to _windows.go file, but after some discussion we decided to drop windows code altogether, so this is what this patch now does. This fixes > libcontainer/user/user.go:64:6: func `groupFromOS` is unused (unused) > libcontainer/user/user.go:35:6: func `userFromOS` is unused (unused) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
|
rebased (for new CI) |
|
Is this still DNM? |
|
Ah, keep forgetting; I should try vendoring from this branch to see if (and where) things break |
Can we merge this right now? |
|
I'm fine with merging this, but we need to hear back from @thaJeztah as we don't want to break Docker |
testing if things break with opencontainers/runc#2700 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
Ah, sorry, forgot about this one; I think we should be fine, but opened docker/cli#3011 and moby/moby#42143, which vendor from this branch to see if things break |
|
@kolyshkin I opened kolyshkin#9 against your branch with some fixes that were needed to make it work (moby/moby#42143). Also opened #2851 with other changes related to that |
@kolyshkin could you have a look at kolyshkin#9 ? ^^ |
|
I rebased this one and included my patch from kolyshkin#9 in #2888 |
|
I'll close this in favour of #2888. |
libcontainer: rm windows pieces (carry #2700)
(this used to be part of #2695)
This removes some Windows-only code from libcontainer. See individual commits for details.