debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #02410
[Bug 2101134] Re: [sru] Obfuscation/Collection issues in sosreport/sos 4.8.2
This bug was fixed in the package sosreport - 4.8.2-0ubuntu0~24.04.2
---------------
sosreport (4.8.2-0ubuntu0~24.04.2) noble; urgency=medium
* Resolve obfuscation issues (LP: #2101134)
- d/p/0003-o_horizon-Obfuscate-credentials-in-local_settings.py.patch:
Fixes the obfuscation of SECRET_KEY and PASSWORD fields in the config
file for horizon in /etc/horizon/local_setting.py.
- d/p/0004-ceph_common-Obfuscate-rgw-password-in-ceph.conf.patch:
Fixes the obfuscation of "rgw keystone admin password" key in
/etc/ceph/ceph.conf on the radosgw node.
- d/p/0005-logs-Add-all-auth.log-syslog-and-kerne.log-as-standa.patch:
Collect the auth.log, syslog and kern.log now by default. This was
removed in a prior version. This is very useful for debugging issues for
support personnel. This re-instates the collection from releases prior
to 4.4.
- d/p/0006-ubuntu-Revamp-of-plugin.patch:
Collect Ubuntu Pro details that were being missed. The package name was
changed and the plugin was no longer collecting the details.
* Resolve username clean issues (LP: #2102199)
- d/p/0007-clean-Update-the-last-command-for-obfuscation.patch:
Fix username clean issue. A regression was introduced in 4.8.2 where the
username was not being cleaned due to the command updated from last to
last -F.
- d/p/0008-login-clean-Update-login-plugin-and-use-for-clean.patch:
oracular and plucky don't have last and lastlogin by default, we now use
lslogins and lastlogin2 to grab the user details and clean based out of
these outputs.
-- Arif Ali <arif-ali@xxxxxxxxxxxxx> Wed, 12 Mar 2025 17:24:19 +0000
** Changed in: sosreport (Ubuntu Noble)
Status: Fix Committed => Fix Released
** Changed in: sosreport (Ubuntu Jammy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to sos in Ubuntu.
https://bugs.launchpad.net/bugs/2101134
Title:
[sru] Obfuscation/Collection issues in sosreport/sos 4.8.2
Status in Ubuntu Pro:
New
Status in Ubuntu Pro 20.04 series:
New
Status in sos package in Ubuntu:
Fix Released
Status in sosreport source package in Focal:
Won't Fix
Status in sosreport source package in Jammy:
Fix Released
Status in sosreport source package in Noble:
Fix Released
Status in sosreport source package in Oracular:
Fix Released
Status in sos source package in Plucky:
Fix Released
Bug description:
[ Impact ]
When doing SRU for sos 4.8.2 we encountered obfuscation issues,
although not a regression at the time, it was still an issue that had
been present for a while
1. So, these passwords would be fully visible to the end support personnel and therefore leaked passwords.
2. Some logs had not longer being collected which are essential for debugging, such as auth.log, syslog and kern.log in /var/log
3. The ubuntu plugin was no longer collecting Ubuntu Pro details due to the package name for ubuntu-pro, and hence essential for supportability for customers that have Ubuntu Pro
4. autopkgtest for focal rendered a new issue, was not necessarily an issue, but the script was catching it
[ Test Plan ]
Test 1. Deploy a openstack simple cloud, and run the sos report, check to see if passwords are obfuscated in configuration file for radosgw and horizon config in particular /etc/ceph/ceph.conf and /etc/horizon/local_settings.py
Test 2. Deploy all series, and ensure the the auth.log, syslog and kerne.log are collected from /var/log.
Test 3. On the same hosts as Test 2, ensure that /var/log/ubuntu-advantage logs are collected
Test 4. Ensure to do autopkgtest via PPA for arm64 before going for SRU, and ensure all is good before submitting
The majority of the testing will follow ythe process detailed in the
following URL:
https://wiki.ubuntu.com/SosreportUpdates
[ Where problems could occur ]
1. The corresponding files are not obfuscated, and we need to update the patches.
2. The files that have been specified are not being collected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-pro/+bug/2101134/+subscriptions