New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regresion from [sosreport] add per-plugin package verification lists #1155
Comments
Commit 82e4ee2 changes the order that PackageManager expects for input. Redhat policy was adopted to this change. Debian/Ubuntu were not. Closes: sosreport#1155 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Actually I'm not sure this works for RedHat either: Redhat policy calls it and debian and suse just seem to expect the query command to be first. |
With this fix 61 plugins run out of 63 expected. of the two different than expected |
Order is not significant for kwargs: it's mixing kwarg and non-kwarg call styles that causes the problem: the Debian policy is currently passing everything positionally which is incorrect for a method call that only uses keyword arguments. That said: I prefer when we keep declaration/call ordering consistent because it makes the code easier to read and follow, so as well as reverting the argument ordering on the PM initialiser we need to ensure the Debian policy uses the correct kwarg names in the call. |
👍 +1 on fixing the ordering. Another thing that can be modified IMHO is
|
This was fixed in 1162 |
👍 |
All packages = lines don't appear to work in Ubuntu (and likely debian)
This results in less plugins running and none running based on installed packages. Two affected plugins are cups (which is what I bisected) and acpid.
On Trusty it goes from 59 to 50 plugins, on Artful from 63 to 53.
Found during SRU testing - https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1734983
The text was updated successfully, but these errors were encountered: