Bug#618473: general: Problems to handle NIS group names
Arthur de Jong schrieb:
reassign nfs-common
thanks
On Tue, 2011-03-15 at 15:10 +0100, Christian Andretzky wrote:
I've really no idea, which package(s) are responsible for this problem.
Reassigning to nfs-common because that seems to be the most likely
candidate (assuming autofs is used to mount nfs filesystems).
In my log files I can find messages like:
Mar 15 14:56:09 oedibus automount[1983]: set_tsd_user_vars: failed to get group info from getgrgid_r
As the result the output from ls command looks like
...
drwx------  21 saadi       12000  4096 19. Nov 12:22 saadi
...
The output of 'ypcat group' shows the correct group names.
If I dont use autofs and mount the filesystem manual using 'mount',
the same problem happens.
It would really be hulpful if you could post more
information. /etc/nsswitch.conf, /etc/auto.master, nfs mount settings
(nfs version), etc come to mind.
I know nfs4 uses and idmap that has caused issues in the past if the
naming service is not available during boot (see e.g. #500778).
I'll post only the 'active' lines of each file. All other settings are 
default/unchanged.
/etc/nsswitch.conf:
passwd:         compat
group:          compat
shadow:         compat
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files
protocols:      db files
services:       db files
ethers:         db files
rpc:            db files
netgroup:       nis
/etc/auto.master:
/home/etit/dst  /etc/auto.dst
/etc/auto.dst:
global     -fstype=nfs,nolock,intr,rw,acregmax=5 fqdn:/home/etit/dst/global
user       -fstype=nfs,nolock,intr,rw,acregmax=5 fqdn:/home/etit/dst/user
fs01       -fstype=nfs,nolock,intr,rw,acregmax=5 fqdn:/home/etit/dst/fs01
/etc/default/nfs-common:
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
/etc/default/nfs-kernel-server:
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=--manage-gids
NEED_SVCGSSD=
RPCSVCGSSDOPTS=
dpkg -l | grep nfs:
ii  kernel-patch-nfs-ngroups                             4.58.debian.20100106.1 
           transitional dummy package
ii  libnfsidmap2                                         0.23-2 
            An nfs idmapping library
ii  linux-patch-nfs-ngroups                              4.58.debian.20100106.1 
           Client-side bypassing of ngroups limitation in NFS protocol
ii  nfs-common                                           1:1.2.2-4 
            NFS support files common to client and server
ii  nfs-kernel-server                                    1:1.2.2-4 
            support for NFS kernel server
ii  nfs4-acl-tools                                       0.3.3-1 
            Commandline and GUI ACL utilities for the NFSv4 client
ii  nfswatch                                             4.99.11-1 
            Program to monitor NFS traffic for the console
/etc/default/autofs:
MASTER_MAP_NAME="/etc/auto.master"
TIMEOUT=300
BROWSE_MODE="yes"
Cheers, Christian
Reply to: