Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-84078

SOS report plugin option 'userconfs' set to 'off' for ssh doesn't work.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-8.10
    • sos
    • None
    • No
    • Moderate
    • rhel-sst-cee-supportability
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      What were you trying to do that didn't work?

      I want to run sosreport without collecting user .ssh config using plugin option as follows:  sos report -k ssh.userconfs=off

      What is the impact of this issue to you?

      A customer with almost 200 local users faces long time to collect sos report. 32 mins with ssh plugin. Out of this time almost 30 minutes are taken only by ssh plugin to pack and then commands `s -alZ /home/<>/.ssh` . The plugin option '-k ssh.userconfs=off'  would have allowed the plugin ssh to finish quicker. 

      Please provide the package NVR for which the bug is seen:

      sos-4.8.2-1.el8_10.noarch

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Run command  `sos report -k ssh.userconfs=off`
      2. Check the sos_logs/sos.log file.

      Expected results

      The option userconfs set to off should cause the sos report ssh plugin to not collect the output of `ls -alZ /home/<user>/.ssh`.

      Actual results

      We see the `ls_-alZ_/home/<user>/.ssh` collected, completely ignoring the used option

              rhn-support-pmoravec Pavel Moravec
              rhn-support-plawate Pranav Lawate
              se cee-supportability se cee-supportability
              RHEL Supportability QE Bot RHEL Supportability QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: