and multipathd. It may cause command multipathd and mpathpersist
execute error.
Signed-off-by: gqmiao <miaoguanqin@huawei.com>
(cherry picked from commit 1945932368cc168091982f81e46d1a3e00dc8b65)
/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)
We must set the return value in configure().
Signed-off-by: xueyamao <xueyamao@kylinos.cn>
(cherry picked from commit d3b45029abc80a0eabd77b760a254f24a95e76fd)
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)
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>