Fixed in 1.5.2.
>
> 2) The code in the netlink part of the nfsd kernel modules to send
> "punted" mount request through the netlink device passes the wrong
> path. Instead of passing the complete fh path, it justs transmits
> the mount point.
>
> The punted mount request will then fail when trying to recreate
> export entries for NFS exports which are a subset of a filesystem
> (eg. /var/spool/mail is exported, belongs to filesystem /var,
> mountd tries to recreate a /var export instead of the correct
> /var/spool/mail export)...
>
> The nfsd_netlink_callback structure with its devlen member makes me
> think that the intented action was to pass the full path into
> nfsd_netlink_callback->path with an additional
> nfsd_netlink_callback->devlen indicating the size of the path
> corresponding to the mount point (which is anyways currently
> ignored).
I think I fixed it in 1.5.2.
>
> This patch applies on top of knfsd 1.5.1. It patches mountd (one line)
> and creates a new kernel patch nfsd-2.2.12-2.mountd.patch to apply on
> top of nfsd-2.2.12-1.mountd.patch.
>
> Both patches are one-liners.
>
> Also, I used to be able to do exportfs -u host:/path to remove the
> export entry to allow unmounting a file system, but this fails now (I
> have to stop nfsd).
I think I fixed it in 1.5.2.
-- H.J. Lu (hjl@gnu.org)- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/