Package: nfs-kernel-server
Severity: minor

Hi,

While setting up a NFS HA service I found a problem related to the
service's hostname (i.e. nfs.domain.com) versus the hostname for node it
was run in (i.e. foobar.domain.com) when using Kerberos.

I found the patch mentioned in #451402, applied it and my problem was
solved. I didn't find the patch on the BTS so I was going to submit it,
but when I was preparing my bug report I found the '-n' option in the
source code. The option is not documented in the manpage, but solves
the problem the patch is trying to.

Plus using the '-n' with the patch in #451402 gives you this:

Oct  8 20:31:13 dumbo kernel: rpc.svcgssd[28094]: segfault at 0 ip 0804aabe sp 
bff17160 error 4 in rpc.svcgssd[8048000+5000]
Oct  8 20:33:32 dumbo kernel: rpc.svcgssd[28467]: segfault at 0 ip 0804aabe sp 
bf8db440 error 4 in rpc.svcgssd[8048000+5000]

To sum up:
- The patch is not required (IMHO)
- The patch may break rpc.svcgssd.
- If you're using a different hostname for your NFS service than the
  hostname for the machine that it is being run (i.e. High Availability),
  just use RPCSVCGSSDOPTS="-n"

Please find attached a patch for the man page.

Thanks,

Alberto



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.4 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nfs-kernel-server depends on:
ii  libblkid1                2.16.1-3        block device id library
ii  libc6                    2.9-27          GNU C Library: Shared libraries
ii  libcomerr2               1.41.9-1        common error description library
ii  libgssapi-krb5-2         1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii  libgssglue1              0.1-4           mechanism-switch gssapi library
ii  libk5crypto3             1.7dfsg~beta3-1 MIT Kerberos runtime libraries - C
ii  libkrb5-3                1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii  libnfsidmap2             0.22-2          An nfs idmapping library
ii  librpcsecgss3            0.19-2          allows secure rpc communication us
ii  libwrap0                 7.6.q-18        Wietse Venema's TCP wrappers libra
ii  lsb-base                 3.2-23          Linux Standard Base 3.2 init scrip
ii  nfs-common               1:1.2.0-4       NFS support files common to client
ii  ucf                      3.0022          Update Configuration File: preserv

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to