69 Commits

Author SHA1 Message Date
openeuler-ci-bot
52326bd054 !90 api: add get container metrics api to get the stat
From: @lifeng2221dd1
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2020-12-16 14:04:01 +08:00
lifeng68
099502c9ee api: add get container metrics api to get the stat
Signed-off-by: lifeng68 <lifeng68@huawei.com>
2020-12-15 18:31:14 +08:00
openeuler-ci-bot
5f906a5640 !86 af_unix: use path based unix domain sockets instead of abstract namespace sockets to improve container security
From: @jingwoo
Reviewed-by: @lifeng2221dd1
Signed-off-by: @lifeng2221dd1
2020-12-07 17:34:33 +08:00
wujing
187a744f0d af_unix: use path based unix domain sockets instead of abstract namespace sockets
to improve container security

Signed-off-by: wujing <wujing50@huawei.com>
2020-12-07 17:18:40 +08:00
openeuler-ci-bot
7ec9abc427 !79 mount: make possible to bind mount /proc and /sys/fs.
From: @lifeng2221dd1
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2020-11-28 15:07:58 +08:00
lifeng68
4e0e4f9af1 mount: make possible to bind mount /proc and /sys/fs
1. add check whether have /proc mounts entry, if has, skip the auto mount proc
2. mount cgroup before do mount entrys
3. pass if the mount on top of /proc and the source of the mount is a proc filesystem

Signed-off-by: lifeng68 <lifeng68@huawei.com>
2020-11-28 10:21:49 +08:00
openeuler-ci-bot
b16865f3ce !75 rootfs: add make private for root.path parent
From: @lifeng2221dd1
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2020-11-17 19:22:02 +08:00
lifeng68
64e08f9979 rootfs: add make private for root.path parent
Signed-off-by: lifeng68 <lifeng68@huawei.com>
2020-11-17 18:43:40 +08:00
openeuler-ci-bot
9bf60734bb !71 cgfsng: adjust log level from error to warn
From: @lifeng2221dd1
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2020-11-13 14:41:41 +08:00
lifeng68
4abbd2a6d4 cgfsng: adjust log level from error to warn
Signed-off-by: lifeng68 <lifeng68@huawei.com>
2020-11-13 14:28:12 +08:00
openeuler-ci-bot
1f9bc2f264 !67 update from master
From: @gaohuatao
Reviewed-by: @lifeng2221dd1
Signed-off-by: @lifeng2221dd1
2020-11-12 18:29:03 +08:00
gaohuatao
d3c23dec92 update from master
Signed-off-by: gaohuatao <gaohuatao@huawei.com>
2020-11-12 16:14:27 +08:00
openeuler-ci-bot
d59ac8e8bb !63 add patchs to series.conf
From: @jingwoo
Reviewed-by: @lifeng2221dd1
Signed-off-by: @lifeng2221dd1
2020-10-10 10:30:06 +08:00
wujing
79006e488c add patchs to series.conf
Signed-off-by: wujing <wujing50@huawei.com>
2020-10-10 10:11:47 +08:00
openeuler-ci-bot
94b10d8a1f !58 lxc: using string type instead of security_context_t
From: @jingwoo
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2020-09-25 17:01:29 +08:00
wujing
b2be84cc4e Using string type instead of security_context_t
reason: security_context_t is deprecated in libselinux project

