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

Mount leak in platform_supports_deferred_deletion() #162

Open
edsantiago opened this issue Nov 1, 2016 · 5 comments
Open

Mount leak in platform_supports_deferred_deletion() #162

edsantiago opened this issue Nov 1, 2016 · 5 comments

Comments

@edsantiago
Copy link

Line 141:

mount -o bind $TEMPDIR $TEMPDIR

...but lines 143 & 148 return without umounting. System is then left with stuck mounts:

/dev/vda1 on /tmp/tmp.vBynTZ78If type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
@rhvgoyal
Copy link
Collaborator

rhvgoyal commented Nov 1, 2016

Ed, in your case which line is returning without mounting? 143 or 148?

@edsantiago
Copy link
Author

It's actually 143, because of what I can only assume is a packaging bug: /usr/lib/docker{,-latest}-storage-setup/dss-child-read-write does not seem to exist. I'm 99% sure, once I get to 100% I'll file a bz

@rhvgoyal
Copy link
Collaborator

rhvgoyal commented Nov 1, 2016

cc @lsm5

@edsantiago
Copy link
Author

Regardless of which return is at fault, both should be fixed (add umount before each one)

@rhvgoyal
Copy link
Collaborator

rhvgoyal commented Nov 1, 2016

yep, I am fixing that now

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

2 participants