-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-8.10
-
None
-
No
-
Moderate
-
rhel-sst-cee-supportability
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
Sosreport -o login --clean command takes 2 hours to obfuscate output files `lastlog` and `lastlog_-u_65537-4294967295`
The system has 31K+ users with UUID 65537 onwards.
What is the impact of this issue to you?
Complete obfuscation of Sosreport hangs and can not be collected.
Please provide the package NVR for which the bug is seen:
sos-4.7.2-2.el8_10.noarch Mon Sep 16 12:58:45 2024
How reproducible is this bug?:
100%
Steps to reproduce
- Have large number of users locally in system so as to have 31K lines listed by lastlog command
- Run command `# sosreport --clean`.
Expected results
The command should complete after some time.
Actual results
The command hangs for complete sosreport.
The command takes 2 hours for '-o login'
The command completes quickly for '-n login'
~~~
1729080482 [cleaner] Prepping username mapping with items from sosreport-vx2txapaapexe01-2024-10-16-cqympwt
-------------------------- 98 seconds --------------------------
1729080580 Found 1 total reports to obfuscate, processing up to 4 concurrently
...
1729080580 [cleaner:sosreport-vx2txapaapexe01-2024-10-16-cqympwt] Obfuscating sos_commands/login/last
-------------------------- 404 seconds --------------------------
1729080984 [cleaner:sosreport-vx2txapaapexe01-2024-10-16-cqympwt] Obfuscating sos_commands/login/last_reboot
...
1729080984 [cleaner:sosreport-vx2txapaapexe01-2024-10-16-cqympwt] Obfuscating sos_commands/login/lastlog
-------------------------- 3296 seconds --------------------------
1729084280 [cleaner:sosreport-vx2txapaapexe01-2024-10-16-cqympwt] Obfuscating sos_commands/login/lastlog_-u_0-999
...
1729084283 [cleaner:sosreport-vx2txapaapexe01-2024-10-16-cqympwt] Obfuscating sos_commands/login/lastlog_-u_65537-4294967295
-------------------------- 3266 seconds --------------------------
1729087549 [cleaner:sosreport-vx2txapaapexe01-2024-10-16-cqympwt] Obfuscating sos_reports/sos.txt
~~~