Skip to content

add lock mechanism or force unshare mnt to prevent multi intance clash #47

@BarryLhm

Description

@BarryLhm

i noticed some mount/umount operations is done during container setup, and this will probably cause race conditions. (if not operated in separate mount namespace)

a implementable solution is to create a lock file in /dev tmpfs and force a advisory lock during critical operations, or, just unshare beforehand.

this is to be further explored

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions