Project

General

Profile

Actions

Bug #11356

closed

Old virtualhosts are not purged in relay configuration

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

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
31
Name check:
Fix check:
Regression:

Description

When we install rudder-webapp, old and deprecated virtualhost are purge by this piece of code:

for OLD_VHOST in rudder-default rudder-default-ssl rudder-default.conf rudder-default-ssl.conf; do
        if [ -f /etc/%{apache_vhost_dir}/${OLD_VHOST} ]; then
                echo -n "INFO: An old rudder virtual host file has been detected (${OLD_VHOST}), it will be moved to /var/backups." 
                mkdir -p /var/backups
                mv /etc/%{apache_vhost_dir}/${OLD_VHOST} /var/backups/${OLD_VHOST}-$(date +%s)
                echo " Done" 
        fi
done

but this is never done in rudder-relay, so we may have old config files in the way (and incompatible, as rudder-default is only compatible with Apache 2.2)

Actions

Also available in: Atom PDF