From c93b246e75d5bd6038724a52df9ab8532fb2ada5 Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Mon, 10 Sep 2018 14:23:39 -0400 Subject: [PATCH] Exclude /etc files that are causing collect extraction errors The following files are causing collect log extraction errors. /etc/systemd/system/lvm2-lvmetad.socket /etc/systemd/system/lvm2-lvmetad.service This update excludes all socket files in /etc/systemd/system and the /etc/systemd/system/lvm2-lvmetad.service from being collected as part of the collect operation. In doing so the extraction error does not occur. Note: Don't want to exclude all service files. Change-Id: Iaa34fd9b2dbd072980c1487278fb0e2f4cb1ec14 Related-Bug: https://bugs.launchpad.net/starlingx/+bug/1791780 Signed-off-by: Eric MacDonald --- tools/collector/centos/build_srpm.data | 2 +- tools/collector/scripts/etc.exclude | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/collector/centos/build_srpm.data b/tools/collector/centos/build_srpm.data index 69bf0121c..66f0fdbd8 100644 --- a/tools/collector/centos/build_srpm.data +++ b/tools/collector/centos/build_srpm.data @@ -1,2 +1,2 @@ SRC_DIR="scripts" -TIS_PATCH_VER=24 +TIS_PATCH_VER=25 diff --git a/tools/collector/scripts/etc.exclude b/tools/collector/scripts/etc.exclude index d3f3827d8..d870e9b22 100644 --- a/tools/collector/scripts/etc.exclude +++ b/tools/collector/scripts/etc.exclude @@ -35,6 +35,8 @@ /etc/bash_completion.d /etc/pm /etc/systemd/system/*.mount +/etc/systemd/system/*.socket +/etc/systemd/system/lvm2-lvmetad.service /etc/systemd/system/ctrl-alt-del.target /etc/ssl /etc/mtc/tmp