Skip to content

Commit

Permalink
Merge branch 'bug_20035/selinux_error_when_upgrading_from_6_2_to_7_0_…
Browse files Browse the repository at this point in the history
…on_centos8_pr' into branches/rudder/7.0
  • Loading branch information
Jenkins CI committed Oct 4, 2021
2 parents 53ab521 + fb99520 commit e427cde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions relay/sources/rudder-server-relay-postinst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ chmod 750 /opt/rudder/etc/relayd
chmod 640 /opt/rudder/etc/relayd/main.conf
chmod 640 /opt/rudder/etc/relayd/logging.conf

# Ensure that backup folder exists
mkdir -p ${BACKUP_DIR}

for dir in /var/rudder/inventories/incoming /var/rudder/inventories/failed /var/rudder/inventories/accepted-nodes-updates /var/rudder/reports/incoming /var/rudder/reports/failed
do
chmod 770 ${dir}
Expand Down

0 comments on commit e427cde

Please sign in to comment.