Bug 1410525

Summary: rootfsPropagation not working
Product: Red Hat Enterprise Linux 7 Reporter: Qian Cai <qcai>
Component: runcAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED NOTABUG QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.3Keywords: Extras
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-10 22:45:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.