Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
PUP 4.5.2
-
None
-
2
-
Windows 2016-08-10
-
Bug Fix
-
`puppet resource service` could fail on Windows when there are certain types of delayed auto start services. In particular, it would always fail on Windows 10 due to the `pvhdparser` service.
Description
Running puppet resource service on Windows 10 fails with
WARNING: Failed to retreive description for the pvhdparser service.
|
Error: Could not run: No such device or address - QueryServiceConfig2: The handle is invalid.
|
This seems to originate in the win32/service gem:
irb(main):001:0> require 'win32/service'
|
=> true
|
irb(main):002:0> Win32::Service.services
|
WARNING: Failed to retreive description for the pvhdparser service.
|
Errno::ENXIO: No such device or address - QueryServiceConfig2: The handle is invalid.
|