You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Ian Downes (JIRA)" <ji...@apache.org> on 2016/01/05 02:10:39 UTC

[jira] [Updated] (MESOS-4291) fs::enter(rootfs) does not work if 'rootfs' is read only.

     [ https://issues.apache.org/jira/browse/MESOS-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Downes updated MESOS-4291:
------------------------------
    Shepherd: Ian Downes

> fs::enter(rootfs) does not work if 'rootfs' is read only.
> ---------------------------------------------------------
>
>                 Key: MESOS-4291
>                 URL: https://issues.apache.org/jira/browse/MESOS-4291
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Jie Yu
>
> I noticed this when I was testing the unified containerizer with the bind mount backend and no volumes.
> The current implementation of fs::enter will put the old root under /tmp/._old_root_.XXXXXX in the new rootfs. It assumes that /tmp is writable in the new rootfs, but this might not be true, especially if the bind mount backend is used.
> To solve the problem, what we can do is to mount tmpfs to /tmp in the new rootfs and umount it after pivot_root.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)