{"action":"created","issue":{"url":"https://api.github.com/repos/opencontainers/runc/issues/1523","repository_url":"https://api.github.com/repos/opencontainers/runc","labels_url":"https://api.github.com/repos/opencontainers/runc/issues/1523/labels{/name}","comments_url":"https://api.github.com/repos/opencontainers/runc/issues/1523/comments","events_url":"https://api.github.com/repos/opencontainers/runc/issues/1523/events","html_url":"https://github.com/opencontainers/runc/issues/1523","id":243266562,"number":1523,"title":"bind mounting /etc/resolv.conf fails ","user":{"login":"yuvipanda","id":30430,"avatar_url":"https://avatars6.githubusercontent.com/u/30430?v=4","gravatar_id":"","url":"https://api.github.com/users/yuvipanda","html_url":"https://github.com/yuvipanda","followers_url":"https://api.github.com/users/yuvipanda/followers","following_url":"https://api.github.com/users/yuvipanda/following{/other_user}","gists_url":"https://api.github.com/users/yuvipanda/gists{/gist_id}","starred_url":"https://api.github.com/users/yuvipanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuvipanda/subscriptions","organizations_url":"https://api.github.com/users/yuvipanda/orgs","repos_url":"https://api.github.com/users/yuvipanda/repos","events_url":"https://api.github.com/users/yuvipanda/events{/privacy}","received_events_url":"https://api.github.com/users/yuvipanda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-07-16T21:08:00Z","updated_at":"2017-07-17T08:19:00Z","closed_at":null,"body":"I'm trying to run a rootless container on a Linux machine.\r\n\r\n*How to reproduce*\r\n\r\n```\r\n$ skopeo --insecure-policy copy docker://opensuse/amd64:42.2 oci:opensuse:latest\r\n$umoci unpack --rootless --image singleuser:latest bundle\r\n$ runc  --root /tmp/^Cnc run  test\r\ncontainer_linux.go:265: starting container process caused \"process_linux.go:348: container init caused \\\"rootfs_linux.go:57: mounting \\\\\\\"/etc/resolv.conf\\\\\\\" to rootfs \\\\\\\"/home/yuvipanda/code/ferry-commute/bundle/rootfs\\\\\\\" at \\\\\\\"/home/yuvipanda/code/ferry-commute/bundle/rootfs/etc/resolv.conf\\\\\\\" caused \\\\\\\"operation not permitted\\\\\\\"\\\"\"\r\n```\r\n\r\nI suspect that the problem is related to the fact that my $HOME is mounted with encfs and has nodev & nosuid (maybe related to https://github.com/opencontainers/runc/issues/1247?)\r\n\r\n```\r\n/home/.ecryptfs/yuvipanda/.Private on /home/yuvipanda type ecryptfs (rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=bf2ce9e5622d0c40,ecryptfs_sig=ae8560bd6ae1015e,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs)\r\n```"},"comment":{"url":"https://api.github.com/repos/opencontainers/runc/issues/comments/315692843","html_url":"https://github.com/opencontainers/runc/issues/1523#issuecomment-315692843","issue_url":"https://api.github.com/repos/opencontainers/runc/issues/1523","id":315692843,"user":{"login":"cyphar","id":2888411,"avatar_url":"https://avatars5.githubusercontent.com/u/2888411?v=4","gravatar_id":"","url":"https://api.github.com/users/cyphar","html_url":"https://github.com/cyphar","followers_url":"https://api.github.com/users/cyphar/followers","following_url":"https://api.github.com/users/cyphar/following{/other_user}","gists_url":"https://api.github.com/users/cyphar/gists{/gist_id}","starred_url":"https://api.github.com/users/cyphar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyphar/subscriptions","organizations_url":"https://api.github.com/users/cyphar/orgs","repos_url":"https://api.github.com/users/cyphar/repos","events_url":"https://api.github.com/users/cyphar/events{/privacy}","received_events_url":"https://api.github.com/users/cyphar/received_events","type":"User","site_admin":false},"created_at":"2017-07-17T08:19:00Z","updated_at":"2017-07-17T08:19:00Z","body":"Never mind, his fixes were related but not meant to fix this precise issue. It's quite odd that we're trying to remount a mount without changing any of its flags."}}
{"actor":{"display_login":"cyphar"}}