98 Commits

Author SHA1 Message Date
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
openeuler-ci-bot
0db0e6cd35 !9 multipath-tools: remove useless readme files
Merge pull request !9 from liuzhiqiang/master
2020-07-07 14:34:00 +08:00
ZhiqiangLiu
1fdbf0653f multipath-tools: remove useless readme files
multipath-tools: remove useless readme files

Signed-off-by: Zhiqiang Liu <lzhq28@mail.ustc.edu.cn>
2020-07-05 12:08:37 +08:00
openeuler-ci-bot
31fe077389 !8 rename patches
Merge pull request !8 from lfl/master
2020-06-30 15:36:05 +08:00
lfl
42e9c7c63a 重命名 6030-libmultipath-fix-sgio_get_vpd-looping.patch 为 0057-libmultipath-fix-sgio_get_vpd-looping.patch 2020-06-30 10:19:57 +08:00
lfl
9c84187f42 重命名 6029-libmultipath-fix-files-read-from-config_dir.patch 为 0056-libmultipath-fix-files-read-from-config_dir.patch 2020-06-30 10:19:37 +08:00
lfl
27d739d337 重命名 6028-libmultipath-fix-double-free-in-pgpolicyfn-error-pat.patch 为 0055-libmultipath-fix-double-free-in-pgpolicyfn-error-pat.patch 2020-06-30 10:19:20 +08:00
lfl
aace6e6b87 重命名 6027-libmultipath-fix-parsing-of-SCSI-name-string-iqn-for.patch 为 0054-libmultipath-fix-parsing-of-SCSI-name-string-iqn-for.patch 2020-06-30 10:19:01 +08:00
lfl
12661de00c 重命名 6026-libmultipath-fix-possible-WWID-overflow-in-parse_vpd.patch 为 0053-libmultipath-fix-possible-WWID-overflow-in-parse_vpd.patch 2020-06-30 10:18:37 +08:00
lfl
587c7f9f37 重命名 6025-libmultipath-fix-another-WWID-overflow-in-parse_vpd_.patch 为 0052-libmultipath-fix-another-WWID-overflow-in-parse_vpd_.patch 2020-06-30 10:18:02 +08:00
lfl
ba76984ee0 重命名 6024-libmultipath-Fix-buffer-overflow-in-parse_vpd_pg80.patch 为 0051-libmultipath-Fix-buffer-overflow-in-parse_vpd_pg80.patch 2020-06-30 10:17:46 +08:00
lfl
c9158adee1 重命名 6023-libmultipath-fix-parsing-of-VPD-83-type-1-T10-vendor.patch 为 0050-libmultipath-fix-parsing-of-VPD-83-type-1-T10-vendor.patch 2020-06-30 10:17:29 +08:00
lfl
80025dc5af 重命名 6022-multipathd-handle-NULL-return-from-genhelp_handler.patch 为 0049-multipathd-handle-NULL-return-from-genhelp_handler.patch 2020-06-30 10:17:14 +08:00
lfl
ae42fa78c9 重命名 6021-libmultipath-group_by_prio-fix-signedness-bug.patch 为 0048-libmultipath-group_by_prio-fix-signedness-bug.patch 2020-06-30 10:16:58 +08:00
lfl
4eb65c0e7b 重命名 6020-multipathd-ignore-failed-wwid-recheck.patch 为 0047-multipathd-ignore-failed-wwid-recheck.patch 2020-06-30 10:16:40 +08:00
lfl
72b6218af1 重命名 6013-multipathd-fix-mpp-hwe-handling-when-paths-are-freed.patch 为 0043-multipathd-fix-mpp-hwe-handling-when-paths-are-freed.patch 2020-06-30 10:14:19 +08:00