Skip to content

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

Open
@ruanformigoni

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,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions