24 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
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
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
zhangshaoning
10b524d2c1 fix bogus date
(cherry picked from commit 2732be729a35ceb42cbf2b60d8717e08f5fb7f8d)
2022-06-17 10:55:17 +08: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
Lixiaokeng
04f0c97081 upgrade to 0.8.7
(cherry picked from commit b6f069a7e4035b26382ea297933662a83d9a5e26)
2021-11-29 09:41:59 +08:00
lixiaokeng
26148888e7 use upstream patch instead of huawei patch
(cherry picked from commit 1a3852811e42d478b545d547345fbabce5a33203)
2021-09-24 17:37:36 +08:00
lixiaokeng
ce2f2a4a74 add needsrootforbuild for make test
(cherry picked from commit c71f3b37724c76369ff07b9fe7b4f9ac19f86d10)
2021-09-23 19:51:08 +08:00
lixiaokeng
010fd867e5 add make test
(cherry picked from commit f0007f09c38bd9a3144540bfdcb478c50c9d1d6f)
2021-09-23 18:54:42 +08:00
lixiaokeng
e0208d79d6 fix compile error
(cherry picked from commit 295c7a4d76e21bc97ac5ad2ad0f401813f2a6161)
2021-08-12 10:26:36 +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