Subject: nfs-kernel-server: crossmnt option is ignored Package: nfs-kernel-server Version: 1:1.2.2-1 Severity: important Tags: patch With the recent upgrade of nfs-kernel-server (and nfs-common) to 1:1.2.2-1 the crossmnt option in /etc/exports stopped working. I have this in /etc/exports: /share *.internal.domain(ro,all_squash,crossmnt,sync,no_subtree_check) I use this in /etc/fstab on the clients: server:/share /share nfs ro,soft,intr,bg,rsize=8192,nosuid,nodev,noexec,acregmin=60,acregmax=600,acdirmax=600,sec=sys,_netdev 0 0 On the server /share itself is on the root filesystem and only contains symlinks to /share/disk1 and /share/disk2. NFS client systems only see empty directories for /share/disk1 and /share/disk2. Downgrading nfs-kernel-server and nfs-common to 1:1.2.1-3 and re-mounting the filesystems on the clients show the expected behaviour (/share looks the same on the clients as on the server). A quick diff between 1:1.2.1-3 and 1:1.2.2-1 shows that some crossmnt-related changes were made. Digging further I came across this: http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=a064fde8c2615333227de97d159bb338d4ac640d I can confirm that the above patch fixes the problem (built a nfs-common and nfs-kernel server 1:1.2.2-1 with the patch applied). -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (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-kernel-server depends on: ii libblkid1 2.16.2-0 block device id library ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libcomerr2 1.41.11-1 common error description library ii libgssapi-krb5-2 1.8.1+dfsg-2 MIT Kerberos runtime libraries - k ii libgssglue1 0.1-4 mechanism-switch gssapi library ii libk5crypto3 1.8.1+dfsg-2 MIT Kerberos runtime libraries - C ii libkrb5-3 1.8.1+dfsg-2 MIT Kerberos runtime libraries ii libnfsidmap2 0.23-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.2-1 NFS support files common to client ii ucf 3.0025 Update Configuration File: preserv nfs-kernel-server recommends no packages. nfs-kernel-server suggests no packages. -- no debconf information -- -- arthur - arthur@arthurdejong.org - http://arthurdejong.org --
Attachment:
signature.asc
Description: This is a digitally signed message part