Signed-off-by: wujing <wujing50@huawei.com>
2020-09-25 16:43:00 +08:00
openeuler-ci-bot
2023a8716a !55 lxc: do not catch SIGTERM in lxc monitor
From: @lifeng2221dd1
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2020-09-11 11:09:14 +08:00
lifeng68
f885f8407a lxc: do not catch SIGTERM in lxc monitor
Signed-off-by: lifeng68 <lifeng68@huawei.com>
2020-09-11 10:17:00 +08:00
openeuler-ci-bot
74e8b1803c !52 lxc: add patches
Merge pull request !52 from zhangxiaoyu/openEuler-20.03-LTS
2020-09-07 10:35:44 +08:00
zhangxiaoyu
3eecf57843 lxc; add patches
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2020-09-04 15:16:49 +08:00
openeuler-ci-bot
60801a7a67 !46 4.0.3: update base version to lxc_4.0.3
Merge pull request !46 from lifeng_isula/openEuler-20.03-LTS
2020-07-16 14:31:23 +08:00
lifeng68
65db176e13 4.0.3: update base version to lxc_4.0.3
Signed-off-by: lifeng68 <lifeng68@huawei.com>
2020-07-16 14:16:25 +08:00
openeuler-ci-bot
b0af9931b3 !39 lxc: set default cgroup pattern to lxc/%n
Merge pull request !39 from lifeng_isula/lts
2020-05-28 09:17:47 +08:00
lifeng68
c294547322 lxc: set default cgroup pattern to lxc/%n
Signed-off-by: lifeng68 <lifeng68@huawei.com>
2020-05-27 17:23:11 +08:00
lifeng_isula
930ee5a0a6 !38 lxc: set normal ret value when populate exist device successfully
Merge pull request !38 from wangkang101/openEuler-20.03-LTS
2020-05-22 16:55:44 +08:00
wangkang
721df3863b lxc: set normal ret value when populate exist device successfully
Signed-off-by: wangkang <wangkang101@huawei.com>
2020-05-22 14:55:38 +08:00
openeuler-ci-bot
86630d8651 !35 lxc: fix build test error
Merge pull request !35 from lifeng_isula/lts
2020-05-19 19:58:13 +08:00
lifeng68
1988f5b60e lxc: fix build test error
Signed-off-by: lifeng68 <lifeng68@huawei.com>
2020-05-19 06:34:57 -04:00
lifeng_isula
a80f37e3a2 !34 lxc: disable terminal stdout/stderr pipe O_NONBLOCK
Merge pull request !34 from gaohuatao/20.03LTS
2020-05-14 19:28:01 +08:00
gaohuatao
6360917592 lxc: disable terminal stdout/stderr pipe O_NONBLOCK
Signed-off-by: gaohuatao <gaohuatao@huawei.com>
(cherry picked from commit b0c40098c822ec7931540c37764a463a78acda08)
Signed-off-by: gaohuatao <gaohuatao@huawei.com>
2020-05-14 08:36:52 -04:00
haozi007
aa26b4e779 !32 lxc: fix hook memory leak
Merge pull request !32 from lifeng_isula/fix_LTS
2020-05-11 14:12:36 +08:00
LiFeng
e3d6e34bff lxc: fix hook memory leak
Signed-off-by: LiFeng <lifeng68@huawei.com>
2020-05-11 14:03:58 +08:00
lifeng_isula
4564957532 !30 change log level
Merge pull request !30 from haozi007/stable
2020-05-07 11:51:47 +08:00
haozi007
ae5066704c change log level of seccomp setup
Signed-off-by: haozi007 <liuhao27@huawei.com>
2020-05-06 23:31:58 -04:00
openeuler-ci-bot
5bde8ffb46 !27 mount: use parsed symlink path as mount target
Merge pull request !27 from lifeng_isula/fix_LTS
2020-05-06 10:25:50 +08:00
LiFeng
32ea3051be mount: use parsed symlink path as mount target
Signed-off-by: LiFeng <lifeng68@huawei.com>
2020-04-30 19:24:41 +08:00
LiFeng
c4b795a9ec attch: add err msg when call attach failed
Signed-off-by: LiFeng <lifeng68@huawei.com>
2020-04-30 17:09:05 +08:00
openeuler-ci-bot
2eeea31aeb !26 attach: add err msg when call attach failed
Merge pull request !26 from lifeng_isula/fix_LTS
2020-04-30 15:56:36 +08:00
lifeng_isula
e144ad0535 !23 set state to stopped
Merge pull request !23 from haozi007/openEuler-20.03-LTS
2020-04-28 16:05:07 +08:00
haozi007
aae39486b6 set state to stopped
if cmd is timeout

Signed-off-by: haozi007 <liuhao27@huawei.com>
2020-04-28 11:53:58 +08:00
lifeng_isula
6479fa3c67 !21 lxc: update Mulan v1 to v2
Merge pull request !21 from lifeng_isula/LTS
2020-04-27 19:06:23 +08:00
LiFeng
87c750663f lxc: update Mulan v1 to v2
Signed-off-by: LiFeng <lifeng68@huawei.com>
2020-04-27 20:32:01 +08:00
openeuler-ci-bot
bcc0f14544 !20 LTS: update lxc to 4.0.1
Merge pull request !20 from lifeng_isula/LTS
2020-04-27 10:53:36 +08:00
lifeng
62d859727b LTS: update lxc to 4.0.1
Signed-off-by: lifeng <lifeng68@huawei.com>
2020-04-27 10:40:43 +08:00
openeuler-ci-bot
0f6024cdb1 !15 lxc: fix source0
Merge pull request !15 from lifeng_isula/fix_source0_lts
2020-04-08 11:45:58 +08:00
lifeng
618f4a06ae lxc: fix source0
Signed-off-by: lifeng <lifeng68@huawei.com>
2020-04-08 11:36:17 +08:00
openeuler-ci-bot
423c5d6cb7 !11 lxc: add etc/sysconfig
Merge pull request !11 from lifeng_isula/fix_etc
2020-03-11 09:35:15 +08:00
LiFeng
5a9e595c2b lxc: add etc/sysconfig
Signed-off-by: LiFeng <lifeng68@huawei.com>
2020-03-10 22:58:48 -04:00
openeuler-ci-bot
59bc4df68d !10 更正lxc.spec中release字段
Merge pull request !10 from Jackey_1024/master
2020-03-10 16:10:49 +08:00
jikui
ff557759c6 lxc: correct release filed
Signed-off-by: jikui <jikui2@huawei.com>
2020-03-10 05:33:13 -04:00