113 Commits

Author SHA1 Message Date
openeuler-ci-bot
acaacc661f
!176 [sync] PR-171: libmultipath: sysfs_set_scsi_tmo: do nothing for ACT_DRY_RUN
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2024-06-18 09:04:47 +00:00
kouwenqi
81e889090d libmultipath: sysfs_set_scsi_tmo: do nothing for ACT_DRY_RUN
"multipath -d" might change sysfs timeouts of SCSI devices.
Make sure it doesn't.

(cherry picked from commit 7a9bf7333900467f4ce59a9baf8578b73a74a89e)
2024-06-18 16:07:44 +08:00
openeuler-ci-bot
9d3ca73c5e
!157 multipathd.socket: add missing conditions from service unit
From: @kouwq 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2024-04-29 02:50:10 +00:00
kouwenqi
d51e66c57b multipathd.socket: add missing conditions from service unit
This aligns 'multipathd' socket and service units, by adding the
start conditions that are set on the service but not on the socket.
It should help avoiding situations where the socket unit ends up
marked as failed after hitting its retry-limit.
2024-04-02 15:47:41 +08:00
openeuler-ci-bot
e111a669ee
!148 [sync] PR-142: fix coredump in io_err_stat
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-12-19 13:10:38 +00:00
wangzhiqiang
b27f000243 fix coredump in io_err_stat
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit 975abdc6a277f92722366f4015a4ced4fe19fe7c)
2023-12-19 18:57:20 +08:00
openeuler-ci-bot
bbbe2d5f0b
!139 [sync] PR-135: backport bugfix patch from upstream
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-12-05 12:23:42 +00:00
liubo
cd4d12649f backport patches from community
backport two patches from community.
1. libmultipath: use directio checker for LIO target
2. multipathd: make pr registration consistent

Signed-off-by: liubo <liubo254@huawei.com>
(cherry picked from commit ee0fed9d9c62936bc10577d2ade7aa93ef601491)
2023-12-05 17:45:07 +08:00
openeuler-ci-bot
a1c752dfc0
!133 [sync] PR-131: multipath-tools: set Source0 to URL link
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-11-29 14:25:57 +00:00
Zhiqiang Liu
11ab008a9f multipath-tools: set Source0 to URL link
Fix issue:https://gitee.com/src-openeuler/multipath-tools/issues/I639ZP

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
(cherry picked from commit 4be07bcdde097f22f56a0e7ecb7a4c98c5048600)
2022-11-29 20:11:10 +08:00
openeuler-ci-bot
a4c443035b
!127 [sync] PR-125: 修复了CVE-2022-41974导致multipathd参数顺序修改以及mpathpersist命令执行失败的问题
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-11-28 12:35:35 +00:00
gqmiao
cad5af27f6 CVE-2022-41974 modify the parameter sequence of mpathpersist
and multipathd. It may cause command multipathd and mpathpersist
execute error.

Signed-off-by: gqmiao <miaoguanqin@huawei.com>
(cherry picked from commit 1945932368cc168091982f81e46d1a3e00dc8b65)
2022-11-28 20:16:09 +08:00
openeuler-ci-bot
6a4a195a08
!121 [sync] PR-117: fix CVE-2022-41974
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-11-07 03:33:26 +00:00
wguanghao
23498fa8e4 fix CVE-2022-41974
(cherry picked from commit c2290cffbe2d80e0e06fb4299a221de2871b66e7)
2022-11-07 11:24:00 +08:00
openeuler-ci-bot
63bf4ba03f
!115 [sync] PR-113: 修复CVE-2022-41973
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-10-31 03:23:44 +00:00
Kemeng Shi
126785d319 multipath-tools: use /run instead of /dev/shm
/dev/shm may have unsafe permissions. Use /run instead.
Use systemd's tmpfiles.d mechanism to create /run/multipath
early during boot.

For backward compatibilty, make the runtime directory configurable
via the "runtimedir" make variable.

Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
(cherry picked from commit ece61bee4ca9432cc712ea832637d39118074750)
2022-10-31 11:06:17 +08:00
openeuler-ci-bot
f2a7c27028
!110 [sync] PR-108: multipath fix exit status of multipath -T
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-10-17 09:07:11 +00:00
xueyamao
eade3f158a multipath fix exit status of multipath -T
We must set the return value in configure().

Signed-off-by: xueyamao <xueyamao@kylinos.cn>
(cherry picked from commit d3b45029abc80a0eabd77b760a254f24a95e76fd)
2022-10-17 16:50:52 +08:00
openeuler-ci-bot
f4fa167cd2
!106 [sync] PR-104: fix multipath return failure on an invalid remove command
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-09-01 02:07:03 +00:00
xueyamao
586ecad17d fix multipath return failure on an invalid remove command
When "multipath -f" is run on a device that doesn't exist or isn't a
multipath device, the command will not remove any device, but it will
still return success.

