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

sos report sudo plugin to collect Debug logfiles per config

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-8.10.z
    • sos
    • None
    • No
    • None
    • rhel-sst-cee-supportability
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • All
    • None

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

      KCS https://access.redhat.com/solutions/624653 suggests to enable some debug logs with custom filepath. `sos report` does not collect them.

      We need to enhance `sudo` plugin to parse `/etc/sudo.conf` file and grab logfiles specified via Debug option.

      SSSD plugin does collect the `sssd_sudo.log` file already, just `sudo` plugin needs enhancement.

      What is the impact of this issue to you?

      sos report misses custom debug log files of sudo

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

      sos-4.8.0

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Enable sudo debugs per https://access.redhat.com/solutions/624653 and mock the debug log files by any content.
      2. `sos report -o sudo --batch --build`
      3. check if the debug (mocked) logfile was collected

      Expected results

      The debug logfile is collected

      Actual results

      The debug logfile is not collected

              rhn-support-pmoravec Pavel Moravec
              rhn-support-pmoravec Pavel Moravec
              Pavel Moravec Pavel Moravec
              RHEL Supportability QE Bot RHEL Supportability QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: