Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

scripts/pkg: improved detection of active mounts - #3710

#3710
Merged
squeed merged 2 commits into
rkt:masterrkt/rkt:masterfrom
tesujimath:rpm-scriptlet-partitionstesujimath/rkt:rpm-scriptlet-partitionsCopy head branch name to clipboard
Jun 16, 2017
Merged

scripts/pkg: improved detection of active mounts#3710
squeed merged 2 commits into
rkt:masterrkt/rkt:masterfrom
tesujimath:rpm-scriptlet-partitionstesujimath/rkt:rpm-scriptlet-partitionsCopy head branch name to clipboard

Conversation

@tesujimath

Copy link
Copy Markdown
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

ghost commented Jun 15, 2017

Copy link
Copy Markdown

Can one of the admins verify this patch?

@tesujimath

Copy link
Copy Markdown
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

squeed commented Jun 16, 2017

Copy link
Copy Markdown
Contributor

Oh man, good catch. Checking.

@squeed

squeed commented Jun 16, 2017

Copy link
Copy Markdown
Contributor

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.