{"id":11984,"date":"2015-08-17T16:20:36","date_gmt":"2015-08-17T20:20:36","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=11984"},"modified":"2015-08-17T16:20:36","modified_gmt":"2015-08-17T20:20:36","slug":"mac-os-x-10-11-removes-usrbinlockfile","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/08\/17\/mac-os-x-10-11-removes-usrbinlockfile\/","title":{"rendered":"Mac OS X 10.11 Removes \/usr\/bin\/lockfile"},"content":{"rendered":"<p><a href=\"http:\/\/www.shirt-pocket.com\/blog\/index.php\/shadedgrey\/comments\/oh_yeah_well_lock_this\/\">Dave Nanian<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.shirt-pocket.com\/blog\/index.php\/shadedgrey\/comments\/oh_yeah_well_lock_this\/\"><p>Little did we know that there was a shoe preparing to drop (although perhaps the fact that it was in \/usr\/bin was a hint): in El Capitan B4, Apple decided to stop shipping Procmail, and with it, lockfile. It wasn&rsquo;t deprecated and then removed&#8230; it was unceremoniously sent to the bit bucket. So, as of B4, scheduling in El Capitan broke.<\/p><p>[&#8230;]<\/p><p>In the end, we did none of those things. Instead, since <a href=\"http:\/\/www.procmail.org\">Procmail is Open Source<\/a>, we changed our build process to build lockfile as well, and included that command, unmodified, in our bundle.<\/p><p>[&#8230;]<\/p><p>This also meant we had to change the scripts that were looking for lockfile to find our application bundle and call the new, &ldquo;local&rdquo; version of lockfile instead. And that means, unfortunately, that users have to delete and recreate their schedules.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Dave Nanian: Little did we know that there was a shoe preparing to drop (although perhaps the fact that it was in \/usr\/bin was a hint): in El Capitan B4, Apple decided to stop shipping Procmail, and with it, lockfile. It wasn&rsquo;t deprecated and then removed&#8230; it was unceremoniously sent to the bit bucket. So, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[800,30,32,1199,71,369,163],"class_list":["post-11984","post","type-post","status-publish","format-standard","hentry","category-technology","tag-concurrency","tag-mac","tag-macapp","tag-mac-os-x-10-11","tag-programming","tag-superduper","tag-unix"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=11984"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11984\/revisions"}],"predecessor-version":[{"id":11985,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11984\/revisions\/11985"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=11984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=11984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=11984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}