ebpf-for-windows: Installing Debug build MSI leads to ebpfsvc.exe not being able to start
Describe the bug
After installing from a Debug build MSI, the eBPF service fails to start with error 1053.
OS information
No response
Steps taken to reproduce bug
- Install Debug MSI via
setup-ebpf.ps1 - Open services.msc
- Try to start the service
Expected behavior
The service should start.
Actual outcome
It doesn’t.
Additional details
I think the problem lies in the fact that the service is configured to run as Local Service, which doesn’t have access to the VC runtime debug dlls in system32. These are copied there by setup-ebpf.ps1. Copying the dlls into the JIT folder makes things work again.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 26 (16 by maintainers)
Commits related to this issue
- scripts: copy VC runtime debug DLLs into installation folder Work around a permissions problem where the debug runtime DLLs in System32 are not accessible to the ebpfsvc.exe service running as Local ... — committed to isovalent/ebpf-for-windows by lmb 2 years ago
- scripts: copy VC runtime debug DLLs into installation folder (#3957) Work around a permissions problem where the debug runtime DLLs in System32 are not accessible to the ebpfsvc.exe service running a... — committed to microsoft/ebpf-for-windows by lmb 2 years ago
this is after statically linking the debug runtime libraries to ebpf-for-windows.msi