{"action":"closed","issue":{"url":"https://api.github.com/repos/geerlingguy/ansible-role-solr/issues/92","repository_url":"https://api.github.com/repos/geerlingguy/ansible-role-solr","labels_url":"https://api.github.com/repos/geerlingguy/ansible-role-solr/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/geerlingguy/ansible-role-solr/issues/92/comments","events_url":"https://api.github.com/repos/geerlingguy/ansible-role-solr/issues/92/events","html_url":"https://github.com/geerlingguy/ansible-role-solr/issues/92","id":297638370,"number":92,"title":"Daemonize seems to fail on Ubuntu in some cases","user":{"login":"geerlingguy","id":481677,"avatar_url":"https://avatars1.githubusercontent.com/u/481677?v=4","gravatar_id":"","url":"https://api.github.com/users/geerlingguy","html_url":"https://github.com/geerlingguy","followers_url":"https://api.github.com/users/geerlingguy/followers","following_url":"https://api.github.com/users/geerlingguy/following{/other_user}","gists_url":"https://api.github.com/users/geerlingguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geerlingguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geerlingguy/subscriptions","organizations_url":"https://api.github.com/users/geerlingguy/orgs","repos_url":"https://api.github.com/users/geerlingguy/repos","events_url":"https://api.github.com/users/geerlingguy/events{/privacy}","received_events_url":"https://api.github.com/users/geerlingguy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-15T23:50:22Z","updated_at":"2018-02-15T23:54:32Z","closed_at":"2018-02-15T23:54:32Z","author_association":"OWNER","body":"On a fresh install today I ran into the following:\r\n\r\n```\r\nTASK [geerlingguy.solr : Ensure solr is started and enabled on boot if configured.] ************************************\r\nfatal: [ned7.hostedapachesolr.com]: FAILED! => {\"changed\": false, \"msg\": \"daemon: ignoring unsafe /etc/daemon.conf (/ is group writable)\\ndaemon: fatal: refusing to execute unsafe program: java (/ is group writable)\\n\"}\r\n```\r\n\r\nThis was because on this particular Ubuntu 14.04 instance, I installed Java from software collections, and it's a symlink, and that symlink has 777 permissions (the actual binary is owned by root and has 755 I think).\r\n\r\nSo the `daemon` command can/should use the `-U` option to allow 'unsafe' binaries, which could be the case in many common scenarios."}}
{"actor":{"display_login":"geerlingguy"}}