← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2102199] Re: username clean doesn't work in 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/2102199

Title:
  username clean doesn't work in 4.8.2

Status in sosreport:
  Fix Released
Status in sos package in Ubuntu:
  Fix Released
Status in sosreport source package in Focal:
  In Progress
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]

  As I was reporting the upstream due to issues found in verification, I
  found it was a regression for Ubuntu platforms.

  The last command output was replaced with last -F, and hence checking
  the username was taken away, and hence clean no longer working.

  [Test Plan]

  * Once the PR is up, will create a new SRU
  * Create a new PPA with the details of the commit
  * Test on multiple distros and ensure that the new package will clean the username
  * Report the results here.

  
  [ Where problems could occur ]

  The update will not clean the username

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