{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/26532","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/26532/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/26532/comments","events_url":"https://api.github.com/repos/docker/docker/issues/26532/events","html_url":"https://github.com/docker/docker/issues/26532","id":176650394,"number":26532,"title":"mkimage.sh : permission denied when rinse-building centos7","user":{"login":"hervenicol","id":12008875,"avatar_url":"https://avatars.githubusercontent.com/u/12008875?v=3","gravatar_id":"","url":"https://api.github.com/users/hervenicol","html_url":"https://github.com/hervenicol","followers_url":"https://api.github.com/users/hervenicol/followers","following_url":"https://api.github.com/users/hervenicol/following{/other_user}","gists_url":"https://api.github.com/users/hervenicol/gists{/gist_id}","starred_url":"https://api.github.com/users/hervenicol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hervenicol/subscriptions","organizations_url":"https://api.github.com/users/hervenicol/orgs","repos_url":"https://api.github.com/users/hervenicol/repos","events_url":"https://api.github.com/users/hervenicol/events{/privacy}","received_events_url":"https://api.github.com/users/hervenicol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/project","name":"area/project","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-13T14:08:27Z","updated_at":"2016-09-14T08:50:45Z","closed_at":"2016-09-14T08:50:45Z","body":"Docker source tree at tag v1.12.1.\r\n\r\nRunning:\r\n`./mkimage.sh -t centos7 rinse --pkgs-dir \"$CURDIR\" --distribution centos-7 --mirror=\"$CENTOSMIRROR\"`\r\n\r\nFails at line 74:\r\n`rm -rf \"$rootfsDir/dev\" \"$rootfsDir/proc\"`\r\n\r\nwith tons of such errors:\r\n`rm: cannot remove '/var/tmp/docker-mkimage.CHjvLQR3Gs/rootfs/proc/sysrq-trigger': Operation not permitted`\r\n\r\nThe fact is `/var/tmp/docker-mkimage.CHjvLQR3Gs/rootfs/proc/ `and `/var/tmp/docker-mkimage.CHjvLQR3Gs/rootfs/sys/` are bind-mounts, hence they cannot be simply `rm -rf`.\r\n\r\nWe should first check for bind-mounts and umount them."}}
{"actor":{"display_login":"hervenicol"}}