containers / containers/bubblewrap

bwrap can exit while overlayfs upper directory is still busy, preventing reuse in a subsequent command

Open
#672 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.7k
Forks
386
Avg merge
3d 17h
Merged PRs (30d)
11

Description

Greetings,

I have encountered some issues when using bwrap's native overlay options in constrast to fuse-overlayfs, these issues stem from the lack of a lazy unmount option. Bwrap overlayfs upper directory stays busy for too long, and when used in scripts some sequential commands fail unless there is an explicit delay with `sleep`, I could not wait with `lsof`, maybe because the mountpoint can only be seen in bwrap's namespace. Could it be possible for lazy un-mounting (`MNT_DETACH`) to be an option?

Best,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.