Actions
Bug #26428
closedrudder-pkg reports a success when installing a plugin even if the postinst plugin script was in error
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
DEBUG Running package script 'postinst' with args 'upgrade' for plugin 'security-benchmarks' in version '8.2.4-1.0'... DEBUG Execute command: "/var/rudder/packages/rudder-plugin-security-benchmarks/postinst" "upgrade" status: exit status: 1 stdout: Update the security-benchmarks rudder-hardening-pack model... stderr: + plugin_dir=/opt/rudder/share/plugins/security-benchmarks + models_dir=/var/rudder/plugins/security-benchmarks/models + techniques_dir=/var/rudder/configuration-repository/techniques + main_category_name=benchmarks + mkdir -p /var/rudder/plugins/security-benchmarks/models + cd /var/rudder/configuration-repository/techniques + mkdir -p benchmarks + echo ' <xml> <name>Security Benchmarks</name> <description>This category contains techniques used by security benchmarks</description> <system>true</system> </xml> ' + git add benchmarks/category.xml + git diff-index --quiet --cached HEAD ++ find /opt/rudder/share/plugins/security-benchmarks -mindepth 1 -maxdepth 1 -type d + benchmarks='/opt/rudder/share/plugins/security-benchmarks/rudder-hardening-pack /opt/rudder/share/plugins/security-benchmarks/rsc_01' + for benchmark in ${benchmarks} ++ basename /opt/rudder/share/plugins/security-benchmarks/rudder-hardening-pack + benchmark_name=rudder-hardening-pack + benchmark_techniques_dir=/var/rudder/configuration-repository/techniques/benchmarks/rudder-hardening-pack + echo 'Update the security-benchmarks rudder-hardening-pack model...' + cp '/opt/rudder/share/plugins/security-benchmarks/rudder-hardening-pack/*.yml' /var/rudder/plugins/security-benchmarks/models/ cp: cannot stat '/opt/rudder/share/plugins/security-benchmarks/rudder-hardening-pack/*.yml': No such file or directory DEBUG Package script execution return unexpected exit code. DEBUG Enabling the associated jars if any INFO Plugin security-benchmarks was successfully installed
Updated by Félix DALLIDET about 1 month ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET about 1 month ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder/pull/6198
Updated by Félix DALLIDET about 1 month ago
- Pull Request changed from https://github.com/Normation/rudder/pull/6198 to https://github.com/Normation/rudder/pull/6201
Updated by Félix DALLIDET about 1 month ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|8acd3db038fbe8b35bd49854ffc6ac2840c18260.
Updated by Vincent MEMBRÉ about 1 month ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.1.12 and 8.2.5 which were released today.
Actions