aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkshay Gaikwad <akgaikwad001@gmail.com>2020-11-24 13:35:17 +0530
committerJake Hunsaker <jhunsake@redhat.com>2020-11-30 12:12:04 -0500
commit2e906f9286b70508bafcd624422d898cd927d699 (patch)
tree8d3d4378fab40290c6ed9cb13ef874a33426c8d3
parent93f2118ab93f2395dd185e5a4da55a08fa3d0319 (diff)
downloadsos-2e906f9286b70508bafcd624422d898cd927d699.tar.gz
[systemd] Add tmpfiles.d conf files
systemd-tmpfiles uses these configuration files to create volatile files and directories. These configurations needs to gathered by sosreport for analyzing what tmpfiles rule are included. Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/systemd.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/report/plugins/systemd.py b/sos/report/plugins/systemd.py
index 65e5e4b9..ebbebe38 100644
--- a/sos/report/plugins/systemd.py
+++ b/sos/report/plugins/systemd.py
@@ -71,7 +71,10 @@ class Systemd(Plugin, IndependentPlugin):
"/run/systemd/system",
"/run/systemd/users",
"/etc/modules-load.d/*.conf",
- "/etc/yum/protected.d/systemd.conf"
+ "/etc/yum/protected.d/systemd.conf",
+ "/etc/tmpfiles.d/*.conf",
+ "/run/tmpfiles.d/*.conf",
+ "/usr/lib/tmpfiles.d/*.conf",
])
self.add_forbidden_path('/dev/null')