aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkhil John <ajohn@ajohn.redhat.com>2018-05-22 08:43:02 +0530
committerBryn M. Reeves <bmr@redhat.com>2018-06-07 11:33:32 +0100
commited8ac87318c1610d1c61dc0b6b1bb6e952afeb50 (patch)
tree76c4af42f0638627d8508fecdd601d1fd975d127
parent26edb82b422ad0be1f78b743d385c724452ccbe7 (diff)
downloadsos-ed8ac87318c1610d1c61dc0b6b1bb6e952afeb50.tar.gz
[systemd] Add configuration files of systemd-modules-load.service
It is possible to load kernel modules during boot in a static list as mentioned under /etc/modules-load.d/*.conf. These files are used by systemd-modules-load.service. Collect this information using systemd plugin. Resolves: #1303 Signed-off-by: Akhil John <ajohn@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/systemd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/systemd.py b/sos/plugins/systemd.py
index 94266a92..90d723ff 100644
--- a/sos/plugins/systemd.py
+++ b/sos/plugins/systemd.py
@@ -56,12 +56,13 @@ class Systemd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/lib/systemd/system",
"/lib/systemd/user",
"/etc/vconsole.conf",
- "/etc/yum/protected.d/systemd.conf",
"/run/systemd/generator*",
"/run/systemd/seats",
"/run/systemd/sessions",
"/run/systemd/system",
"/run/systemd/users"
+ "/etc/modules-load.d/*.conf",
+ "/etc/yum/protected.d/systemd.conf"
])
# vim: set et ts=4 sw=4 :