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

Hitting Ctrl-C on minikube mount fails to unmount volume #3853

Closed
tstromberg opened this issue Mar 11, 2019 · 0 comments
Closed

Hitting Ctrl-C on minikube mount fails to unmount volume #3853

tstromberg opened this issue Mar 11, 2019 · 0 comments
Assignees
Labels
area/mount good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@tstromberg
Copy link
Contributor

tstromberg commented Mar 11, 2019

% /usr/local/bin/minikube mount /tmp/700:/tmp/700
📁  Mounting /tmp/700 into /tmp/700 on the minikube VM
📌  This daemon process needs to stay alive for the mount to be accessible ...
ufs starting

If you hit Ctrl-C now, the VM still thinks the volume is mapped:

$ mount | grep 700 | grep /tmp/700
192.168.39.1 on /tmp/700 type 9p (rw,relatime,sync,dirsync,dfltuid=1001,dfltgid=1001,access=any,msize=65536,trans=tcp,noextend,port=43403)
$ stat /tmp/700
stat: cannot stat '/tmp/700': Input/output error

This means that subsequent changes to the mount point, such as uid/gid, might result in confusion within the host VM.

@tstromberg tstromberg added kind/bug Categorizes issue or PR as related to a bug. area/mount priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Mar 11, 2019
@tstromberg tstromberg self-assigned this Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mount good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

1 participant