Opened 8 years ago

Closed 8 years ago

#1125 closed defect (invalid)

nginx package upgrade on ubuntu 14.04 rewrites ssl config

Reported by: aljazceru@… Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.4.x
Keywords: 1.4.6-1ubuntu3.7 ssl upgrade Cc:
uname -a: Linux <redacted> 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:48:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.4.6 (Ubuntu)
built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/ --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_spdy_module --with-http_sub_module --with-http_xslt_module --with-mail --with-mail_ssl_module


When upgrading nginx packages on ubuntu 14.04 update rewrites ssl_certificate and ssl_certificate_key in default site configuration back to their default values.
I know using default isn't a good practice but I still think this is a bug

Installed packages:

nginx                            1.4.6-1ubuntu3.7                  all          small, powerful, scalable web/proxy server
nginx-common                     1.4.6-1ubuntu3.7                  all          small, powerful, scalable web/proxy server - common files
nginx-core                       1.4.6-1ubuntu3.7                  amd64        nginx web/proxy server (core version)

Change History (3)

comment:1 by Thomas Ward, 8 years ago

Bugs in the Ubuntu packaging belong on Launchpad - it is not maintained by NGINX on Trac.

You can file the bug with the following command on the Ubuntu command line: ubuntu-bug nginx-core

Note you will need an account on to use this method.

NGINX team members: this ticket can be closed here as this is not an issue you track here.

comment:3 by Maxim Dounin, 8 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.