|
|
3cec62 |
From 4cdb0a7de54b5aa2646169c33563a2e6545b580d Mon Sep 17 00:00:00 2001
|
|
|
3cec62 |
From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= <mgrabovs@redhat.com>
|
|
|
3cec62 |
Date: Tue, 31 Jan 2023 10:41:46 +0100
|
|
|
3cec62 |
Subject: [PATCH] plugins: Update sosreport event
|
|
|
3cec62 |
|
|
|
3cec62 |
- Run `sos report` in place of the obsolete `sosreport` command.
|
|
|
3cec62 |
- Switch to `dnf` plugin instead of `yum`.
|
|
|
3cec62 |
|
|
|
3cec62 |
Resolves rhbz#2137499
|
|
|
3cec62 |
---
|
|
|
3cec62 |
src/plugins/sosreport_event.conf | 4 ++--
|
|
|
3cec62 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
3cec62 |
|
|
|
3cec62 |
diff --git a/src/plugins/sosreport_event.conf b/src/plugins/sosreport_event.conf
|
|
|
3cec62 |
index 88ca26fe..4799ff0a 100644
|
|
|
3cec62 |
--- a/src/plugins/sosreport_event.conf
|
|
|
3cec62 |
+++ b/src/plugins/sosreport_event.conf
|
|
|
3cec62 |
@@ -2,12 +2,12 @@
|
|
|
3cec62 |
# (alternatively, you can add similar command to EVENT=analyze_foo's,
|
|
|
3cec62 |
# if you would rather perform this collection later):
|
|
|
3cec62 |
EVENT=post-create remote!=1
|
|
|
3cec62 |
- nice sosreport --tmp-dir "$DUMP_DIR" --batch \
|
|
|
3cec62 |
+ nice sos report --tmp-dir "$DUMP_DIR" --batch \
|
|
|
3cec62 |
--only=anaconda --only=boot --only=devicemapper \
|
|
|
3cec62 |
--only=filesys --only=hardware --only=kernel --only=libraries \
|
|
|
3cec62 |
--only=memory --only=networking --only=nfs --only=pam \
|
|
|
3cec62 |
--only=process --only=rpm -k rpm.rpmva=off --only=ssh \
|
|
|
3cec62 |
- --only=services --only=yum --only=date --only=host --only=x11 \
|
|
|
3cec62 |
+ --only=services --only=dnf --only=date --only=host --only=x11 \
|
|
|
3cec62 |
--only=cups --only=logs --only=grub2 --only=cron --only=pci \
|
|
|
3cec62 |
--only=auditd --only=selinux --only=lvm2 --only=sar \
|
|
|
3cec62 |
--only=processor \
|
|
|
3cec62 |
--
|
|
|
3cec62 |
2.39.1
|
|
|
3cec62 |
|