30 Commits

Author SHA1 Message Date
Kou Wenqi
b51f7c507e 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.
2024-08-02 10:06:01 +08:00
Kou Wenqi
8b70da26f4 multipath.conf.5: fix documentation for find_multipaths 2024-07-05 11:00:17 +08:00
kouwenqi
0e2b23ec08 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.
2024-06-05 11:28:29 +08:00
jinzhiguang
7c750e20f5 fix multipathd service coredump caused by empty item in multipath.conf
Signed-off-by: jinzhiguang <jinzhiguang@kylinos.cn>
2024-05-30 13:39:40 +08:00
kouwenqi
2e9ae88e5f 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.

(cherry picked from commit 63b01c22086a11eee8eaa388232834ceb6231182)
2024-05-29 16:28:36 +08:00
wangzhiqiang
a7876acebd fix multipath -u not recognize multipath devices
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit a1a4a940e6a7513d43ef793b18eecca7cf415c2a)
2024-01-03 15:14:24 +08:00
wguanghao
eba6cf4acc fix build error 2023-11-28 19:29:17 +08:00
gqmiao
d055dee615 CVE-2022-41973 modify the parameter sequence of mpathpersist
and multipathd. It may cause command multipathd and mpathpersist
execute error

(cherry picked from commit e428a15377c01c319602eb72064a7717e1bdc0a9)
2022-11-29 16:11:33 +08:00
wguanghao
7e63cc5f2c fix CVE-2022-41974
(cherry picked from commit 16357edcbfd246f7851a34acaf24bce984e9a0cd)
2022-11-07 11:24:55 +08:00
Weifeng Su
ac98571163 use /run instead /dev/shm to fix CVE-2022-41973
Signed-off-by: Weifeng Su <suweifeng1@huawei.com>
(cherry picked from commit d0b9ef48f97f8634c8a1842c539ec444d2a2f033)
2022-11-02 11:54:16 +08:00
xueyamao
232daafcdd 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 5c008f3bf92a0ef37aa2a8a075346976965ab4c7)
2022-10-18 21:41:36 +08:00
Lixiaokeng
ba65a51864 fix coredump and memory leak in long-term stability test
(cherry picked from commit 28aa54fd3d7e08c448d00f91aa809468e3f78e43)
2022-04-08 14:22:38 +08:00
Lixiaokeng
4b64313446 don't create local nvme multipath device when enable remove_local_path
(cherry picked from commit b4d3bfa75088df78bd80325a42a75f3773dd8a88)
2022-03-08 20:03:03 +08:00
Lixiaokeng
4a4414b83f count pending path as actvie on loads
(cherry picked from commit a5d5f8502195cff98a82b318bed7be1edb5ef6be)
2021-11-26 10:40:35 +08:00
lixiaokeng
59119b9745 add needsrootforbuild for make test
(cherry picked from commit d10b42e62bcaf628067792d789f2fdcfa7bc6c28)
2021-09-23 18:46:04 +08:00
lixiaokeng
bf9fbec130 fix testcode compile error
(cherry picked from commit 6e80019d94a1607fd30119dbf75006956bc2813e)
2021-08-13 09:22:03 +08:00
lixiaokeng
35ac723976 add make test
(cherry picked from commit 6c1605139f83c95051627e0bc796de90ebb502ce)
2021-08-12 14:21:19 +08:00
lixiaokeng
40156746eb modify and sync release
(cherry picked from commit 8b293fae6d9903cdeeb5f22306a12a4ed3cd1775)
2021-08-05 12:08:55 +08:00
lixiaokeng
4b16fc9c79 add check remove_local_disk before transport in pathinfo
(cherry picked from commit 77f7cf0d51277e7c62daf01ac13fb4d10db6ef4c)
2021-07-20 20:58:26 +08:00
lixiaokeng
03ee1b56e4 kpartx: set help package as install requires
set help package as install requires
2020-12-14 15:34:04 +08:00
wang--ge
8521b0066d set help package as multipath-tools package's install require 2020-11-07 17:41:05 +08:00
lixiaokeng
6504ff0aef remove patch that has been fixed in 0.8.4 2020-10-27 15:06:42 +08:00
lixiaokeng
6453209677 fix boolean value for TRUE deleted 2020-10-15 14:44:21 +08:00
lixiaokeng
e2f0688787 fix use after free in select_pgfailback 2020-09-01 10:14:08 +08:00
lixiaokeng
65a3d69cef upgrade to 0.8.4 2020-08-26 10:13:55 +08:00
smileknife
47091571f3 update release for rebuilding
Signed-off-by: smileknife <jackshan2010@aliyun.com>
2020-08-18 21:22:17 +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