Nginx bug reports for 'package' problem type are not providing useful data for Vivid and later
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
Fix Released
|
Medium
|
Thomas Ward | ||
Vivid |
Fix Released
|
Medium
|
Thomas Ward | ||
Wily |
Fix Released
|
Medium
|
Thomas Ward |
Bug Description
[Impact]
This issue makes it impossible to reliably determine the cause of a postinstallation failure bug during the installation or upgrade attempt of an nginx binary package. A large number of the bugs have tied back to "Postinstall exited with error code" issues, but that's all we have about it. Additional data needs to be collected, which apport hooks solve.
[Test Case]
This does not resolve the issue with an installation failure. It does increase the amount of information made available by the bug report.
(1) Have Apache or some other thing binding to port 80
(2) Install nginx-common and one of the following: nginx-core nginx-light nginx-full nginx-extras
(3) Run `apport-bug` on the crash report and review the data.
The problem is reproduced if all we get from the dpkg logs is something about the job failing to start, with no additional information.
Testing the fix, when you run the report, you will get "Journalctl_
[Regression Potential]
None. All this adds is an apport hook, which has been tested on both Wily and Vivid.
[Other Info]
I know for a fact that Seth Arnold and Robie Basak will praise these apport hooks, if only because we will actually be able to debug installation and upgrade failures in which nginx binaries are failing to install due to some issue with the job start process.
[Original Description]
This is against the 'nginx' package because apport hooks need added here for Vivid and Wily.
Currently, systemd and stderr and Apport do not pull in enough information for bug triage and handling to be done.
We have several Vivid bugs now which show this - they're all for the same version of the package, in Wily, but different binaries, all with the Package problem type, and a postinstallation script failure. But that's it, there's no information of the errors, or anything.
To that end, we need to expand what Apport pulls in, to include output from `journalctl -xe --unit=
I have given this a Medium importance, as there's no useful information in bug reports of the Package class currently that could allude to why the postinst scripts failed.
Changed in nginx (Ubuntu Vivid): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Thomas Ward (teward) |
status: | In Progress → Triaged |
Changed in nginx (Ubuntu Wily): | |
status: | In Progress → Triaged |
summary: |
- Nginx bug reports for 'package' problem type are not providing useful - data + Nginx bug reports for Vivid and later not really returning useful data |
description: | updated |
description: | updated |
summary: |
- Nginx bug reports for Vivid and later not really returning useful data + Nginx bug reports for 'package' problem type are not providing useful + data for Vivid and later |
Changed in nginx (Ubuntu Wily): | |
status: | Triaged → In Progress |
Changed in nginx (Ubuntu Wily): | |
status: | In Progress → Triaged |
Changed in nginx (Ubuntu Wily): | |
status: | Triaged → In Progress |
description: | updated |
Changed in nginx (Ubuntu Vivid): | |
status: | Triaged → In Progress |
Changed in nginx (Ubuntu Vivid): | |
assignee: | Thomas Ward (teward) → nobody |
Changed in nginx (Ubuntu Vivid): | |
assignee: | nobody → Thomas Ward (teward) |
tags: |
added: verification-done removed: verification-needed |
This bug was fixed in the package nginx - 1.6.2-5ubuntu4
---------------
nginx (1.6.2-5ubuntu4) wily; urgency=medium
* debian/ apport/ source_ nginx.py: nginx-common. install: apport/ source_ nginx.py, which is the new
- Add apport hooks for additional bug information gathering, as a result
of non-useful reports due to postinstall script failure bugs. This is
necessary in order to be able to actually debug what is going on in the
bug reports, thanks to systemd not putting startup errors to stdout or
stderr anymore, like Upstart and others did. (LP: #1472683)
* debian/
- Add install rule for debian/
apport hooks to gather additional 'Package' bugtype debug data.
-- Thomas Ward <email address hidden> Fri, 10 Jul 2015 12:51:48 -0400