aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Castillo <jcastillo@redhat.com>2024-03-04 12:25:47 +0000
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2024-03-05 21:33:17 -0500
commit4401c4ee3224201291db6361bb2d870bd2718096 (patch)
tree62c442d89668e7861a5c50e1bd4e8a77808a944f
parent7e81246fcfd35e17a69bc3d40400cd123e8ca7bf (diff)
downloadsos-4401c4ee3224201291db6361bb2d870bd2718096.tar.gz
[sapnw] Remove capture of deprecated sapconf command
The sapconf command is not distributed in RHEL 8 and 9, so the code is never executed, and its safe to remove. Related: RH: RHEL-27830 and RHEL-27831 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
-rw-r--r--sos/report/plugins/sapnw.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/sos/report/plugins/sapnw.py b/sos/report/plugins/sapnw.py
index c3d9e69d..7424411d 100644
--- a/sos/report/plugins/sapnw.py
+++ b/sos/report/plugins/sapnw.py
@@ -130,13 +130,4 @@ class sapnw(Plugin, RedHatPlugin):
self.collect_list_instances()
self.collect_list_dbs()
- # run sapconf in check mode
- #
- # since the command creates a limits.d file on its own,
- # we must predicate it by presence of the file
- if self.path_exists('/etc/security/limits.d/99-sap-limits.conf') \
- or self.get_option('allow_system_changes'):
- self.add_cmd_output("sapconf -n",
- suggest_filename="sapconf_checkmode")
-
# vim: et ts=4 sw=4