← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2102199] Re: username clean doesn't work in 4.8.2

 

Oracular Verification
=====================

Generate sos report using affected plugin:
------------------------------------------

sos report -o login

Use the clean component on the generated sos report
---------------------------------------------------

sos clean /tmp/sosreport-test-oracular-2025-06-16-sehwkxd.tar.xz

Check that username is obfuscated
---------------------------------

cat /tmp/sosreport-test-oracular-2025-06-16-sehwkxd-private_map
... File Contents ...
    "ip_map": {
        "10.70.162.1": "45.94.56.11"
    },
    "username_map": {
        "/var/lib/wtmpdb/wtmp.db": "obfuscateduser0",
        "bryan": "obfuscateduser1"
    }

tar -xf/tmp/sosreport-test-oracular-2025-06-16-sehwkxd-obfuscated.tar.xz
grep -r "bryan" sosreport-test-oracular-2025-06-16-sehwkxd/
Results in no matches which means username does not appear in sos_commands/login/*

grep -r "obfuscateduser0" sosreport-test-oracular-2025-06-16-sehwkxd/
sos_commands/login/last_-F:obfuscateduser0 begins Mon Jun 16 21:20:11 2025
sos_commands/login/last_-F_shutdown:obfuscateduser0 begins Mon Jun 16 21:20:11 2025
sos_commands/login/last_-F_reboot:obfuscateduser0 begins Mon Jun 16 21:20:11 2025

grep -r "obfuscateduser1" sosreport-test-oracular-2025-06-16-sehwkxd/
sos_commands/login/lslogins: 1000 obfuscateduser1               0        1        0      21:22
sos_commands/login/lastlog2:obfuscateduser1            pts/1    45.94.56.11                                Mon Jun 16 21:22:57 +0000 2025

** Tags removed: verification-needed-jammy verification-needed-noble verification-needed-oracular
** Tags added: verification-done-jammy verification-done-noble verification-done-oracular

-- 
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 Committed
Status in sosreport source package in Noble:
  Fix Committed
Status in sosreport source package in Oracular:
  Fix Committed
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