17 Commits

Author SHA1 Message Date
zhanchengbin
aa84454630 nfs-blkmapd:Fix the error status when nfs-blkmapd stops
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>

update 0006-nfs-blkmaped-Fix-the-error-status-when-nfs_blkmapd-s.patch.
2022-09-06 11:06:17 +08:00
xueyamao
17517501c0 Fix format-overflow warning
rpc-pipefs-generator.c:35  sprintf: '%s' directive output between 0 and 2147483653 bytes
may exceed minimum required size of 4095 [-Werror=format-overflow=]

Signed-off-by: xueyamao <xueyamao@kylinos.cn>
2022-08-12 10:41:28 +08:00
Wu Bo
8a399a13f4 nfs-utils: update the epoch version
In order to keep upgrade sucessful,
update the epoth version to 2.

Signed-off-by: Wu Bo <wubo40@huawei.com>
2022-04-16 15:17:23 +08:00
Zhiqiang Liu
fbc4dea8c0 nfs-utils: set use-gss-proxy to true in nfs.conf to be consistent with patch desc
set use-gss-proxy to true in nfs.conf to be consistent with the
description of 0002-nfs-utils-set-use-gss-proxy-1-to-enable-gss-proxy-by.patch

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-04-08 14:31:31 +08:00
markeryang
2ecab62a97 fix nfs-blkmapd service core dump
(cherry picked from commit a09e186102af86a5f2f1334c9aaa3730f7d51388)
2022-03-07 19:12:34 +08:00
Wu Bo
b16ac0016f idmapd: Fix error status when nfs-idmapd exits
nfs-idmapd.service would report following error when stopped:

Starting NFSv4 ID-name mapping service...
rpc.idmapd[1198]: Setting log level to 0
Started NFSv4 ID-name mapping service.
rpc.idmapd[1198]: exiting on signal 15
Stopping NFSv4 ID-name mapping service...
nfs-idmapd.service: Main process exited, code=exited, status=1/FAILURE
nfs-idmapd.service: Failed with result 'exit-code'.
Stopped NFSv4 ID-name mapping service.

commit 93e8f092(idmapd: Add graceful exit and resource cleanup)
redirected SIGTERM, so when executing "systemctl stop nfs-idmapd", the
main() of idmapd would running to tail to return, while it returned 1
which considered as error by systemd.

So here just return 0 in main().

(cherry picked from commit 03a9b6b8ca77aa603d265289709eedf032278466)
2022-02-24 14:12:05 +08:00
Zhiqiang Liu
8d42341c70 nfs-utils: set use-gss-proxy=1 to enable gss-proxy by default
In commit 104f90f4ce ('gssd: Introduce use-gss-proxy boolean to nfs.conf'),
use-gss-proxy par in [gssd] section of nfs.conf is introduced to
allow the used of the gssprox-mech. However, the default value
of use-gss-proxy is false, which cause different behavor with older
version.

In order to be consistent with the old versions, here we set
use-gss-proxy to true in nfs.conf.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-01-29 14:56:31 +08:00
Wenchao Hao
f2b02be22a update nfs-utils version to 2.5.4-1
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-11-18 14:46:17 +08:00
markeryang
c191a53223 set help package as install requires 2020-12-22 16:53:41 +08:00
wguanghao
2d3e68523d update nfs-utils version to 2.5.1 2020-07-16 15:30:38 +08:00
lfl
1dd4e55166 update nfs-utils.spec. 2020-06-30 09:48:04 +08:00
hy
fb0a40b0e3 add make check in nfs-utils.spec. 2020-03-28 17:59:40 +08:00
eulerstorage
b2af921ac3 stop the var-lib-nfs-rpc_pipefs.mount before remove the package 2020-01-17 12:08:58 +08:00
eulerstorage
b8d7253fbf update the version from 2.3.3 to 2.4.2 2020-01-12 18:16:07 +08:00
eulerstorage
b2bcc62f35 update the version from 2.3.3 to 2.4.2 2020-01-12 18:00:48 +08:00
eulerstorage
18b27f6837 Modify the wrong service file name in spec file 2019-12-29 16:33:39 +08:00
overweight
c4bfb6f1db Package init 2019-09-30 11:09:50 -04:00