/usr/bin/lockfile is missing in Beta 4

Number:rdar://21962862 Date Originated:23-Jul-2015 09:47 AM
Status:Closed Resolved:Nope
Product:OS X Product Version:10.11 15A226f
Classification:Other Bug Reproducible:Yes
The 'lockfile' binary, which normally lives in '/usr/bin' has gone missing in 10.11 Beta 4.

This binary was extremely useful for writing bash scripts that wouldn't stomp on each other while running as a service. Was this binary removed intentionally? If so, can we expect it to stay gone?

 It would be super useful to have this functionality and I am certain it will break scripts for many folks.

Steps to Reproduce:
1. Go to /usr/bin
2. Observe that the lockfile binary is missing

Expected Results:
1. Go to /usr/bin
2. Celebrate and use the lockfile binary

Actual Results:
1. Go to /usr/bin
2. Despair over the missing lockfile binary and consider making your own janky lockfile solution for scripts.

OS X 10.11 Beta 15A226f

There is no known workaround at this time, other than implementing your own lockfile solution from scratch (ewwww)

This is persistent on 10.11 beta 15A226f



Apple Developer Relations31-Jul-2015 11:01 AM

After much deliberation, engineering has removed this feature.

We are now closing this report.

If you have questions about the resolution, or if this is still a critical issue for you, then please update your bug report with that information.

Please be sure to regularly check new Apple releases for any updates that might affect this issue.

By Nate.Walck at Aug. 1, 2015, 5:48 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!