You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2018/10/24 23:33:00 UTC
[jira] [Commented] (MESOS-9354) Automatically remount read-only
bind mounts.
[ https://issues.apache.org/jira/browse/MESOS-9354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662995#comment-16662995 ]
James Peach commented on MESOS-9354:
------------------------------------
/cc [~jieyu]
> Automatically remount read-only bind mounts.
> --------------------------------------------
>
> Key: MESOS-9354
> URL: https://issues.apache.org/jira/browse/MESOS-9354
> Project: Mesos
> Issue Type: Bug
> Components: agent, containerization
> Reporter: James Peach
> Priority: Minor
>
> To make a bind mount read-only, you have to first make the bind mount, then remount it with the read-only flag. This is a bit arcane, which is why mount(8) does it automatically. We should also do it automatically in {{fs::mount}} so that every caller doesn't have to carry special code to make it work correctly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)