Browse files

net-fs/nfs-utils: some more hints for proper configuration

Addresses the following error message:

  rpc.idmapd: libnfsidmap: Unable to determine the NFSv4 domain;
  • Loading branch information...
1 parent 61ccb83 commit 0817823246ef6971071cf9f59aa599e77cf53ede @wmark committed Feb 22, 2012
Showing with 12 additions and 1 deletion.
  1. +1 −1 net-fs/nfs-utils/Manifest
  2. +11 −0 net-fs/nfs-utils/nfs-utils-1.2.5_p0.ebuild
View
2 net-fs/nfs-utils/Manifest
@@ -12,4 +12,4 @@ AUX rpc.pipefs.initd 822 RMD160 dca36ec9248107273f715af14fbf3e3cf8cefc1e SHA1 a0
AUX rpc.statd.initd 818 RMD160 d87fc8aed1638955444b587fc5404db671d5a8fb SHA1 bd73058b722d2f51a67bbbdec8ed029094fb9683 SHA256 0c7bd35a14da6c0c2577f09ae82a41ddb693a88157eeaf80684616f79be6c304
AUX rpc.svcgssd.initd 584 RMD160 9488050225453f6b083be78ed3de1b042d02cfb8 SHA1 3dc09a20ca1cefd902b8709b094a4e0c0e9a407c SHA256 f1c460d8b0e91e54a551397d755135d05a3728d81de596535bf8bda074455677
DIST nfs-utils-1.2.5.tar.bz2 698148 RMD160 cc8722d244c0c22b05fd2d8a1daa505784e572e1 SHA1 fc522fad2e0fb4a4541ba829417d8c757cb384ce SHA256 3595ed4f6ee5c13514540861ad5e89907aa4fd6897bfa99577515233e4745a9b
-EBUILD nfs-utils-1.2.5_p0.ebuild 3520 RMD160 0f6da731120bdbfe5b74460ee839eb85a19ee0fc SHA1 93e6063237f0e7376d3fa65d32248331e9c78ef2 SHA256 0f03f040f3d9882658b7f866958a85dfb51467d5b842b91df44c8a38788629a3
+EBUILD nfs-utils-1.2.5_p0.ebuild 3935 RMD160 c872868f8d697346ec7f1b4e5f900c76e95bcc12 SHA1 8238a897773de8c918303d08f5c4aef7cbc6f111 SHA256 694db4cfc6c075f0707944c063098f18fb63da2166012c9525f9de73ebc4ac0b
View
11 net-fs/nfs-utils/nfs-utils-1.2.5_p0.ebuild
@@ -126,4 +126,15 @@ pkg_postinst() {
einfo "Copying default ${f##*/} from /usr/$(get_libdir)/nfs to /var/lib/nfs"
cp -pPR "${f}" "${ROOT}"/var/lib/nfs/
done
+
+ einfo "Double-check that command 'dnsdomainname' returns a result "
+ einfo "and 'resolveip <ip>' has a FQDN as first result."
+ einfo "(In /etc/hosts FQDN per IP go first ;-)"
+ einfo "Modify /etc/idmapd.conf accordingly."
+
+ if use nfsv41; then
+ einfo ""
+ einfo "/etc/request-key.conf should contain before any 'negate':"
+ einfo "create id_resolver * * /usr/sbin/nfsidmap %k %d 600"
+ fi
}

0 comments on commit 0817823

Please sign in to comment.