update from old version of apache fails if /etc/httpd/conf/sites.d dir is already present along with old webapps.d or vhosts.d dirs; so those old dirs are not deleted and it conflicts with them being symlinks in new rpm. the current %pretransinstall script in the rpm package is: if [ ! -d /etc/httpd/conf/sites.d ]; then mkdir -p /etc/httpd/conf/sites.d if [ -d /etc/httpd/conf/webapps.d ]; then mv -f /etc/httpd/conf/webapps.d/* /etc/httpd/conf/sites.d 2>/dev/null rmdir /etc/httpd/conf/webapps.d fi if [ -d /etc/httpd/conf/vhosts.d ]; then mv -f /etc/httpd/conf/vhosts.d/* /etc/httpd/conf/sites.d 2>/dev/null rmdir /etc/httpd/conf/vhosts.d fi fi it should be: if [ -d /etc/httpd/conf/webapps.d ]; then if [ ! -d /etc/httpd/conf/sites.d ]; then mkdir -p /etc/httpd/conf/sites.d fi mv -f /etc/httpd/conf/webapps.d/* /etc/httpd/conf/sites.d 2>/dev/null rmdir /etc/httpd/conf/webapps.d fi if [ -d /etc/httpd/conf/vhosts.d ]; then if [ ! -d /etc/httpd/conf/sites.d ]; then mkdir -p /etc/httpd/conf/sites.d fi mv -f /etc/httpd/conf/vhosts.d/* /etc/httpd/conf/sites.d 2>/dev/null rmdir /etc/httpd/conf/vhosts.d fi thanks Reproducible: Steps to Reproduce:
Keywords: (none) => TriagedAssignee: bugsquad => guillomovitch
CC: (none) => pabloSummary: fix of rpm update script => apache: fix of rpm update script
Depends on: (none) => 10756
Fixed in apache-2.4.4-7.4.mga3.
Status: NEW => RESOLVEDCC: (none) => luigiwalserResolution: (none) => FIXED