Project

General

Profile

Actions

Bug #20035

closed

SELinux error when upgrading from 6.2 to 7.0 on centos8

Added by Nicolas CHARLES over 2 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Transaction Summary
===================================================================================================================
Install  1 Package
Upgrade  5 Packages

Total download size: 173 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): rudder-server-root-7.0.0.beta2.git202110010224-1.EL.8.noarch.rpm            108 kB/s |  10 kB     00:00    
(2/6): rudder-api-client-7.0.0.beta2.git202110010224-1.EL.8.x86_64.rpm             154 kB/s |  16 kB     00:00    
(3/6): rudder-reports-7.0.0.beta2.git202110010224-1.EL.8.noarch.rpm                148 kB/s |  15 kB     00:00    
(4/6): rudder-agent-7.0.0.beta2.git202110010224-1.EL.8.x86_64.rpm                   12 MB/s | 5.6 MB     00:00    
(5/6): rudder-server-relay-7.0.0.beta2.git202110010224-1.EL.8.x86_64.rpm           8.0 MB/s | 4.7 MB     00:00    
(6/6): rudder-webapp-7.0.0.beta2.git202110010224-1.EL.8.x86_64.rpm                  15 MB/s | 163 MB     00:10    
-------------------------------------------------------------------------------------------------------------------
Total                                                                               16 MB/s | 173 MB     00:10     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: rudder-webapp-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                        1/1 
  Running scriptlet: rudder-server-root-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                   1/1 
  Preparing        :                                                                                           1/1 
  Running scriptlet: rudder-agent-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                         1/1 
  Running scriptlet: rudder-agent-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                        1/11 
  Upgrading        : rudder-agent-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                        1/11 
warning: /etc/cron.d/rudder-agent saved as /etc/cron.d/rudder-agent.rpmsave

  Running scriptlet: rudder-agent-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                        1/11 
  Upgrading        : rudder-reports-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                      2/11 
  Running scriptlet: rudder-reports-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                      2/11 
  Upgrading        : rudder-server-relay-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                 3/11 
warning: /opt/rudder/etc/relayd/main.conf created as /opt/rudder/etc/relayd/main.conf.rpmnew

  Running scriptlet: rudder-server-relay-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                 3/11 
mv: cannot move '/opt/rudder/etc/ssl/rudder.crt' to '/var/backups/rudder//rudder-20211001.crt': No such file or directory
warning: %post(rudder-server-relay-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64) scriptlet failed, exit status 1

Error in POSTIN scriptlet in rpm package rudder-server-relay
  Installing       : rudder-api-client-7.0.0.beta2.git202110010224-1.EL.8.x86_64                              4/11 
  Running scriptlet: rudder-webapp-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                       5/11 
  Upgrading        : rudder-webapp-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                       5/11 
warning: /opt/rudder/etc/rudder-web.properties created as /opt/rudder/etc/rudder-web.properties.rpmnew

  Running scriptlet: rudder-webapp-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                       5/11 
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
**************************************************************************************
ERROR: rudder-webapp postinstall script failed !

Trying to recover the problem, you should check that your instance is properly working

You should also try to manually execute: /opt/rudder/bin/rudder-upgrade

   Such errors should not happen, please open an issue for this problem on 
            https://issues.rudder.io/projects/rudder/issues/new
**************************************************************************************

  Running scriptlet: rudder-server-root-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                  6/11 
  Upgrading        : rudder-server-root-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                  6/11 
  Running scriptlet: rudder-server-root-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                  6/11 
  Cleanup          : rudder-server-root-1398866025:6.2.11.rc1.git202110010122-1.EL.8.noarch                   7/11 
  Running scriptlet: rudder-server-root-1398866025:6.2.11.rc1.git202110010122-1.EL.8.noarch                   7/11 
  Running scriptlet: rudder-webapp-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                        8/11 
  Cleanup          : rudder-webapp-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                        8/11 
  Running scriptlet: rudder-webapp-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                        8/11 
  Running scriptlet: rudder-server-relay-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                  9/11 
  Cleanup          : rudder-server-relay-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                  9/11 
  Running scriptlet: rudder-server-relay-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                  9/11 
  Running scriptlet: rudder-agent-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                        10/11 
INFO: A back up copy of the /opt/rudder/etc/uuid.hive has been created in /var/backups/rudder
INFO: A back up copy of the /var/rudder/cfengine-community/policy_server.dat has been created in /var/backups/rudder
INFO: A back up copy of the /var/rudder/cfengine-community/ppkeys has been created in /var/backups/rudder
INFO: A back up copy of the /opt/rudder/etc/ssl/agent.cert has been created in /var/backups/rudder

  Cleanup          : rudder-agent-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                        10/11 
  Running scriptlet: rudder-agent-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                        10/11 
  Cleanup          : rudder-reports-1398866025:6.2.11.rc1.git202110010122-1.EL.8.noarch                      11/11 
  Running scriptlet: rudder-webapp-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                      11/11 
Job for rudder-jetty.service failed because the control process exited with error code.
See "systemctl status rudder-jetty.service" and "journalctl -xe" for details.
warning: %posttrans(rudder-webapp-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64) scriptlet failed, exit status 1

Error in POSTTRANS scriptlet in rpm package rudder-webapp
  Running scriptlet: rudder-reports-1398866025:6.2.11.rc1.git202110010122-1.EL.8.noarch                      11/11 
  Verifying        : rudder-api-client-7.0.0.beta2.git202110010224-1.EL.8.x86_64                              1/11 
  Verifying        : rudder-reports-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                      2/11 
  Verifying        : rudder-reports-1398866025:6.2.11.rc1.git202110010122-1.EL.8.noarch                       3/11 
  Verifying        : rudder-server-root-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                  4/11 
  Verifying        : rudder-server-root-1398866025:6.2.11.rc1.git202110010122-1.EL.8.noarch                   5/11 
  Verifying        : rudder-agent-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                        6/11 
  Verifying        : rudder-agent-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                         7/11 
  Verifying        : rudder-server-relay-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                 8/11 
  Verifying        : rudder-server-relay-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                  9/11 
  Verifying        : rudder-webapp-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                      10/11 
  Verifying        : rudder-webapp-1398866025:6.2.11.rc1.git202110010122-1.EL.8.x86_64                       11/11 

Upgraded:
  rudder-agent-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                                                
  rudder-reports-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                                              
  rudder-server-relay-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                                         
  rudder-server-root-1398866025:7.0.0.beta2.git202110010224-1.EL.8.noarch                                          
  rudder-webapp-1398866025:7.0.0.beta2.git202110010224-1.EL.8.x86_64                                               
Installed:
  rudder-api-client-7.0.0.beta2.git202110010224-1.EL.8.x86_64                                                      

Complete!
[root@server vagrant]# 

Actions

Also available in: Atom PDF