!406 [sync] PR-403: fix lxc write error message
Merge pull request !406 from openeuler-sync-bot/sync-pr403-openEuler-22.03-LTS-to-openEuler-22.03-LTS-Next
This commit is contained in:
commit
f4d9a36213
26
0057-fix-lxc-write-error-message.patch
Normal file
26
0057-fix-lxc-write-error-message.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 45948760921dbaa1c030b6848168b89428ca1434 Mon Sep 17 00:00:00 2001
|
||||||
|
From: songbuhuang <544824346@qq.com>
|
||||||
|
Date: Wed, 8 Feb 2023 14:46:44 +0800
|
||||||
|
Subject: [PATCH] fix lxc write error message
|
||||||
|
|
||||||
|
Signed-off-by: songbuhuang <544824346@qq.com>
|
||||||
|
---
|
||||||
|
src/lxc/cgroups/isulad_cgfsng.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/lxc/cgroups/isulad_cgfsng.c b/src/lxc/cgroups/isulad_cgfsng.c
|
||||||
|
index f5cf81c..6ccff63 100644
|
||||||
|
--- a/src/lxc/cgroups/isulad_cgfsng.c
|
||||||
|
+++ b/src/lxc/cgroups/isulad_cgfsng.c
|
||||||
|
@@ -2463,7 +2463,7 @@ retry:
|
||||||
|
goto retry;
|
||||||
|
}
|
||||||
|
lxc_write_error_message(ops->errfd,
|
||||||
|
- "%s:%d: setting cgroup config for ready process caused \"failed to write %s to %s: %s\".",
|
||||||
|
+ "%s:%d: setting cgroup config for ready process caused failed to write %s to %s: %s",
|
||||||
|
__FILE__, __LINE__, value, fullpath, strerror(errno));
|
||||||
|
}
|
||||||
|
free(fullpath);
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
||||||
9
lxc.spec
9
lxc.spec
@ -1,4 +1,4 @@
|
|||||||
%global _release 2022102408
|
%global _release 2022102409
|
||||||
|
|
||||||
Name: lxc
|
Name: lxc
|
||||||
Version: 4.0.3
|
Version: 4.0.3
|
||||||
@ -64,6 +64,7 @@ Patch0053: 0053-change-the-suffi-parameter-in-lxc-attach-help-output.patch
|
|||||||
Patch0054: 0054-rollback-strprint-code-modified.patch
|
Patch0054: 0054-rollback-strprint-code-modified.patch
|
||||||
Patch0055: 0055-add-sscanf-adapation-code-for-musl.patch
|
Patch0055: 0055-add-sscanf-adapation-code-for-musl.patch
|
||||||
Patch0056: 0056-fix-cve-CVE-2022-47952-log-leaks-root-information.patch
|
Patch0056: 0056-fix-cve-CVE-2022-47952-log-leaks-root-information.patch
|
||||||
|
Patch0057: 0057-fix-lxc-write-error-message.patch
|
||||||
|
|
||||||
BuildRequires: systemd-units git libtool graphviz docbook2X doxygen chrpath
|
BuildRequires: systemd-units git libtool graphviz docbook2X doxygen chrpath
|
||||||
BuildRequires: pkgconfig(libseccomp)
|
BuildRequires: pkgconfig(libseccomp)
|
||||||
@ -244,6 +245,12 @@ make check
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 08 2023 huangsong<huangsong14@huawei.com> - 4.0.3-2022102409
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: fix lxc write error message
|
||||||
|
|
||||||
* Fri Jan 13 2023 wangrunze<wangrunze13@huawei.com> - 4.0.3-2022102408
|
* Fri Jan 13 2023 wangrunze<wangrunze13@huawei.com> - 4.0.3-2022102408
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
@ -53,4 +53,5 @@
|
|||||||
0053-change-the-suffi-parameter-in-lxc-attach-help-output.patch
|
0053-change-the-suffi-parameter-in-lxc-attach-help-output.patch
|
||||||
0054-rollback-strprint-code-modified.patch
|
0054-rollback-strprint-code-modified.patch
|
||||||
0055-add-sscanf-adapation-code-for-musl.patch
|
0055-add-sscanf-adapation-code-for-musl.patch
|
||||||
0056-fix-cve-CVE-2022-47952-log-leaks-root-information.patch
|
0056-fix-cve-CVE-2022-47952-log-leaks-root-information.patch
|
||||||
|
0057-fix-lxc-write-error-message.patch
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user