{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vagrant/issues/10234","repository_url":"https://api.github.com/repos/hashicorp/vagrant","labels_url":"https://api.github.com/repos/hashicorp/vagrant/issues/10234/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vagrant/issues/10234/comments","events_url":"https://api.github.com/repos/hashicorp/vagrant/issues/10234/events","html_url":"https://github.com/hashicorp/vagrant/issues/10234","id":363297058,"node_id":"MDU6SXNzdWUzNjMyOTcwNTg=","number":10234,"title":"tee: /etc/exports: Operation not permitted on macOS 10.14 Mojave with nfs exports","user":{"login":"chregu","id":47106,"node_id":"MDQ6VXNlcjQ3MTA2","avatar_url":"https://avatars3.githubusercontent.com/u/47106?v=4","gravatar_id":"","url":"https://api.github.com/users/chregu","html_url":"https://github.com/chregu","followers_url":"https://api.github.com/users/chregu/followers","following_url":"https://api.github.com/users/chregu/following{/other_user}","gists_url":"https://api.github.com/users/chregu/gists{/gist_id}","starred_url":"https://api.github.com/users/chregu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chregu/subscriptions","organizations_url":"https://api.github.com/users/chregu/orgs","repos_url":"https://api.github.com/users/chregu/repos","events_url":"https://api.github.com/users/chregu/events{/privacy}","received_events_url":"https://api.github.com/users/chregu/received_events","type":"User","site_admin":false},"labels":[{"id":192400390,"node_id":"MDU6TGFiZWwxOTI0MDAzOTA=","url":"https://api.github.com/repos/hashicorp/vagrant/labels/host/darwin","name":"host/darwin","color":"d4c5f9","default":false},{"id":218284866,"node_id":"MDU6TGFiZWwyMTgyODQ4NjY=","url":"https://api.github.com/repos/hashicorp/vagrant/labels/synced-folders/nfs","name":"synced-folders/nfs","color":"fef2c0","default":false},{"id":54083999,"node_id":"MDU6TGFiZWw1NDA4Mzk5OQ==","url":"https://api.github.com/repos/hashicorp/vagrant/labels/thinking","name":"thinking","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-24T19:57:11Z","updated_at":"2018-09-24T21:09:08Z","closed_at":null,"author_association":"NONE","body":"On macOS 10.14 Mojave (official release from the app store) vagrant doesn't seem to be able to write to /etc/exports anymore while trying to make a NFS mount. root isn't allowed to do that anymore due to \r\nSystem Integrity Protection. Disabling that permanently certainly isn't a solution, but helps to at least get back an /etc/exports file with all the needed entries.\r\n\r\n### Vagrant version\r\nVagrant 2.1.5\r\n\r\n### Host operating system\r\nmacOS 10.14 Mojave\r\n\r\n### Guest operating system\r\nLinux, but doesn't matter, it fails bevore\r\n\r\n### Vagrantfile\r\nNot important\r\n\r\n### Debug output\r\ntee: /etc/exports: Operation not permitted\r\ntee: /etc/exports: Operation not permitted\r\ntee: /etc/exports: Operation not permitted\r\n\r\n### Expected behavior\r\nIt can write to /etc/exports\r\n\r\n### Actual behavior\r\nIt can't due to Mojave's apparently extended System Integrity Protection.\r\n\r\n### Steps to reproduce\r\n\r\n1. Install maxOS 10.14 Mojave\r\n2. vagrant up on a Vagrantfile with nfs mounts\r\n\r\n### References\r\nhttps://groups.google.com/forum/#!topic/vagrant-up/iqyaZNpcyzM\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/vagrant/issues/comments/424125823","html_url":"https://github.com/hashicorp/vagrant/issues/10234#issuecomment-424125823","issue_url":"https://api.github.com/repos/hashicorp/vagrant/issues/10234","id":424125823,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDEyNTgyMw==","user":{"login":"kamilgrzegorczyk","id":665560,"node_id":"MDQ6VXNlcjY2NTU2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/665560?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilgrzegorczyk","html_url":"https://github.com/kamilgrzegorczyk","followers_url":"https://api.github.com/users/kamilgrzegorczyk/followers","following_url":"https://api.github.com/users/kamilgrzegorczyk/following{/other_user}","gists_url":"https://api.github.com/users/kamilgrzegorczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilgrzegorczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilgrzegorczyk/subscriptions","organizations_url":"https://api.github.com/users/kamilgrzegorczyk/orgs","repos_url":"https://api.github.com/users/kamilgrzegorczyk/repos","events_url":"https://api.github.com/users/kamilgrzegorczyk/events{/privacy}","received_events_url":"https://api.github.com/users/kamilgrzegorczyk/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T21:09:08Z","updated_at":"2018-09-24T21:09:08Z","author_association":"NONE","body":"I made the same fix - reverted to \"default\" sync type in my puPHPet config.yaml\r\nObviously it won't be so performant as NFS but will do for now. \r\n\r\nIt looks like we have again issues with NFS popping up after new system release (there were plenty of issues with NFS after High Sierra upgade)."}}
{"actor":{"display_login":"kamilgrzegorczyk"}}