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

Mantis Bug Tracker noreply at opencsw.org
Thu May 31 03:13:37 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-05-31 03:13 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0009886) bwalton (administrator) - 2012-05-31 03:13
 https://www.opencsw.org/mantis/view.php?id=4948#c9886 
---------------------------------------------------------------------- 
I agree 100%.  I'll get this fixed up asap.  The file will move into etc/
and will be treated as a preservable configuration file.

Thanks
-Ben



More information about the bug-notifications mailing list