{"action":"created","issue":{"url":"https://api.github.com/repos/mm2270/CasperSuiteScripts/issues/6","repository_url":"https://api.github.com/repos/mm2270/CasperSuiteScripts","labels_url":"https://api.github.com/repos/mm2270/CasperSuiteScripts/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mm2270/CasperSuiteScripts/issues/6/comments","events_url":"https://api.github.com/repos/mm2270/CasperSuiteScripts/issues/6/events","html_url":"https://github.com/mm2270/CasperSuiteScripts/issues/6","id":134937743,"number":6,"title":"reboot_scheduler exit error: shutdown: can't detach from console Error running script: return code was 255.","user":{"login":"krispayne","id":70580,"avatar_url":"https://avatars.githubusercontent.com/u/70580?v=3","gravatar_id":"","url":"https://api.github.com/users/krispayne","html_url":"https://github.com/krispayne","followers_url":"https://api.github.com/users/krispayne/followers","following_url":"https://api.github.com/users/krispayne/following{/other_user}","gists_url":"https://api.github.com/users/krispayne/gists{/gist_id}","starred_url":"https://api.github.com/users/krispayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krispayne/subscriptions","organizations_url":"https://api.github.com/users/krispayne/orgs","repos_url":"https://api.github.com/users/krispayne/repos","events_url":"https://api.github.com/users/krispayne/events{/privacy}","received_events_url":"https://api.github.com/users/krispayne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-19T18:18:13Z","updated_at":"2016-03-10T20:14:17Z","closed_at":null,"body":"When using reboot_scheduler in a policy in Casper, the following error sometimes is returned:\r\n\r\n```\r\nExecuting Policy Weekly Software Updates (Creative)\r\nRunning script reboot_scheduler.sh...\r\nScript exit code: 255\r\nScript result: Start timestamp: Fri Feb 19 09:58:22 PST 2016\r\nA user \"blee\" is logged in on this Mac. Proceeding...\r\nNo pre-assigned deferral was set for the script. Prompting user for input...\r\n2016-02-19 09:58:50.723 cocoaDialog[10231:92956] Couldn't contact spell checker for U.S. English\r\nUser chose a 5 minute deferral for reboot\r\nreboot delay is 5\r\nBeginning 5 minute reboot delay\r\nshutdown: [pid 10548]\r\nShutdown at Fri Feb 19 10:03:57 2016.\r\nshutdown: can't detach from console\r\nError running script: return code was 255.\r\nRunning command softwareupdate -i -a...\r\nResult of command:\r\nNo updates are available.\r\nSoftware Update Tool\r\nCopyright 2002-2012 Apple Inc.\r\n\r\nFinding available software\r\nRunning Recon...\r\n```\r\n\r\nDefinitely running CD 3.0-beta 7. Is this an error with CD or with the script?"},"comment":{"url":"https://api.github.com/repos/mm2270/CasperSuiteScripts/issues/comments/195028516","html_url":"https://github.com/mm2270/CasperSuiteScripts/issues/6#issuecomment-195028516","issue_url":"https://api.github.com/repos/mm2270/CasperSuiteScripts/issues/6","id":195028516,"user":{"login":"krispayne","id":70580,"avatar_url":"https://avatars.githubusercontent.com/u/70580?v=3","gravatar_id":"","url":"https://api.github.com/users/krispayne","html_url":"https://github.com/krispayne","followers_url":"https://api.github.com/users/krispayne/followers","following_url":"https://api.github.com/users/krispayne/following{/other_user}","gists_url":"https://api.github.com/users/krispayne/gists{/gist_id}","starred_url":"https://api.github.com/users/krispayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krispayne/subscriptions","organizations_url":"https://api.github.com/users/krispayne/orgs","repos_url":"https://api.github.com/users/krispayne/repos","events_url":"https://api.github.com/users/krispayne/events{/privacy}","received_events_url":"https://api.github.com/users/krispayne/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T20:14:17Z","updated_at":"2016-03-10T20:14:17Z","body":"@mm2270 I took a look at one of the recent failures in the casper logs and saw it was on 10.10.5, 10.11.3, or 10.9.5.\r\n\r\nAnother error I received for 10.11.3:\r\n\r\n`2016-03-08 01:16:16.629 cocoaDialog[6724:418849] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data`"}}