OpenCSW Bug Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004948 [apache2] packaging tweak always 2012-05-24 01:34 2012-08-02 18:47
Reporter briandking View Status public  
Assigned To bwalton
Priority normal Resolution fixed  
Status closed  
Summary 0004948: 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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
bwalton (administrator)
2012-05-31 03:13

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.

bwalton (administrator)
2012-06-02 02:24

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: [^]

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

bwalton (administrator)
2012-08-02 18:47

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.

Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker