{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/150","repository_url":"https://api.github.com/repos/elastic/ansible-elasticsearch","labels_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/150/comments","events_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/150/events","html_url":"https://github.com/elastic/ansible-elasticsearch/issues/150","id":175943790,"number":150,"title":"What if /usr is (mostly) read-only","user":{"login":"jlecour","id":5142,"avatar_url":"https://avatars.githubusercontent.com/u/5142?v=3","gravatar_id":"","url":"https://api.github.com/users/jlecour","html_url":"https://github.com/jlecour","followers_url":"https://api.github.com/users/jlecour/followers","following_url":"https://api.github.com/users/jlecour/following{/other_user}","gists_url":"https://api.github.com/users/jlecour/gists{/gist_id}","starred_url":"https://api.github.com/users/jlecour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlecour/subscriptions","organizations_url":"https://api.github.com/users/jlecour/orgs","repos_url":"https://api.github.com/users/jlecour/repos","events_url":"https://api.github.com/users/jlecour/events{/privacy}","received_events_url":"https://api.github.com/users/jlecour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-09T07:17:54Z","updated_at":"2016-09-09T07:17:54Z","closed_at":null,"body":"Hi,\r\n\r\nI'm used to have the `/usr` partition as \"read-only\". It's a security policy.\r\n\r\nI'm using Debian and with **apt** there is an easy way to remount the partition as \"read-write\" before installing a package and then back to read-only after. In the Debian ecosystem it's quite an usual habit and it's more and more taken into account at the distribution level.\r\n\r\nWith this Ansible role, I can't install the SystemD unit.\r\n\r\nI think we can deal with this with a couple of action that would detect if `/usr` is a separate partition and if it's read-only. Then it would do the remount dance around installing the SystemD unit.\r\n\r\nWhat do you think about this?"}}
{"actor":{"display_login":"jlecour"}}