{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/3711","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/3711/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/3711/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/3711/events","html_url":"https://github.com/systemd/systemd/issues/3711","id":165170659,"number":3711,"title":"systemd-nspawn -D <container> fails to create directory","user":{"login":"wsw70","id":1345886,"avatar_url":"https://avatars.githubusercontent.com/u/1345886?v=3","gravatar_id":"","url":"https://api.github.com/users/wsw70","html_url":"https://github.com/wsw70","followers_url":"https://api.github.com/users/wsw70/followers","following_url":"https://api.github.com/users/wsw70/following{/other_user}","gists_url":"https://api.github.com/users/wsw70/gists{/gist_id}","starred_url":"https://api.github.com/users/wsw70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsw70/subscriptions","organizations_url":"https://api.github.com/users/wsw70/orgs","repos_url":"https://api.github.com/users/wsw70/repos","events_url":"https://api.github.com/users/wsw70/events{/privacy}","received_events_url":"https://api.github.com/users/wsw70/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T20:18:31Z","updated_at":"2016-07-13T07:02:23Z","closed_at":null,"body":"### Submission type\r\n\r\n  - [x] Bug report\r\n  - [ ] Request for enhancement (RFE)\r\n\r\n### systemd version the issue has been seen with\r\n\r\n> 229\r\n\r\n### Used distribution\r\n\r\n> Ubuntu 16.04 (xenial)\r\n\r\n### In case of bug report: Expected behaviour you didn't see\r\n\r\n> (no error messages)\r\n\r\n### In case of bug report: Unexpected behaviour you saw\r\n\r\n> error message `Failed to create directory /var/lib/machines/testcont/sys/fs/selinux: Read-only file system`\r\n\r\n\r\n### In case of bug report: Steps to reproduce the problem\r\n\r\n```\r\n# mkdir /var/lib/machines\r\n# cd /var/lib/machines\r\n# debootstrap xenial testcont http://fr.archive.ubuntu.com/ubuntu/\r\n(output from the creation of the base system, no errors)\r\nI: Retrieving InRelease\r\nI: Checking Release signature\r\nI: Valid Release signature (key id 790BC7277767219C42C86F933B4FE6ACC0B21F32)\r\n(...)\r\nI: Configuring ureadahead...\r\nI: Configuring resolvconf...\r\nI: Base system installed successfully.\r\n# systemd-nspawn -D testcont\r\nSpawning container testcont on /var/lib/machines/testcont.\r\nPress ^] three times within 1s to kill container.\r\nFailed to create directory /var/lib/machines/testcont/sys/fs/selinux: Read-only file system\r\nFailed to create directory /var/lib/machines/testcont/sys/fs/selinux: Read-only file system\r\nroot@testcon #\r\n```"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/232273100","html_url":"https://github.com/systemd/systemd/issues/3711#issuecomment-232273100","issue_url":"https://api.github.com/repos/systemd/systemd/issues/3711","id":232273100,"user":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T07:02:23Z","updated_at":"2016-07-13T07:02:23Z","body":"hmm, i figure your kernel doesn't have selinux enabled, does it? I figure we need to be more permissive with expecting that /sys/fs/selinux exists in sysfs as empty directory that selinuxfs can be mounted on"}}
{"actor":{"display_login":"poettering"}}