Opened 10 years ago
Closed 10 years ago
#445 closed enhancement (invalid)
RPM minor upgrade should not replace nginx.conf with default
|Reported by:||Arne Kepp||Owned by:|
|uname -a:||Linux someserver.somewhere 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux|
nginx version: nginx/1.4.4
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
TLS SNI support enabled
I am using the prebuilt RPMs from http://nginx.org/packages/centos/
Every time I upgrade Nginx I have to remember to manually fix the configuration files, otherwise my system is put in a state where Nginx can't start due to port conflicts.
I think, for minor version upgrades and bugfixes, the RPM should not replace the configuration files but instead created .rpmnew files.
This should be easy to change:
Change History (1)
comment:1 by , 10 years ago
|Status:||new → closed|
Note: See TracTickets for help on using tickets.
All config files in nginx.spec are already marked as %config(noreplace) and config files are not replaced by newer version, just checked it manually to be sure