Why does sosreport cleaner modifies file/directory names if part of hostname has matching substring?

Solution Verified - Updated -

Issue

  • When # sosreport --clean command is run, it will match the substring in commands to substring in hostnames and replace them.
  • After using Sosreport cleaner, I see the files/directories with modified names as follows:

    yum_-C_repolist  --->>   yum_-C_rhost147list
    yum_-C_repolist_--verbose  --->>   yum_-C_rhost147list_--verbose
    sos_commands  --->>    sos_comhost101nds
    

Environment

  • Red Hat Enterprise Linux 8
  • sos 4.3.* or lower

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content