- supportconfig: collect rotated logs in /var/log/libvirt/*
Modified libvirt-supportconfig bsc#1124667 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=741
This commit is contained in:
parent
6db7ff9129
commit
5dcdd0fcff
@ -54,19 +54,19 @@ rpm_verify() {
|
||||
if rpm_installed libvirt-daemon-xen; then
|
||||
LIBVIRTD_CONF_FILES="$LIBVIRTD_CONF_FILES /etc/libvirt/libxl.conf /etc/libvirt/libxl-lockd.conf /etc/libvirt/libxl-sanlock.conf"
|
||||
test -d /etc/libvirt/libxl && VM_CONF_FILES="$VM_CONF_FILES $(find -L /etc/libvirt/libxl/ -type f | sort)"
|
||||
test -d /var/log/libvirt/libxl && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/libxl/ -type f | grep 'log$' | sort)"
|
||||
test -d /var/log/libvirt/libxl && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/libxl/ -type f | sort)"
|
||||
fi
|
||||
|
||||
if rpm_installed libvirt-daemon-qemu; then
|
||||
LIBVIRTD_CONF_FILES="$LIBVIRTD_CONF_FILES /etc/libvirt/qemu.conf /etc/libvirt/qemu-lockd.conf /etc/libvirt/qemu-sanlock.conf"
|
||||
test -d /etc/libvirt/qemu && VM_CONF_FILES="$VM_CONF_FILES $(find -L /etc/libvirt/qemu/ -type f | sort)"
|
||||
test -d /var/log/libvirt/qemu && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/qemu/ -type f | grep 'log$' | sort)"
|
||||
test -d /var/log/libvirt/qemu && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/qemu/ -type f | sort)"
|
||||
fi
|
||||
|
||||
if rpm_installed libvirt-daemon-lxc; then
|
||||
LIBVIRTD_CONF_FILES="$LIBVIRTD_CONF_FILES /etc/libvirt/lxc.conf"
|
||||
test -d /etc/libvirt/lxc && VM_CONF_FILES="$VM_CONF_FILES $(find -L /etc/libvirt/lxc/ -type f | sort)"
|
||||
test -d /var/log/libvirt/lxc && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/lxc/ -type f | grep 'log$' | sort)"
|
||||
test -d /var/log/libvirt/lxc && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/lxc/ -type f | sort)"
|
||||
fi
|
||||
|
||||
if rpm_installed libvirt-admin; then
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 23:21:06 UTC 2019 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
- supportconfig: collect rotated logs in /var/log/libvirt/*
|
||||
Modified libvirt-supportconfig
|
||||
bsc#1124667
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 23:09:27 UTC 2019 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user