(PUP-4390) Patch win32-service gem 0.8.6 for 2003
- As part of PUP-1283, the win32-service gem was upgraded to 0.8.5 from 0.7.2 on 7/3/2014. Unfortunately, this picked up a bug introduced to the win32-service gem that broke service enumeration under Windows 2003 in commit: https://github.com/djberg96/win32-service/commit/f65181283bd8f1f51d6f4dca3f38cbbebcaf0b60
Support for SERVICE_DELAYED_AUTO_START_INFO was added as part of this change to support configuring and retrieving delayed start service status, but this startup type is not supported on 2003. Simply executing the code yields the error:
Error: Could not run: The system call level is not correct. - QueryServiceConfig2: The system call level is not correct. - A PR is outstanding against the gem, but until then, our vendored gem modifications will remain in effect until 0.8.7 ships and our vendored bits can be updated accordingly.