17 Commits

Author SHA1 Message Date
zhanchengbin
cc9ececa29 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.

(cherry picked from commit aa8445463089084608e2525443f3057595171694)
2022-09-06 14:13:23 +08:00
xueyamao
b6c0f708f0 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>
(cherry picked from commit 17517501c045fae6d349f9e0bfcfa23418a6bb68)
2022-08-12 17:28:17 +08:00
Wu Bo
1732ed00e8 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>
(cherry picked from commit 8a399a13f4624d832402a2d65258d71407238b13)
2022-04-16 15:48:14 +08:00
Zhiqiang Liu
58dbec2875 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>
(cherry picked from commit fbc4dea8c023c79eb7c1b6500685adbe5b94ded8)
2022-04-08 14:46:20 +08:00
markeryang
c4406fe142 fix nfs-blkmapd service core dump
(cherry picked from commit a09e186102af86a5f2f1334c9aaa3730f7d51388)
2022-03-07 19:12:37 +08:00
Wu Bo
03a9b6b8ca 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().
2022-02-24 11:09:46 +08:00
Zhiqiang Liu
09cb5d0925 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>
(cherry picked from commit 8d42341c703ce6702bd111d27632d7d21c74b3c6)
2022-02-10 19:05:06 +08:00
Wenchao Hao
98d897e0e4 update nfs-utils version to 2.5.4-1
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit f2b02be22a6cb2cf36d348a97b95360f392c49f7)
2021-11-29 09:42: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