nfs IDマッピング用のid_resolverキーリングを生成できません。

nfs IDマッピング用のid_resolverキーリングを生成できません。

私のnfsサーバーでIDマッピングを使用しようとすると、クライアント側ですべてがうまく機能しますが、私のサーバーで任意のsudo nfsidmapオプションを使用して実行すると、次のようになります。nfsidmap: '.id_resolver' keyring was not found.

sudo nfsidmap -c何も行わず、id_resolverキーリングの生成を参照するジャーナルctlエントリが見つからないため、何らかの理由でキーリングが生成されないと仮定する必要があります。 nfs-idmapd.service、nfs-server.service、nfs-mountd.service、rpc-statd.service、および rpcbind.service はすべてエラーなしでアクティブです。以下は/etc/request-key.d/id_resolver.confの内容です。

#
# nfsidmap(5) - The NFS idmapper upcall program
# Summary: Used by NFSv4 to map user/group ids into 
#          user/group names and names into in ids
# Options:
# -v         Increases the verbosity of the output to syslog
# -t timeout Set the expiration timer, in seconds, on the key
#
create    id_resolver   *   *   /usr/sbin/nfsidmap %k %d

助ける。

centos 7 カーネル 3.10.0-514.26.2.el7.x86_64 nfs-utils バージョン 1.3.0 リリース バージョン 0.33.el7_3

ベストアンサー1

おすすめ記事