[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638607: nfs-common: configuration file /etc/idmapd.conf could have better defaults



Package: nfs-common
Version: 1:1.2.4-1
Severity: wishlist
User: debian-edu@lists.debian.org
Usertags: debian-edu

Hi, 

the line: 

    Domain = localdomain

in /etc/idmapd.conf has to be modified to make kerberized NFS work.
>From the manpage of rpc.idmapd:

     -d domain [...] By default, domain is set to be the FQDN of the
        host, minus the hostname.  

It follows that having the "Domain = localdomain"-line commented by
default would make a lot of setups work OOTB.  

See <URL:https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/526302>
for a simular report.

Best regards,

     Andi 


-- Package-specific info:
-- rpcinfo --
   program vers proto   port
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  36919  status
    100024    1   tcp  45455  status
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    2   tcp   2049
    100227    3   tcp   2049
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100227    2   udp   2049
    100227    3   udp   2049
    100021    1   udp  53597  nlockmgr
    100021    3   udp  53597  nlockmgr
    100021    4   udp  53597  nlockmgr
    100021    1   tcp  53783  nlockmgr
    100021    3   tcp  53783  nlockmgr
    100021    4   tcp  53783  nlockmgr
    100005    1   udp  50287  mountd
    100005    1   tcp  39809  mountd
    100005    2   udp  58041  mountd
    100005    2   tcp  33315  mountd
    100005    3   udp  60090  mountd
    100005    3   tcp  48892  mountd
    100002    2   udp  38981  rusersd
    100002    3   udp  38981  rusersd
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = localdomain
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
/home		  /srv/nfs4/homes	none	bind		0	0
192.168.1.1:/home	/fbox		nfs	user,noauto	0	0
-- /proc/mounts --
/dev/sda3 /srv/nfs4/homes ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
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-common depends on:
ii  adduser            3.113                 add and remove users and groups
ii  initscripts        2.88dsf-13.11         scripts for initializing and shutt
ii  libc6              2.13-10               Embedded GNU C Library: Shared lib
ii  libcap2            1:2.22-1              support for getting/setting POSIX.
ii  libcomerr2         1.42~WIP-2011-07-02-1 common error description library
ii  libevent-1.4-2     1.4.13-stable-1       An asynchronous event notification
ii  libgssapi-krb5-2   1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries - k
ii  libgssglue1        0.3-2                 mechanism-switch gssapi library
ii  libk5crypto3       1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries - C
ii  libkeyutils1       1.4-6                 Linux Key Management Utilities (li
ii  libkrb5-3          1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries
ii  libnfsidmap2       0.24-1                An nfs idmapping library
ii  libtirpc1          0.2.2-5               transport-independent RPC library
ii  libwrap0           7.6.q-21              Wietse Venema's TCP wrappers libra
ii  lsb-base           3.2-27                Linux Standard Base 3.2 init scrip
ii  rpcbind            0.2.0-6               converts RPC program numbers into 
ii  ucf                3.0025+nmu2           Update Configuration File: preserv

Versions of packages nfs-common recommends:
ii  python                        2.6.7-2    interactive high-level object-orie

nfs-common suggests no packages.

Versions of packages nfs-kernel-server depends on:
ii  libblkid1          2.19.1-5              block device id library
ii  libc6              2.13-10               Embedded GNU C Library: Shared lib
ii  libcomerr2         1.42~WIP-2011-07-02-1 common error description library
ii  libgssapi-krb5-2   1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries - k
ii  libgssglue1        0.3-2                 mechanism-switch gssapi library
ii  libk5crypto3       1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries - C
ii  libkrb5-3          1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries
ii  libnfsidmap2       0.24-1                An nfs idmapping library
ii  libtirpc1          0.2.2-5               transport-independent RPC library
ii  libwrap0           7.6.q-21              Wietse Venema's TCP wrappers libra
ii  lsb-base           3.2-27                Linux Standard Base 3.2 init scrip
ii  ucf                3.0025+nmu2           Update Configuration File: preserv

-- no debconf information



Reply to: