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

Delete the Windows storage driver? #2009

Open
mtrmac opened this issue Jul 10, 2024 · 5 comments
Open

Delete the Windows storage driver? #2009

mtrmac opened this issue Jul 10, 2024 · 5 comments

Comments

@mtrmac
Copy link
Collaborator

mtrmac commented Jul 10, 2024

Ever since 1eba391 in Sep 2017 the driver’s test can’t compile because a addAceToSddlDacl function is missing.

Clearly no-one is even trying to make it functional.

Can we remove that code? If we ever did want to add a Windows support, the old code can always be fished out of git.

@rhatdan
Copy link
Member

rhatdan commented Jul 11, 2024

SGTM

@nalind
Copy link
Member

nalind commented Aug 7, 2024

That call is in the unit test which only run on Windows, so CI doesn't run them. The driver itself compiles, for whatever that's worth.

@Luap99
Copy link
Member

Luap99 commented Jan 21, 2025

To add another reason, just noticed go.opencensus.io has an expired SSL cert and thus fails new vendor in CI (or well locally if this version was not downloaded before). To work around that we must use the golang proxy to vendor and cannot use the direct mode (fedora golang default), see containers/common#2300.

Looking into why we import this package which has been archived a while ago points back here in c/storage to the windows driver. Dropping it would solve that as well AFAICS.

 go mod why go.opencensus.io
# go.opencensus.io
github.com/containers/storage/drivers/windows
github.com/Microsoft/hcsshim
github.com/Microsoft/hcsshim/internal/hcs
go.opencensus.io/trace
go.opencensus.io/internal
go.opencensus.io

@mtrmac
Copy link
Collaborator Author

mtrmac commented Jan 21, 2025

microsoft/hcsshim#2136 tracks removing the dependency.

@rhatdan
Copy link
Member

rhatdan commented Jan 21, 2025

Why not just delete the support from C/S?

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

4 participants