-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Modification time in mounted volumes set to 1970-01-01 #3044
Comments
This is still present in v0.30.0 & also affects Hyper-V (as it's due to a bug in the third_party/go9p server). Maintainers, are you open to a patch in third_party/go9p/ufs_windows.go to resolve this? At the moment the code to set mtime and atime is commented out in that file. |
@ngoozeff - We would love a patch for this issue. |
@tstromberg - great, I'll get started on the CLA process. Do you have any requirements around test cases etc I should be aware of? |
@ngoozeff - That's a great question. There is a strong preference for the PR to include a unit test that currently breaks, but would not break with the newly included change. I'm not that familiar with the code here, so I'm not sure how feasible it is. It would also be useful to have a real-world integration test, by adding a functional test to: https://github.com/kubernetes/minikube/blob/master/test/integration/mount_test.go That way we won't accidentally reintroduce this issue sometime in the future. It could for example, touch a file locally and check that the file seen in the pod has roughly the same timestamp. |
…correct with windows host.
Fix for issue #3044 - mounted timestamps incorrect with windows host
Apparently fixed at head. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Please provide the following details:
Environment:
Minikube version
v0.28.0
Windows 10
virtualbox
What happened:
minikube mount
command.minikube ssh
stat
on a file in the mounted directoryWhat you expected to happen:
Anything else do we need to know:
The built in virtualbox drivers are far superior to the minikube options: I would much prefer to use them if it were possible. The 9p driver has crippled my ability to use minikube due to multiple bugs and performance issues, whereas the virtualbox drivers have many years of development gone into them, and are particularly well suited to dealing with the differences between windows/linux hosts.
The text was updated successfully, but these errors were encountered: