Skip to content

Commit

Permalink
[rpm] Capture the output of 'rpm --showrc'
Browse files Browse the repository at this point in the history
This request adds the output of --showrc to sos
so we can verify the default values of options set
via rpmrc and macros config files.

Relevant: #3475

Signed-off-by: Barbora Vassova <[email protected]>
  • Loading branch information
bvassova authored and TurboTurtle committed Mar 2, 2024
1 parent 2dc958e commit 95a889c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sos/plugins/rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@ def add_rpm_cmd(query_fmt, filter_cmd, symlink, suggest):
suggest_filename='lsof_D_var_lib_rpm')
self.add_copy_spec("/var/lib/rpm")

self.add_cmd_output("rpm --showrc")

# vim: set et ts=4 sw=4 :

0 comments on commit 95a889c

Please sign in to comment.