group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #39278
[Bug 1906302] Re: [plugin][apt] Move unattended-upgrades log collection
This bug was fixed in the package sosreport - 4.1-1ubuntu0.20.04.1
---------------
sosreport (4.1-1ubuntu0.20.04.1) focal; urgency=medium
* New 4.1 upstream minor release. (LP: #1917894)
- https://github.com/sosreport/sos/releases/tag/4.1
* d/tests/simple.sh:
- Update the script from upstream
- Modify the script to use /tmp as a target, instead
of /var/tmp.
* d/tests/control:
- Adding isolation-machine as simple.sh wants to
interact with the kernel.
* Former patches, now fixed:
- d/p/0002-fix-dict-order-py38-incompatibility.patch
- d/p/0003-sosclean-fix-handling-of-filepath-with-archive-name.patch
- d/p/0004-sosclean-fix-tarball-skipping-regex.patch
- d/p/0005-ceph-collect-balancer-and-pg-autoscale-status.patch
- d/p/0006-rabbitmq-add-info-on-maybe-stuck-processes.patch
- d/p/0007-rabbitmq-add-10sec-timeout-to-call-to-maybestuck.patch
- d/p/0008-networking-include-ip-neigh-and-rule-info.patch
- d/p/0009-conntrack-add-conntrack-info.patch
- d/p/0010-conntrack-gather-per-namespace-data.patch
- d/p/0011-ceph-include-time-sync-status-for-ceph-mon.patch
- d/p/0012-apt-move-unattended-upgrades-log-collection.patch
- d/p/0013-bcache-add-a-new-plugin-for-bcache.patch
- d/p/0014-k8s-add-cdk-master-auth-webhook-to-journal.patch
- d/p/0015-k8s-fix-cdk-related-file-paths.patch
- d/p/0016-systemd-prefer-resolvectl-over-systemd-resolve.patch
- d/p/0017-ovn-extend-information.patch
- d/p/0018-ua-prefer-new-ua-cmd-over-the-deprecated-one.patch
- d/p/0019-ovn-fix-sbctl-cmd-execution.patch
* Remaining patches:
- d/p/0001-debian-change-tmp-dir-location.patch
* New patches:
- d/p/0002-clean-prevent-parsing-ubuntu-user.patch
* Fixing the following LP bugs:
- (LP: #1910264)
- (LP: #1906302)
- (LP: #1913284)
- (LP: #1913583)
- (LP: #1913581)
- (LP: #1915072)
-- Eric Desrochers <eric.desrochers@xxxxxxxxxxxxx> Thu, 25 Mar 2021
19:02:37 +0000
** Changed in: sosreport (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1906302
Title:
[plugin][apt] Move unattended-upgrades log collection
Status in sosreport package in Ubuntu:
Fix Released
Status in sosreport source package in Xenial:
Won't Fix
Status in sosreport source package in Bionic:
Fix Released
Status in sosreport source package in Focal:
Fix Released
Status in sosreport source package in Groovy:
Fix Released
Status in sosreport source package in Hirsute:
Fix Released
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_sosreport/var/log/unattended-upgrades/'
* And under 'path_to_sosreport/sos_logs/sos.log' for the execution log
of the 'apt' plugin:
sos.log:2021-02-06 11:23:55,257 INFO: [plugin:apt] collecting path
'/var/log/unattended-upgrades/.....
[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://github.com/sosreport/sos/commit/9f057fb43a949cabb496d06506a59e411ef17812
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1906302/+subscriptions