Signed-off-by: xueyamao <xueyamao@kylinos.cn>
(cherry picked from commit b68fc8b7d9312d204b04cf1af290f50dd6a425fa)
2022-09-01 09:40:08 +08:00
openeuler-ci-bot
b2d270b89a
!103 [sync] PR-100: 【轻量级 PR】:fix bogus date
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-06-17 06:44:48 +00:00
zhangshaoning
10b524d2c1 fix bogus date
(cherry picked from commit 2732be729a35ceb42cbf2b60d8717e08f5fb7f8d)
2022-06-17 10:55:17 +08:00
openeuler-ci-bot
1cd904351a
!89 [sync] PR-86: 当使能remove_local_path时,不在nvme设备上创建dm设备。
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-03-08 12:24:20 +00:00
Lixiaokeng
fcded6cba2 don't create nvme multipath device when enable remove_local_path
(cherry picked from commit 2d7bee4f06a77751da82f7c66906cbed00284e05)
2022-03-08 20:00:53 +08:00
openeuler-ci-bot
3ab342d74a !85 [sync] PR-79: 升级到0.8.7
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-11-29 02:43:02 +00:00
Lixiaokeng
04f0c97081 upgrade to 0.8.7
(cherry picked from commit b6f069a7e4035b26382ea297933662a83d9a5e26)
2021-11-29 09:41:59 +08:00
openeuler-ci-bot
ebc02a8e62 !76 [sync] PR-75: 使用上游社区补丁替代华为补丁
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-09-26 01:19:30 +00:00
lixiaokeng
26148888e7 use upstream patch instead of huawei patch
(cherry picked from commit 1a3852811e42d478b545d547345fbabce5a33203)
2021-09-24 17:37:36 +08:00
openeuler-ci-bot
6620a42de9 !74 [sync] PR-69: 给make test添加root权限
From: @openeuler-sync-bot
Reviewed-by: @wubo009
Signed-off-by: @wubo009
2021-09-24 09:36:51 +00:00
lixiaokeng
ce2f2a4a74 add needsrootforbuild for make test
(cherry picked from commit c71f3b37724c76369ff07b9fe7b4f9ac19f86d10)
2021-09-23 19:51:08 +08:00
openeuler-ci-bot
c0d3f52431 !73 [sync] PR-59: add make test
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-09-23 11:02:16 +00:00
lixiaokeng
010fd867e5 add make test
(cherry picked from commit f0007f09c38bd9a3144540bfdcb478c50c9d1d6f)
2021-09-23 18:54:42 +08:00
openeuler-ci-bot
ab2218bc22 !58 [sync] PR-57: 修复glibc升级导致multipath-tools编译失败
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-08-13 02:32:25 +00:00
lixiaokeng
e0208d79d6 fix compile error
(cherry picked from commit 295c7a4d76e21bc97ac5ad2ad0f401813f2a6161)
2021-08-12 10:26:36 +08:00
openeuler-ci-bot
3699df649c !50 multipath-tools delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-31 01:31:06 +00:00
chenyanpanHW
68c3149d1b
delete -Sgit from %autosetup, and delete BuildRequires git 2021-07-30 23:08:07 +08:00
openeuler-ci-bot
a356a0e2ad !45 add check remove_local_disk before transport in pathinfo
From: @lixiaokeng
Reviewed-by: @liuzhiqiang26,@wubo009
Signed-off-by: @wubo009
2021-07-20 12:59:23 +00:00
lixiaokeng
88fd54e96a add check remove_local_disk before transport in pathinfo 2021-07-20 20:28:41 +08:00
openeuler-ci-bot
d39e9994fc !43 update to 0.8.5
From: @lixiaokeng
Reviewed-by: 
Signed-off-by:
2021-02-03 14:49:31 +08:00
lixiaokeng
cf6ba4ae66 update to 0.8.5 2021-02-01 20:29:41 +08:00
openeuler-ci-bot
3e8452e8c5 !29 删除0.7.7版本中已经修复
From: @lixiaokeng
Reviewed-by: @lihaotian9,@wubo009
Signed-off-by: @liuzhiqiang26
2020-10-27 16:06:28 +08:00
lixiaokeng
42ed3aadf9 remove patch that has been fix in 0.8.4 2020-10-27 09:38:27 +08:00
openeuler-ci-bot
887bbde3be !23 修TRUE未修复
From: @lixiaokeng
Reviewed-by: @wguanghao,@wubo009
Signed-off-by: @wubo009
2020-09-25 11:04:44 +08:00
lixiaokeng
b0cb979d78 fix boolean value for TRUE deleted 2020-09-25 10:48:54 +08:00
openeuler-ci-bot
501db0991f !21 update src_repo
Merge pull request !21 from ethan848/master
2020-09-04 17:33:05 +08:00
ethan848
2d9f4a4c6d update multipath-tools.yaml. 2020-09-04 15:01:24 +08:00
openeuler-ci-bot
52ee565785 !17 fix use after free in select_pgfailback
Merge pull request !17 from lixiaokeng/upgrade
2020-09-01 10:51:49 +08:00
lixiaokeng
49eb7fcf9f fix use after free in select_pgfailback 2020-09-01 10:27:11 +08:00
openeuler-ci-bot
b47d9d9d04 !11 update to 0.8.4
Merge pull request !11 from lixiaokeng/upgrade
2020-07-25 17:18:38 +08:00
lixiaokeng
c9a00d3ee1 update to 0.8.4 2020-07-16 18:51:36 +08:00