I ran 'sos report -o apt' on each release and look for the logs and if
the content was part of the sosreport tarball. Running it with this
particular CLI prevent limit the run to 'apt' and prevent other plugin
to be exercise. I also ran it with 'sos report -a' where all plugin that
meet conditions runs. In either case, all went well.

I confirm the /var/log/unattended-upgrades logs are no longer collected
by the 'logs' plugin anymore but by the 'apt' plugin now as it should.

[VERIFICATION HIRSUTE]

# sos.log
2021-02-18 14:09:28,786 INFO: [plugin:apt] collecting path 
'/var/log/unattended-upgrades/unattended-upgrades-shutdown.log'

[VERIFICATION GROOVY]

# sos.log
2021-02-18 14:14:22,544 INFO: [plugin:apt] collecting path 
'/var/log/unattended-upgrades/unattended-upgrades-shutdown.log'

ls <PATH_TO_SOSREPORT>/var/log/unattended-upgrades/
unattended-upgrades-shutdown.log

[VERIFICATION FOCAL]

# sos.log
2021-02-18 14:17:41,217 INFO: [plugin:apt] collecting path 
'/var/log/unattended-upgrades/unattended-upgrades-shutdown.log'

ls <PATH_TO_SOSREPORT>/var/log/unattended-upgrades/
unattended-upgrades-shutdown.log


** Tags removed: verification-needed-focal verification-needed-groovy
** Tags added: verification-done-focal verification-done-groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1906302

Title:
  [plugin][apt] Move unattended-upgrades log collection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1906302/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to