35 Commits

Author SHA1 Message Date
kouwenqi
eec3d5a9ad sync patch22 with community
(cherry picked from commit e232c1c7be0144456ce74245a8f5e0294bad1f13)
2024-08-31 09:37:54 +08:00
zhangjiaming
3da128c0ff Added 'Buildarch:noarch' to the help subpackage
(cherry picked from commit 18eb6d226db82a3b70af4da7db60244872727f4a)
2024-08-27 09:51:38 +08:00
Kou Wenqi
5a7cd2d6ac multipath: display the correct configuration when dumpping config
"multipath -t" and "multipath -T" might show the wrong
multipathd configuration items "retrigger_tries" and
"force_sync". Make sure they don't.

(cherry picked from commit 759167b834536fe22d446a65c6dc24e31f0ddccd)
2024-08-05 10:52:59 +08:00
kouwenqi
7ab749ea07 multipath.conf.5: fix the description of prio_args for path_latency prio
This aligns the description of prio_args for path_latency prio and
the actual code.

(cherry picked from commit 09a30b960652d89b7ec2880e3b43dffdd1c70c3b)
2024-08-01 20:54:59 +08:00
Kou Wenqi
cd6e35ac6b multipath.conf.5: fix documentation for find_multipaths
(cherry picked from commit 2f9528dec5e8ecedc0be894597a6f65b6f4d5376)
2024-07-05 09:40:18 +08:00
kouwenqi
c3ff935c9b 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 5c4028d17334208f1e0b0e88adb749a35e89b9d1)
2024-06-04 17:51:30 +08:00
wangzhiqiang
9d648dceaf upgrade version to 0.9.5 2024-02-07 09:48:32 +08:00
wangzhiqiang
e436876ec2 fix coredump in io_err_stat
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
2023-12-19 16:25:32 +08:00
Zhiqiang Liu
4be07bcdde 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>
2022-11-29 17:41:24 +08:00
gqmiao
1945932368 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>
2022-11-28 15:44:52 +08:00
wguanghao
c2290cffbe fix CVE-2022-41974 2022-10-28 07:06:23 +08:00
Kemeng Shi
ece61bee4c 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>
2022-10-26 15:22:50 +08:00
xueyamao
d3b45029ab multipath fix exit status of multipath -T
We must set the return value in configure().

Signed-off-by: xueyamao <xueyamao@kylinos.cn>
2022-10-10 17:40:33 +08:00
xueyamao
b68fc8b7d9 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>
2022-08-31 15:55:36 +08:00
zhangshaoning
2732be729a
fix bogus date 2022-06-14 07:37:47 +00:00
Lixiaokeng
2d7bee4f06 don't create nvme multipath device when enable remove_local_path 2022-03-08 17:50:03 +08:00
Lixiaokeng
b6f069a7e4 upgrade to 0.8.7 2021-11-25 14:41:58 +08:00
lixiaokeng
1a3852811e use upstream patch instead of huawei patch 2021-09-24 16:12:39 +08:00
lixiaokeng
c71f3b3772 add needsrootforbuild for make test 2021-09-23 11:48:00 +08:00
lixiaokeng
f0007f09c3 add make test 2021-08-12 11:01:14 +08:00
lixiaokeng
295c7a4d76 fix compile error 2021-08-11 20:51:53 +08:00
chenyanpanHW
68c3149d1b
delete -Sgit from %autosetup, and delete BuildRequires git 2021-07-30 23:08:07 +08:00
lixiaokeng
88fd54e96a add check remove_local_disk before transport in pathinfo 2021-07-20 20:28:41 +08:00
lixiaokeng
cf6ba4ae66 update to 0.8.5 2021-02-01 20:29:41 +08:00
lixiaokeng
42ed3aadf9 remove patch that has been fix in 0.8.4 2020-10-27 09:38:27 +08:00
lixiaokeng
b0cb979d78 fix boolean value for TRUE deleted 2020-09-25 10:48:54 +08:00
lixiaokeng
49eb7fcf9f fix use after free in select_pgfailback 2020-09-01 10:27:11 +08:00
lixiaokeng
c9a00d3ee1 update to 0.8.4 2020-07-16 18:51:36 +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
lfl
76ab72eab8 update multipath-tools.spec. 2020-06-30 09:59:12 +08:00
ethan848
a79d9b9b14 backport bugfix from community 2020-05-28 11:19:21 +08:00
eulerstorage
18bb053468 disabled multipathd.service 2020-03-19 15:05:03 +08:00
wangjufeng
2e60c377c7 Seperate kpartx from the maie package
There is no need to default install multipath-tools when install
OS, while some package depend on kpartx tool, so seperate kpartx
from the main package.

signed-off-by: wangjufeng <wangjufeng@huawei.com>
2020-03-09 11:26:56 +08:00
eulerstorage
02e7be3245 add the script mpathconf for it is useful while installing 2020-01-16 17:20:47 +08:00
wangjufeng
7bda37ba55 rename the package 2020-01-10 17:13:17 +08:00