[plugin][apt] Move unattended-upgrades log collection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Undecided
|
Eric Desrochers | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Eric Desrochers | ||
Focal |
Fix Released
|
Undecided
|
Eric Desrochers | ||
Groovy |
Fix Released
|
Undecided
|
Eric Desrochers | ||
Hirsute |
Fix Released
|
Undecided
|
Eric Desrochers |
Bug Description
[Impact]
Having u-u logs collection inside the apt plugin make more sense (instead of logs plugin) as it is using apt functionalities and python modules such as apt, apt_inst, apt_pkg.
u-u is a mechanism to automatically install security upgrades on Debian/Ubuntu. It is enabled by default at installation.
'sos' philosophy is that each plugin should be taken care of its own logs.
[Test case]
* Deploy Ubuntu (A container will do)
* Run sosreport and make sure the systemd plugin is executed
** sosreport -o apt
* Look the content of the generated tarball under 'path_to_
* And under 'path_to_
sos.log:2021-02-06 11:23:55,257 INFO: [plugin:apt] collecting path '/var/log/
[Where problem could occur]
If a problem have to occur, it will only be impacting the apt plugin itself, not the core functionalities of 'sos' nor its other plugins.
A third party vendor might have to break the habit to assume that the 'logs' plugin will take care of the 'u-u' logs, and that 'apt' is the way to move forward now.
[Other information]
https:/
tags: | added: seh sts |
tags: |
added: seg removed: seh |
Changed in sosreport (Ubuntu Hirsute): | |
assignee: | nobody → Eric Desrochers (slashd) |
status: | New → In Progress |
Changed in sosreport (Ubuntu Groovy): | |
assignee: | nobody → Eric Desrochers (slashd) |
assignee: | Eric Desrochers (slashd) → nobody |
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu Groovy): | |
assignee: | nobody → Eric Desrochers (slashd) |
status: | New → In Progress |
Changed in sosreport (Ubuntu Focal): | |
assignee: | nobody → Eric Desrochers (slashd) |
status: | New → In Progress |
Changed in sosreport (Ubuntu Xenial): | |
status: | New → Won't Fix |
Changed in sosreport (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in sosreport (Ubuntu Groovy): | |
status: | Fix Committed → In Progress |
tags: |
added: verification-done-bionic verification-done-focal verification-done-groovy removed: verification-needed-bionic verification-needed-focal verification-needed-groovy |
This bug was fixed in the package sosreport - 4.0-1ubuntu6
---------------
sosreport (4.0-1ubuntu6) hirsute; urgency=medium
[Eric Desrochers] apt-move- unattended- upgrades- log-collection. patch
* d/p/0012-
(LP: #1906302)
[Ponnuvel Palaniyappan] bcache- add-a-new- plugin- for-bcache. patch
* d/p/0013-
(LP: #1913284)
[Felipe Reyes] k8s-add- cdk-master- auth-webhook- to-journal. patch k8s-fix- cdk-related- file-paths. patch
* d/p/0014-
* d/p/0015-
(LP: #1913583)
[Michael Biebl] systemd- prefer- resolvectl- over-systemd- resolve. patch
* d/p/0016-
(LP: #1913581)
-- Eric Desrochers <email address hidden> Fri, 29 Jan 2021 12:20:50 -0500