Bug 1410525 - rootfsPropagation not working
Summary: rootfsPropagation not working
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: runc
Version: 7.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-05 16:24 UTC by Qian Cai
Modified: 2017-01-10 22:45 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-10 22:45:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Qian Cai 2017-01-05 16:24:20 UTC
Description of problem:
Having this in config.json

    "linux": {
        "rootfsPropagation": "shared"
...
    "root": {
        "path": "rootfs",
        "readonly": false

# runc start -d root
# mount -o bind /tmp/ rootfs/mnt/
# runc exec root mount | grep mnt
# echo $?
1

Version-Release number of selected component (if applicable):
runc-0.1.1-5.el7.x86_64

How reproducible:
always

Comment 2 Qian Cai 2017-01-10 22:45:40 UTC
OK, just figured it out how it works.


Note You need to log in before you can comment on or make changes to this bug.