{"action":"created","issue":{"url":"https://api.github.com/repos/rear/rear/issues/564","labels_url":"https://api.github.com/repos/rear/rear/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/rear/rear/issues/564/comments","events_url":"https://api.github.com/repos/rear/rear/issues/564/events","html_url":"https://github.com/rear/rear/issues/564","id":60665655,"number":564,"title":"Exit codes","user":{"login":"clausa","id":432453,"avatar_url":"https://avatars.githubusercontent.com/u/432453?v=3","gravatar_id":"","url":"https://api.github.com/users/clausa","html_url":"https://github.com/clausa","followers_url":"https://api.github.com/users/clausa/followers","following_url":"https://api.github.com/users/clausa/following{/other_user}","gists_url":"https://api.github.com/users/clausa/gists{/gist_id}","starred_url":"https://api.github.com/users/clausa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clausa/subscriptions","organizations_url":"https://api.github.com/users/clausa/orgs","repos_url":"https://api.github.com/users/clausa/repos","events_url":"https://api.github.com/users/clausa/events{/privacy}","received_events_url":"https://api.github.com/users/clausa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rear/rear/labels/discuss","name":"discuss","color":"ffa500"},{"url":"https://api.github.com/repos/rear/rear/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rear/rear/milestones/6","html_url":"https://github.com/rear/rear/milestones/Rear%20v1.18","labels_url":"https://api.github.com/repos/rear/rear/milestones/6/labels","id":650141,"number":6,"title":"Rear v1.18","description":"","creator":{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":1,"state":"open","created_at":"2014-05-06T07:33:02Z","updated_at":"2015-03-20T09:35:01Z","due_on":"2015-06-29T22:00:00Z","closed_at":null},"comments":10,"created_at":"2015-03-11T14:22:31Z","updated_at":"2015-03-21T19:52:51Z","closed_at":null,"body":"We are running \"/usr/sbin/rear checklayout || /usr/sbin/rear mkrescue\" from cron.\r\n\r\nIf EXIT_CODE gets set to a non-zero value anywhere in the code, /usr/sbin/rear writes \"WARNING rc=$EXIT_CODE\" to syslog. That triggers a logcheck script to notify our monitoring system - so someone can look into this.\r\n\r\nHowever, if there is a change in the layout, EXIT_CODE is set to 1, in order to trigger mkrescue to run.\r\n\r\nUnfortunately that also result in a WARNING in syslog, which creates a false alarm.\r\n\r\nAny suggestions, on how to \"fix\" this?\r\n "},"comment":{"url":"https://api.github.com/repos/rear/rear/issues/comments/84445719","html_url":"https://github.com/rear/rear/issues/564#issuecomment-84445719","issue_url":"https://api.github.com/repos/rear/rear/issues/564","id":84445719,"user":{"login":"schlomo","id":101384,"avatar_url":"https://avatars.githubusercontent.com/u/101384?v=3","gravatar_id":"","url":"https://api.github.com/users/schlomo","html_url":"https://github.com/schlomo","followers_url":"https://api.github.com/users/schlomo/followers","following_url":"https://api.github.com/users/schlomo/following{/other_user}","gists_url":"https://api.github.com/users/schlomo/gists{/gist_id}","starred_url":"https://api.github.com/users/schlomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlomo/subscriptions","organizations_url":"https://api.github.com/users/schlomo/orgs","repos_url":"https://api.github.com/users/schlomo/repos","events_url":"https://api.github.com/users/schlomo/events{/privacy}","received_events_url":"https://api.github.com/users/schlomo/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T19:52:51Z","updated_at":"2015-03-21T19:52:51Z","body":"I just had a look. May way to implement this would be to take a checksum of the layout and gracefully exit if the checksum did not change after saving the layout."}}