2013-04-19 06:46:05 |
Pierre Schweitzer |
bug |
|
|
added bug |
2013-10-02 11:34:06 |
Launchpad Janitor |
nginx (Ubuntu): status |
New |
Confirmed |
|
2013-10-02 20:40:08 |
Thomas Ward |
nginx (Ubuntu): status |
Confirmed |
Incomplete |
|
2013-10-02 20:45:55 |
Thomas Ward |
nominated for series |
|
Ubuntu Precise |
|
2013-10-02 20:46:50 |
Thomas Ward |
tags |
|
precise |
|
2013-10-03 17:31:14 |
Thomas Ward |
nginx (Ubuntu): status |
Incomplete |
Triaged |
|
2013-10-03 19:58:49 |
Thomas Ward |
nginx (Ubuntu): status |
Triaged |
Incomplete |
|
2013-10-03 20:40:07 |
Brian Murray |
bug task added |
|
nginx (Ubuntu Precise) |
|
2013-10-03 20:40:16 |
Brian Murray |
nginx (Ubuntu Precise): status |
New |
Confirmed |
|
2013-10-03 20:40:20 |
Brian Murray |
nginx (Ubuntu Precise): importance |
Undecided |
Wishlist |
|
2013-10-03 20:40:59 |
Brian Murray |
nginx (Ubuntu): importance |
Undecided |
Wishlist |
|
2013-10-05 01:51:06 |
Thomas Ward |
nginx (Ubuntu): status |
Incomplete |
Fix Released |
|
2014-01-31 15:35:19 |
Thomas Ward |
nginx (Ubuntu Precise): status |
Confirmed |
Triaged |
|
2014-02-01 17:06:36 |
Thomas Ward |
attachment added |
|
Debdiff for Precise https://bugs.launchpad.net/ubuntu/precise/+source/nginx/+bug/1170586/+attachment/3965488/+files/lp1170586-precise.debdiff |
|
2014-02-01 17:07:38 |
Thomas Ward |
description |
Hi,
The nginx-naxsi package provided in Ubuntu 12.04 LTS lacks the Stub Status module which somehow mandatory in production environment. Plus, if Ubuntu follows Debian philosophy regarding those packages, it is supposed to be shipped with in Debian: http://wiki.debian.org/Nginx.
Current nginx -V: # nginx -V
nginx version: nginx/1.1.19
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-http_ssl_module --without-mail_pop3_module --without-mail_smtp_module --without-mail_imap_module --without-http_uwsgi_module --without-http_scgi_module --with-ipv6 --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-upstream-fair --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-cache-purge --add-module=/build/buildd/nginx-1.1.19/debian/modules/naxsi/naxsi_src
Regards,
P. Schweitzer |
[Impact]
nginx-naxsi is missing the stub_status module, which in some deployments is necessary for production environments. This module is also listed in the nginx-naxsi description, however it is not enabled as would be expected, since the module is listed in the description for the nginx-naxsi package.
---
[Test Case]
Create a site configuration file for nginx in /etc/nginx/sites-enabled containing the following:
server {
listen 127.0.0.1;
server_name localhost;
location / {
try_files $uri $uri/ =403;
}
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
}
After creating this configuration file, restart the nginx process or issue the reload command using one of the following commands (you do NOT need to do both, only one of them):
$ sudo service nginx restart
$ sudo service nginx reload
With the version in Ubuntu now, before this SRU, you should see something like so for an error stating that it failed the configuration test:
$ sudo service nginx restart
Restarting nginx: nginx: [emerg] unknown directive "stub_status" in /etc/nginx/sites-enabled/localhost:10
nginx: configuration file /etc/nginx/nginx.conf test failed
With the version created by including the attached debdiff, you will be able to start nginx with the same configuration file and not run into any errors.
When navigating to http://localhost/nginx_status with this debdiff, you will also see something like this, which is expected output:
Active connections: 2
server accepts handled requests
2 2 1
Reading: 1 Writing: 1 Waiting: 0
---
[Regression Potential]
There is no new code introduced here, only one module that should've been enabled, but was not being enabled in the package. There is almost no regression potential by enabling this module.
---
[Original Bug Description]
Hi,
The nginx-naxsi package provided in Ubuntu 12.04 LTS lacks the Stub Status module which somehow mandatory in production environment. Plus, if Ubuntu follows Debian philosophy regarding those packages, it is supposed to be shipped with in Debian: http://wiki.debian.org/Nginx.
Current nginx -V: # nginx -V
nginx version: nginx/1.1.19
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-http_ssl_module --without-mail_pop3_module --without-mail_smtp_module --without-mail_imap_module --without-http_uwsgi_module --without-http_scgi_module --with-ipv6 --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-upstream-fair --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-cache-purge --add-module=/build/buildd/nginx-1.1.19/debian/modules/naxsi/naxsi_src
Regards,
P. Schweitzer |
|
2014-02-01 17:07:42 |
Thomas Ward |
summary |
Naxsi package lacking Stub Status |
[SRU] Naxsi package lacking Stub Status |
|
2014-02-01 17:07:50 |
Thomas Ward |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2014-02-02 10:44:07 |
Robie Basak |
bug |
|
|
added subscriber Robie Basak |
2014-02-02 10:44:36 |
s novotny |
bug |
|
|
added subscriber s novotny |
2014-02-03 16:58:35 |
Robie Basak |
description |
[Impact]
nginx-naxsi is missing the stub_status module, which in some deployments is necessary for production environments. This module is also listed in the nginx-naxsi description, however it is not enabled as would be expected, since the module is listed in the description for the nginx-naxsi package.
---
[Test Case]
Create a site configuration file for nginx in /etc/nginx/sites-enabled containing the following:
server {
listen 127.0.0.1;
server_name localhost;
location / {
try_files $uri $uri/ =403;
}
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
}
After creating this configuration file, restart the nginx process or issue the reload command using one of the following commands (you do NOT need to do both, only one of them):
$ sudo service nginx restart
$ sudo service nginx reload
With the version in Ubuntu now, before this SRU, you should see something like so for an error stating that it failed the configuration test:
$ sudo service nginx restart
Restarting nginx: nginx: [emerg] unknown directive "stub_status" in /etc/nginx/sites-enabled/localhost:10
nginx: configuration file /etc/nginx/nginx.conf test failed
With the version created by including the attached debdiff, you will be able to start nginx with the same configuration file and not run into any errors.
When navigating to http://localhost/nginx_status with this debdiff, you will also see something like this, which is expected output:
Active connections: 2
server accepts handled requests
2 2 1
Reading: 1 Writing: 1 Waiting: 0
---
[Regression Potential]
There is no new code introduced here, only one module that should've been enabled, but was not being enabled in the package. There is almost no regression potential by enabling this module.
---
[Original Bug Description]
Hi,
The nginx-naxsi package provided in Ubuntu 12.04 LTS lacks the Stub Status module which somehow mandatory in production environment. Plus, if Ubuntu follows Debian philosophy regarding those packages, it is supposed to be shipped with in Debian: http://wiki.debian.org/Nginx.
Current nginx -V: # nginx -V
nginx version: nginx/1.1.19
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-http_ssl_module --without-mail_pop3_module --without-mail_smtp_module --without-mail_imap_module --without-http_uwsgi_module --without-http_scgi_module --with-ipv6 --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-upstream-fair --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-cache-purge --add-module=/build/buildd/nginx-1.1.19/debian/modules/naxsi/naxsi_src
Regards,
P. Schweitzer |
[Impact]
nginx-naxsi is missing the stub_status module, which in some deployments is necessary for production environments. This module is also listed in the nginx-naxsi description, however it is not enabled as would be expected, since the module is listed in the description for the nginx-naxsi package.
---
[Test Case]
sudo apt-get install nginx-naxsi
Create a site configuration file for nginx in /etc/nginx/sites-enabled containing the following:
server {
listen 127.0.0.1;
server_name localhost;
location / {
try_files $uri $uri/ =403;
}
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
}
After creating this configuration file, restart the nginx process or issue the reload command using one of the following commands (you do NOT need to do both, only one of them):
$ sudo service nginx restart
$ sudo service nginx reload
With the version in Ubuntu now, before this SRU, you should see something like so for an error stating that it failed the configuration test:
$ sudo service nginx restart
Restarting nginx: nginx: [emerg] unknown directive "stub_status" in /etc/nginx/sites-enabled/localhost:10
nginx: configuration file /etc/nginx/nginx.conf test failed
With the version created by including the attached debdiff, you will be able to start nginx with the same configuration file and not run into any errors.
When navigating to http://localhost/nginx_status with this debdiff, you will also see something like this, which is expected output:
Active connections: 2
server accepts handled requests
2 2 1
Reading: 1 Writing: 1 Waiting: 0
---
[Regression Potential]
There is no new code introduced here, only one module that should've been enabled, but was not being enabled in the package. There is almost no regression potential by enabling this module.
[rbasak] I was concerned about the regression risk associated with enabling a build-time configuration option in an SRU. On balance, I think it is worth doing. It's an independent module which I understand to be reasonably separate in the codebase. I asked upstream, who confirmed that they don't think it will cause a regression, and nginx is in universe (an MIR for Trusty is in progress).
---
[Original Bug Description]
Hi,
The nginx-naxsi package provided in Ubuntu 12.04 LTS lacks the Stub Status module which somehow mandatory in production environment. Plus, if Ubuntu follows Debian philosophy regarding those packages, it is supposed to be shipped with in Debian: http://wiki.debian.org/Nginx.
Current nginx -V: # nginx -V
nginx version: nginx/1.1.19
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-http_ssl_module --without-mail_pop3_module --without-mail_smtp_module --without-mail_imap_module --without-http_uwsgi_module --without-http_scgi_module --with-ipv6 --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-upstream-fair --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-cache-purge --add-module=/build/buildd/nginx-1.1.19/debian/modules/naxsi/naxsi_src
Regards,
P. Schweitzer |
|
2014-02-03 17:02:00 |
Robie Basak |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2014-02-06 12:41:19 |
Colin Watson |
nginx (Ubuntu Precise): status |
Triaged |
Fix Committed |
|
2014-02-06 12:41:22 |
Colin Watson |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2014-02-06 12:41:24 |
Colin Watson |
bug |
|
|
added subscriber SRU Verification |
2014-02-06 12:41:33 |
Colin Watson |
tags |
precise |
precise verification-needed |
|
2014-02-06 12:55:56 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/nginx |
|
2014-02-07 21:06:08 |
Thomas Ward |
tags |
precise verification-needed |
precise verification-done |
|
2014-02-13 22:16:55 |
Launchpad Janitor |
nginx (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2014-02-13 22:17:03 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|