{"action":"opened","issue":{"url":"https://api.github.com/repos/coreos/rkt/issues/996","labels_url":"https://api.github.com/repos/coreos/rkt/issues/996/labels{/name}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/996/comments","events_url":"https://api.github.com/repos/coreos/rkt/issues/996/events","html_url":"https://github.com/coreos/rkt/issues/996","id":85365923,"number":996,"title":"Failure message is not helpful for error nspawn bind mounts","user":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T01:34:50Z","updated_at":"2015-06-05T01:34:50Z","closed_at":null,"body":"For example, run the [this](https://gist.github.com/yifan-gu/262242e7610b991de697#file-badmount_manifest-json) pod manifest which has a non-existed path in the volumes:\r\n```shell\r\n$ sudo rkt --debug run --pod-manifest $MANIFEST\r\n```\r\n\r\nWe will get:\r\n``` shell\r\nrkt: fetching image from file:///home/yifan/github.com/coreos/rkt/bin/stage1.aci\r\n2015/06/04 18:29:58 Preparing stage1\r\n2015/06/04 18:29:58 Loading image sha512-86aa5fa7158bf69d9b1078f2c557b971315bf4304f3036c4518ebd26c7205cdf\r\n2015/06/04 18:29:58 Writing pod manifest\r\n2015/06/04 18:29:58 Setting up stage1\r\n2015/06/04 18:29:58 Writing image manifest\r\n2015/06/04 18:29:58 Wrote filesystem to /var/lib/rkt/pods/run/f467f5de-d5ab-4a38-b59a-538ac89536aa\r\n2015/06/04 18:29:58 Writing image manifest\r\n2015/06/04 18:29:58 Pivoting to filesystem /var/lib/rkt/pods/run/f467f5de-d5ab-4a38-b59a-538ac89536aa\r\n2015/06/04 18:29:58 Execing /init\r\nSpawning container rkt-f467f5de-d5ab-4a38-b59a-538ac89536aa on /var/lib/rkt/pods/run/f467f5de-d5ab-4a38-b59a-538ac89536aa/stage1/rootfs.\r\nPress ^] three times within 1s to kill container.\r\nContainer rkt-f467f5de-d5ab-4a38-b59a-538ac89536aa failed with error code 1.\r\n```\r\n\r\nWhich tells nothing about the wrong volume path. It seems that this is because `nspawn` doesn't provide much information on such error.\r\n\r\n/cc @alban @jonboulle "}}