Replace a file test from fsmond
fsmond tries to create a test file in "/.fs-test" but it is not possible because "/" is blocked by ostree. So the fix is to replace this path from fsmond monitoring with /sysroot/.fs_test. Below is a comparison of the logs: - Before change: ( 196) fsmon_service : Warn : File (/.fs-test) test failed - After change: ( 201) fsmon_service : Info : tests passed Test Plan: - PASS: Build mtce package - PASS: Replace fsmond binary on AIO-SX - PASS: Check fsmond.log output Closes-Bug: 2043712 Change-Id: Ib4bad73448735bce1dff598151fce86f867f4db7 Signed-off-by: Erickson Silva de Oliveira <Erickson.SilvadeOliveira@windriver.com>
This commit is contained in:
parent
8d2883aa68
commit
16181a2ce8
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2016 Wind River Systems, Inc.
|
||||
* Copyright (c) 2013, 2016, 2023 Wind River Systems, Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
@ -30,7 +30,7 @@ using namespace std;
|
||||
typedef char FileNameT[PATH_MAX];
|
||||
|
||||
static FileNameT _files[] =
|
||||
{ "/.fs-test",
|
||||
{ "/sysroot/.fs_test",
|
||||
"/scratch/.fs_test",
|
||||
"/var/log/.fs_test",
|
||||
"/var/run/.fs_test",
|
||||
|
Loading…
Reference in New Issue
Block a user