aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/ceph.py2
-rw-r--r--sos/plugins/docker.py2
-rw-r--r--sos/plugins/gluster.py4
-rw-r--r--sos/plugins/kubernetes.py2
-rw-r--r--sos/plugins/libvirt.py6
-rw-r--r--sos/plugins/nfsganesha.py2
-rw-r--r--sos/plugins/openvswitch.py6
-rw-r--r--sos/plugins/ovirt_hosted_engine.py2
-rw-r--r--sos/plugins/ovn_central.py1
-rw-r--r--sos/plugins/ovn_host.py1
-rw-r--r--sos/plugins/vdsm.py6
11 files changed, 16 insertions, 18 deletions
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py
index 4008f733..6e340c69 100644
--- a/sos/plugins/ceph.py
+++ b/sos/plugins/ceph.py
@@ -55,7 +55,7 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
"/etc/ceph/",
"/etc/calamari/",
"/var/lib/ceph/",
- "/var/run/ceph/"
+ "/run/ceph/"
])
self.add_cmd_output([
diff --git a/sos/plugins/docker.py b/sos/plugins/docker.py
index a845cc32..7424fbba 100644
--- a/sos/plugins/docker.py
+++ b/sos/plugins/docker.py
@@ -149,7 +149,7 @@ class UbuntuDocker(Docker, UbuntuPlugin):
super(UbuntuDocker, self).setup()
self.add_copy_spec([
"/etc/default/docker",
- "/var/run/docker/libcontainerd/containerd/events.log"
+ "/run/docker/libcontainerd/containerd/events.log"
])
# vim: set et ts=4 sw=4 :
diff --git a/sos/plugins/gluster.py b/sos/plugins/gluster.py
index e0391c7b..1a349d9e 100644
--- a/sos/plugins/gluster.py
+++ b/sos/plugins/gluster.py
@@ -69,8 +69,8 @@ class Gluster(Plugin, RedHatPlugin):
"/etc/glusterfs",
"/var/lib/glusterd/",
# collect nfs-ganesha related configuration
- "/var/run/gluster/shared_storage/nfs-ganesha/"
- ] + glob.glob('/var/run/gluster/*tier-dht/*'))
+ "/run/gluster/shared_storage/nfs-ganesha/"
+ ] + glob.glob('/run/gluster/*tier-dht/*'))
if not self.get_option("all_logs"):
self.add_copy_spec([
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py
index 131c5e71..4c291f75 100644
--- a/sos/plugins/kubernetes.py
+++ b/sos/plugins/kubernetes.py
@@ -38,7 +38,7 @@ class Kubernetes(Plugin):
def setup(self):
self.add_copy_spec("/etc/kubernetes")
- self.add_copy_spec("/var/run/flannel")
+ self.add_copy_spec("/run/flannel")
self.add_env_var([
'KUBECONFIG',
diff --git a/sos/plugins/libvirt.py b/sos/plugins/libvirt.py
index 00a63f2e..883c0ddd 100644
--- a/sos/plugins/libvirt.py
+++ b/sos/plugins/libvirt.py
@@ -36,7 +36,7 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"/etc/libvirt/nwfilter/*.xml",
"/etc/libvirt/qemu/*.xml",
"/etc/libvirt/qemu.conf",
- "/var/run/libvirt/",
+ "/run/libvirt/",
"/etc/libvirt/qemu/networks/*.xml",
"/etc/libvirt/qemu/networks/autostart/*.xml",
"/etc/libvirt/storage/*.xml",
@@ -61,7 +61,7 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_cmd_output("ls -lR /var/lib/libvirt/qemu")
# get details of processes of KVM hosts
- for pidfile in glob.glob("/var/run/libvirt/*/*.pid"):
+ for pidfile in glob.glob("/run/libvirt/*/*.pid"):
pid = open(pidfile).read().splitlines()[0]
for pf in ["environ", "cgroup", "maps", "numa_maps", "limits"]:
self.add_copy_spec("/proc/%s/%s" % (pid, pf))
@@ -70,7 +70,7 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
match_exp = r"(\s*passwd=\s*')([^']*)('.*)"
libvirt_path_exps = [
r"/etc/libvirt/qemu/.*\.xml",
- r"/var/run/libvirt/qemu/.*\.xml",
+ r"/run/libvirt/qemu/.*\.xml",
r"/etc/libvirt/.*\.conf"
]
for path_exp in libvirt_path_exps:
diff --git a/sos/plugins/nfsganesha.py b/sos/plugins/nfsganesha.py
index afac02ed..be6bbd47 100644
--- a/sos/plugins/nfsganesha.py
+++ b/sos/plugins/nfsganesha.py
@@ -20,7 +20,7 @@ class NfsGanesha(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_spec([
"/etc/ganesha",
"/etc/sysconfig/ganesha",
- "/var/run/sysconfig/ganesha",
+ "/run/sysconfig/ganesha",
"/var/log/ganesha/*.log"
])
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index 450e5387..d0159466 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -38,8 +38,8 @@ class OpenVSwitch(Plugin):
self.add_copy_spec(log_dirs)
self.add_copy_spec([
- "/var/run/openvswitch/ovsdb-server.pid",
- "/var/run/openvswitch/ovs-vswitchd.pid"
+ "/run/openvswitch/ovsdb-server.pid",
+ "/run/openvswitch/ovs-vswitchd.pid"
])
self.add_cmd_output([
@@ -56,7 +56,7 @@ class OpenVSwitch(Plugin):
# Gather the database.
"ovsdb-client -f list dump",
# List the contents of runtime directory
- "ls -laZ /var/run/openvswitch",
+ "ls -laZ /run/openvswitch",
# List devices and their drivers
"dpdk_nic_bind --status",
"dpdk_devbind.py --status",
diff --git a/sos/plugins/ovirt_hosted_engine.py b/sos/plugins/ovirt_hosted_engine.py
index fefc0294..d59a56fe 100644
--- a/sos/plugins/ovirt_hosted_engine.py
+++ b/sos/plugins/ovirt_hosted_engine.py
@@ -39,7 +39,7 @@ class OvirtHostedEngine(Plugin, RedHatPlugin):
'/etc/ovirt-hosted-engine-ha/broker.conf',
'/etc/ovirt-hosted-engine-ha/broker-log.conf',
'/etc/ovirt-hosted-engine-ha/notifications/state_transition.txt',
- '/var/run/ovirt-hosted-engine-ha/vm.conf',
+ '/run/ovirt-hosted-engine-ha/vm.conf',
'/var/lib/ovirt-hosted-engine-ha/broker.conf',
])
diff --git a/sos/plugins/ovn_central.py b/sos/plugins/ovn_central.py
index 2b96af99..41b48415 100644
--- a/sos/plugins/ovn_central.py
+++ b/sos/plugins/ovn_central.py
@@ -84,7 +84,6 @@ class OVNCentral(Plugin):
self.add_copy_spec([
os.path.join('/var/lib/openvswitch/ovn', pidfile),
os.path.join('/usr/local/var/run/openvswitch', pidfile),
- os.path.join('/var/run/openvswitch/', pidfile),
os.path.join('/run/openvswitch/', pidfile),
])
diff --git a/sos/plugins/ovn_host.py b/sos/plugins/ovn_host.py
index 5225f010..9ba18412 100644
--- a/sos/plugins/ovn_host.py
+++ b/sos/plugins/ovn_host.py
@@ -16,7 +16,6 @@ pidfile = 'ovn-controller.pid'
pid_paths = [
'/var/lib/openvswitch/ovn',
'/usr/local/var/run/openvswitch',
- '/var/run/openvswitch',
'/run/openvswitch'
]
diff --git a/sos/plugins/vdsm.py b/sos/plugins/vdsm.py
index 928d5082..b2a1ca58 100644
--- a/sos/plugins/vdsm.py
+++ b/sos/plugins/vdsm.py
@@ -77,7 +77,7 @@ class Vdsm(Plugin, RedHatPlugin):
self._add_vdsm_forbidden_paths()
self.add_copy_spec([
- '/var/run/vdsm/*',
+ '/run/vdsm/*',
'/usr/libexec/vdsm/hooks',
'/var/lib/vdsm',
])
@@ -142,9 +142,9 @@ class Vdsm(Plugin, RedHatPlugin):
)
def _add_vdsm_forbidden_paths(self):
- """Add confidential sysprep vfds under /var/run/vdsm to
+ """Add confidential sysprep vfds under /run/vdsm to
forbidden paths """
- for file_path in glob.glob("/var/run/vdsm/*"):
+ for file_path in glob.glob("/run/vdsm/*"):
if file_path.endswith(('.vfd', '/isoUploader', '/storage')):
self.add_forbidden_path(file_path)