Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Conversation

@tesujimath
Copy link
Contributor

On systems which have /var/lib/rkt as a separate partition, the active
mount detection in before-remove needs to not get confused by the
presence of /var/lib/rkt itself as a mount. Therefore a longer path
is used for active mount detection.

Fixes #3706

On systems which have /var/lib/rkt as a separate partition, the active
mount detection in before-remove needs to not get confused by the
presence of /var/lib/rkt itself as a mount.  Therefore a longer path
is used for active mount detection.

Fixes rkt#3706
@ghost
Copy link

ghost commented Jun 15, 2017

Can one of the admins verify this patch?

@tesujimath
Copy link
Contributor Author

@squeed PTAL

If /var/lib/rkt is a mountpoint, we can't remove it, so check for
this, and remove just the contents if it is so.
@squeed
Copy link
Contributor

squeed commented Jun 16, 2017

Oh man, good catch. Checking.

@squeed
Copy link
Contributor

squeed commented Jun 16, 2017

LGTM!

@squeed squeed merged commit 093c6c0 into rkt:master Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants