--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: nfs-common 1:1.1.3-1 client disallows access to files/directories where it should allow access
- From: Rasmus Bøg Hansen <rasmus@msconsult.dk>
- Date: Wed, 30 Jul 2008 12:56:12 +0200
- Message-id: <20080730105612.6271.26318.reportbug@sif.msconsult.dk>
Package: nfs-common
Version: 1:1.1.3-1
Severity: important
Upgrading nfs-common 1:1.1.3-1 broke my NFS client.
The NFS server is running etch and nothing was changed. After upgrading
the client to 1:1.1.3-1 access to my files (/home is NFS-mounted) is
disallowed where it should be allowed (and certainly was in 1:1.1.2-6).
After upgrade the client behaves like this:
moffe@sif:~# cat .xsession > /dev/null
moffe@sif:~# cat .xsession-errors > /dev/null
cat: .xsession-errors: Permission denied
moffe@sif:~# ls -l .xsession*
-rwxr-xr-x 1 moffe users 474 17 apr 2007 .xsession
-rw------- 1 moffe users 52975 30 jul 12:39 .xsession-errors
moffe@sif:~# ls .kde4
ls: cannot open directory .kde4: Permission denied
moffe@sif:~# ls -ld .kde4
drwx------ 6 moffe users 4096 Jul 16 12:57 .kde4
moffe@sif:~# touch test
touch: cannot touch `test': Permission denied
moffe@sif:~# ls -ld .
drwxr-xr-x 92 moffe users 4096 Jul 30 12:09 .
Downgrading back to 1.1.2-6 and unmounting+mounting /home and access to
the mentioned files/directories is allowed as usual.
Nothing was as mentioned changed on the server, which is running
1.0.10-6+etch.1 and exporting /home like this:
/home *.msconsult.dk(rw,no_root_squash,sync,no_subtree_check)
I am not using kerberos or anything beside simple uid-synchronisation:
moffe@gere:~# id
uid=1001(moffe) gid=100(users) grupper=20(dialout),100(users),1005(msc)
moffe@sif:~# id
uid=1001(moffe) gid=100(users) grupper=20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),100(users),1005(msc)
/home is mounted on the server with acl activated, though no acl's have
been set for my home directory. Using acl or noacl as an argument to
mount does not change behaviour:
/dev/md2 /home ext3 acl 0 3
moffe@gere:~# getfacl .
# file: .
# owner: moffe
# group: users
user::rwx
group::r-x
other::r-x
I am a bit baffled. I cannot find anything in the changelog or manpages
pointing at requirements for me to change behaviour so I assume this is
a bug in nfs-common.
I'll gladly provide any information that might be useful.
Regards
/Rasmus
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26 (PREEMPT)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to da_DK.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nfs-common depends on:
ii adduser 3.108 add and remove users and groups
ii initscripts 2.86.ds1-60 Scripts for initializing and shutt
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libcomerr2 1.41.0-3 common error description library
ii libevent1 1.3e-3 An asynchronous event notification
ii libgssglue1 0.1-2 mechanism-switch gssapi library
ii libkrb53 1.6.dfsg.4~beta1-3 MIT Kerberos runtime libraries
ii libnfsidmap2 0.20-1 An nfs idmapping library
ii librpcsecgss3 0.18-1 allows secure rpc communication us
ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-15 Linux Standard Base 3.2 init scrip
ii netbase 4.33 Basic TCP/IP networking system
ii portmap 6.0-6 RPC port mapper
ii ucf 3.007 Update Configuration File: preserv
nfs-common recommends no packages.
nfs-common suggests no packages.
-- no debconf information
--- End Message ---