sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #00775
[Bug 1782226] Re: [SRU] Allow NGINX to install but not start during postinst if another process is bound to port 80
Sponsored for Bionic.
I changed the version from "1.14.0-0ubuntu2" to "1.14.0-0ubuntu1.1" as I
found "1.14.0-0ubuntu2" in Cosmic and prevent possible interference.
- Eric
** Changed in: nginx (Ubuntu Bionic)
Assignee: (unassigned) => Andres Rodriguez (andreserl)
--
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1782226
Title:
[SRU] Allow NGINX to install but not start during postinst if another
process is bound to port 80
Status in nginx package in Ubuntu:
Fix Released
Status in nginx source package in Bionic:
In Progress
Status in nginx source package in Cosmic:
Fix Released
Bug description:
[Impact]
Currently, NGINX installations trigger an installation "failure case" when another process is bound to port 80 and NGINX is trying to use its default configuration files.
This can lead to installation bug reports which are not actually bugs,
or having to alter configuration files before completing
installations.
It might be better for postinst to determine if we actually need to
start or restart the service based on if something is listening on
port 80.
[Test Case]
Failure
--------
1. Install haproxy (or apache2)
2. Configure it to bind to port 80 (apache2 will be automatically configured)
3. Install nginx
4. The installation will be broken as it will fail to install.
Success
-------
1. Do (1), (2) and (3) as above.
2. The installation will succeed. nginx won't auto start allowing it do install correctly even if you have haproxy binding on port 80.
[Regression Potential]
Minimal. This change won't break installation of nginx. In fact it will allow it to install if another daemon is binding to port 80.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1782226/+subscriptions