{"action":"created","issue":{"url":"https://api.github.com/repos/RexOps/Rex/issues/747","labels_url":"https://api.github.com/repos/RexOps/Rex/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/RexOps/Rex/issues/747/comments","events_url":"https://api.github.com/repos/RexOps/Rex/issues/747/events","html_url":"https://github.com/RexOps/Rex/pull/747","id":97775636,"number":747,"title":"Detect services that are not already on runlevels","user":{"login":"theappleman","id":91307,"avatar_url":"https://avatars.githubusercontent.com/u/91307?v=3","gravatar_id":"","url":"https://api.github.com/users/theappleman","html_url":"https://github.com/theappleman","followers_url":"https://api.github.com/users/theappleman/followers","following_url":"https://api.github.com/users/theappleman/following{/other_user}","gists_url":"https://api.github.com/users/theappleman/gists{/gist_id}","starred_url":"https://api.github.com/users/theappleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theappleman/subscriptions","organizations_url":"https://api.github.com/users/theappleman/orgs","repos_url":"https://api.github.com/users/theappleman/repos","events_url":"https://api.github.com/users/theappleman/events{/privacy}","received_events_url":"https://api.github.com/users/theappleman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ferki","id":3117609,"avatar_url":"https://avatars.githubusercontent.com/u/3117609?v=3","gravatar_id":"","url":"https://api.github.com/users/ferki","html_url":"https://github.com/ferki","followers_url":"https://api.github.com/users/ferki/followers","following_url":"https://api.github.com/users/ferki/following{/other_user}","gists_url":"https://api.github.com/users/ferki/gists{/gist_id}","starred_url":"https://api.github.com/users/ferki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferki/subscriptions","organizations_url":"https://api.github.com/users/ferki/orgs","repos_url":"https://api.github.com/users/ferki/repos","events_url":"https://api.github.com/users/ferki/events{/privacy}","received_events_url":"https://api.github.com/users/ferki/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RexOps/Rex/milestones/51","html_url":"https://github.com/RexOps/Rex/milestones/1.3.3","labels_url":"https://api.github.com/repos/RexOps/Rex/milestones/51/labels","id":1257113,"number":51,"title":"1.3.3","description":"","creator":{"login":"ferki","id":3117609,"avatar_url":"https://avatars.githubusercontent.com/u/3117609?v=3","gravatar_id":"","url":"https://api.github.com/users/ferki","html_url":"https://github.com/ferki","followers_url":"https://api.github.com/users/ferki/followers","following_url":"https://api.github.com/users/ferki/following{/other_user}","gists_url":"https://api.github.com/users/ferki/gists{/gist_id}","starred_url":"https://api.github.com/users/ferki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferki/subscriptions","organizations_url":"https://api.github.com/users/ferki/orgs","repos_url":"https://api.github.com/users/ferki/repos","events_url":"https://api.github.com/users/ferki/events{/privacy}","received_events_url":"https://api.github.com/users/ferki/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":5,"state":"open","created_at":"2015-08-16T20:57:34Z","updated_at":"2015-08-22T07:17:24Z","due_on":"2015-08-22T22:00:00Z","closed_at":null},"comments":11,"created_at":"2015-07-28T18:52:58Z","updated_at":"2015-08-22T07:19:26Z","closed_at":"2015-08-22T07:17:24Z","pull_request":{"url":"https://api.github.com/repos/RexOps/Rex/pulls/747","html_url":"https://github.com/RexOps/Rex/pull/747","diff_url":"https://github.com/RexOps/Rex/pull/747.diff","patch_url":"https://github.com/RexOps/Rex/pull/747.patch"},"body":"Services that are not enabled in a runlevel are terminated with a\r\nnewline in `rc-config list`. This newline does not match the grep\r\npattern \"\\s\" and Rex reports that the service does not exist.\r\n\r\nMake service_exists look for word breaks \"\\b\". This includes spaces and\r\nnewlines.\r\n\r\n\t$ rc-config list | grep \"\\sepmd\\s\"\r\n\t$ rc-config list | grep \"\\bepmd\\b\"\r\n\t  epmd\r\n\t$ rc-config list | grep \"\\bepmd\\b\" | xxd\r\n\t0000000: 2020 6570 6d64 0a                          epmd.\r\n\t$ rc-config list | grep \"\\budev\\b\" | xxd\r\n\t0000000: 2020 7564 6576 2020 2020 2020 2020 2020    udev\r\n\t0000010: 2020 2020 2020 2020 2020 2020 7379 7369    sysi\r\n\t0000020: 6e69 740a                                  nit."},"comment":{"url":"https://api.github.com/repos/RexOps/Rex/issues/comments/133648236","html_url":"https://github.com/RexOps/Rex/pull/747#issuecomment-133648236","issue_url":"https://api.github.com/repos/RexOps/Rex/issues/747","id":133648236,"user":{"login":"ferki","id":3117609,"avatar_url":"https://avatars.githubusercontent.com/u/3117609?v=3","gravatar_id":"","url":"https://api.github.com/users/ferki","html_url":"https://github.com/ferki","followers_url":"https://api.github.com/users/ferki/followers","following_url":"https://api.github.com/users/ferki/following{/other_user}","gists_url":"https://api.github.com/users/ferki/gists{/gist_id}","starred_url":"https://api.github.com/users/ferki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferki/subscriptions","organizations_url":"https://api.github.com/users/ferki/orgs","repos_url":"https://api.github.com/users/ferki/repos","events_url":"https://api.github.com/users/ferki/events{/privacy}","received_events_url":"https://api.github.com/users/ferki/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T07:19:26Z","updated_at":"2015-08-22T07:19:26Z","body":"@theappleman: as I'd like to get things moving forward, I just went ahead and fixed the original issue with the detection command mentioned above. Thanks for your report and help working on this!"}}