Skip to content

--lock-file doesn't seem to lock? #540

@WhyNotHugo

Description

@WhyNotHugo

Simple example:

bwrap --dev-bind / / --lock-file /tmp/my-lock bash

If I run this once, I'd expect a lock to be taken on the file, and the second instance to not start. Instead, running a second instance of the same command runs normally.

Am I missing something in how --lock-file work?

Metadata

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