Actions
Bug #9193
closedThe PowerShell list-compatible-inputs version should be executed with Bypass ExecutionPolicy
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
We currently do execute the inventory signature PS script like this:
"sign_script" string => "C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe -ExecutionPolicy Bypass -File \"C:\Program Files\Rudder\sbin\signature.ps1\" -file";
but list-compatible-inputs is executed like this, since #8553:
"list_compatible_inputs" string => "\& '${ncf_path}\common\10_ncf_internals\list-compatible-inputs.ps1\'";
This second command will not work, as the default Restricted ExecutionPolicy will raise an error due to the file being foreign.
We need to do just like we do with the signature script.
Updated by Matthieu CERDA about 8 years ago
- Status changed from New to In progress
- Assignee set to Matthieu CERDA
Updated by Matthieu CERDA about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Matthieu CERDA to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1048
Updated by Matthieu CERDA about 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|9deab6e3a820a98c06a5c0dc81bc2cf92cebf618.
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.15 and 3.2.8 which were released today.
- 3.1: Announce Changelog
- 3.2: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions