containers / containers/crun

report errors when attempting to reset a locked mount flag

Open
#1,724 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
4.1k
Forks
444
Avg merge
1d 18h
Merged PRs (30d)
43

Description

Implement the same change present in runc since version 1.12 (https://github.com/opencontainers/runc/pull/3967).

Currently, when users attempts to clear locked flags (such as using rw to clear the MS_RDONLY flag), crun silently ignores the request, resulting in mounts remaining read-only.

So make sure that each request is either honored or an error message is returned.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.