Project

General

Profile

Actions

Bug #16519

closed

rudder reports installation fails on CentOS 7.7 because /var/log/rudder/install directory does not exist

Added by Vincent MEMBRÉ almost 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
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


Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #16517: Rudder Jetty not starting on CentOS 8 after fresh installRejectedFrançois ARMANDActions
Actions

Also available in: Atom PDF