Project

General

Profile

Actions

Bug #11356

closed

Old virtualhosts are not purged in relay configuration

Added by Nicolas CHARLES about 7 years ago. Updated almost 7 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 #1

Updated by Nicolas CHARLES about 7 years ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND about 7 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority changed from 0 to 32
Actions #3

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #4

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.25 to 387
  • Priority changed from 32 to 31
Actions #5

Updated by Alexis Mousset almost 7 years ago

  • Status changed from New to Rejected

This code was moved to rudder-relay in 4.1, this is hence fixed, closing.

Actions #6

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 387 to 3.1.25
Actions

Also available in: Atom PDF