Actions
Bug #16519
closedrudder reports installation fails on CentOS 7.7 because /var/log/rudder/install directory does not exist
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:
Description
When installing rudder 6.0 on CentOS 7.7 we have an error on rudder-reports packages
centos77_server: Installing : 1398866025:rudder-reports-6.0.2.release-1.EL.7.noarch 15/40 centos77_server: centos77_server: /opt/rudder/share/package-scripts/rudder-reports-postinst: line 8: /var/log/rudder/install/rudder-reports-20200109163748.log: No such file or directory centos77_server: warning: %post(rudder-reports-1398866025:6.0.2.release-1.EL.7.noarch) scriptlet failed, exit status 1 centos77_server: Non-fatal POSTIN scriptlet failure in rpm package 1398866025:rudder-reports-6.0.2.release-1.EL.7.noarch
/var/log/rudder/install is not created (we do not create it nor check it existence) in rudder-reports
but the order of package is not the same as before and rudder-reports is installed before rudder-agent
we should fix by adding mkdir -p /var/log/rudder/install
Actions