diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-25 03:19:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-25 03:19:39 +0000 |
commit | 723a12433aa7309e1eb0618be08d9b9fea389b81 (patch) | |
tree | 6e73a07585bfafeae4404d2247436ed13d337457 /0002-2156-Fix-sandbox-error-logging.patch | |
parent | e3a65d47f4dae59923d032065e9c335fcdd7a0a8 (diff) |
automatic import of iSuladopeneuler22.03_LTS_SP2
Diffstat (limited to '0002-2156-Fix-sandbox-error-logging.patch')
-rw-r--r-- | 0002-2156-Fix-sandbox-error-logging.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/0002-2156-Fix-sandbox-error-logging.patch b/0002-2156-Fix-sandbox-error-logging.patch new file mode 100644 index 0000000..b6914b4 --- /dev/null +++ b/0002-2156-Fix-sandbox-error-logging.patch @@ -0,0 +1,28 @@ +From cc6302549b722a5c309c90794afe27b2e7e7b29e Mon Sep 17 00:00:00 2001 +From: xuxuepeng <xuxuepeng1@huawei.com> +Date: Tue, 29 Aug 2023 13:18:13 +0000 +Subject: [PATCH 02/33] !2156 Fix sandbox error logging * Fix sandbox error + logging + +--- + src/daemon/sandbox/sandbox.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/daemon/sandbox/sandbox.cc b/src/daemon/sandbox/sandbox.cc +index 2433e11b..968dae24 100644 +--- a/src/daemon/sandbox/sandbox.cc ++++ b/src/daemon/sandbox/sandbox.cc +@@ -581,8 +581,8 @@ auto Sandbox::Create(Errors &error) -> bool + + nret = util_mkdir_p(m_rootdir.c_str(), CONFIG_DIRECTORY_MODE); + if (nret != 0 && errno != EEXIST) { +- error.Errorf("Failed to create sandbox path %s", m_rootdir); +- SYSERROR("Failed to create sandbox path %s", m_rootdir); ++ error.Errorf("Failed to create sandbox path %s", m_rootdir.c_str()); ++ SYSERROR("Failed to create sandbox path %s", m_rootdir.c_str()); + return false; + } + #ifdef ENABLE_USERNS_REMAP +-- +2.40.1 + |