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

Mantis Bug Tracker noreply at opencsw.org
Thu Aug 2 18:47:33 CEST 2012


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-05-24 01:34 CEST
Last Modified:              2012-08-02 18:47 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0010077) bwalton (administrator) - 2012-08-02 18:47
 https://www.opencsw.org/mantis/view.php?id=4948#c10077 
---------------------------------------------------------------------- 
I've just pushed the package set mentioned in the previous comment that
address this issue and allow preserving envvars across updates.  The file
is moved to /opt/csw/apache2/etc with the rest of the configuration files.



More information about the bug-notifications mailing list