[bug-notifications] [apache2 0004948]: packaging of envvars clobbers local envvars on an upgrade

Mantis Bug Tracker noreply at opencsw.org
Sat Jun 2 02:24:56 CEST 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4948 
====================================================================== 
Reported By:                briandking
Assigned To:                bwalton
====================================================================== 
Project:                    apache2
Issue ID:                   4948
Category:                   packaging
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2012-05-24 01:34 CEST
Last Modified:              2012-06-02 02:24 CEST
====================================================================== 
Summary:                    packaging of envvars clobbers local envvars on an
upgrade
Description: 
I would like to suggest that the envvars file be packaged the same way
httpd.conf is, so that when apache is upgraded, it doesn't clobber a site
specific envvars file.

E.g. httpd.conf is not clobbered because it's packaged as httpd.conf.CSW:

/opt/csw/apache2/etc/httpd.conf.CSW f none 0644 root bin 17158 11884
1326427072 CSWapache2

envvars is clobbered because it's packaged twice:

/opt/csw/apache2/sbin/envvars f none 0644 root bin 976 18721 1326427061
CSWapache2
/opt/csw/apache2/sbin/envvars-std f none 0644 root bin 976 18721 1326427061
CSWapache2

If the /opt/csw/apache2/sbin/envvars was dropped, an example envvars would
still be distributed, and the local envvars would not be overwritten.
====================================================================== 

---------------------------------------------------------------------- 
 (0009891) bwalton (administrator) - 2012-06-02 02:24
 https://www.opencsw.org/mantis/view.php?id=4948#c9891 
---------------------------------------------------------------------- 
I've built some updated packages that move envvars{,-std} to etc/.  They
should be preserved across updates of apache (or a simple remove, re-add). 
Please test the udpate from here:
http://buildfarm.opencsw.org/experimental.html#apache2

I'll push it to unstable sometime next week unless you note problems with
it.

Thanks
-Ben



More information about the bug-notifications mailing list