Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jan 2022 23:30:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 260894] Nonexportable file systems are usable over NFSv4
Message-ID:  <bug-260894-3630-h2HFKk5xsm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260894-3630@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260894

--- Comment #4 from Alan Somers <asomers@FreeBSD.org> ---
Yes I'm sure.  Here's what dtrace shows when I do "service mountd onereload". 
It shows that VFS_MOUNT gets called five times.  The first time it succeeds
because MNT_EXPORTED isn't set.  The next four attempts return EINVAL.

  2  67221           fuse_vfsop_mount:entry mntflag=0x10000 dataflags=0x11054
  2  67222          fuse_vfsop_mount:return return 0
  0  67221           fuse_vfsop_mount:entry mntflag=0x10100 dataflags=0x11054
  0  78882                 vfsops:mount_err cannot export a file system without
FUSE_NO_OPENDIR_SUPPORT
  0  67222          fuse_vfsop_mount:return return 22
  0  67221           fuse_vfsop_mount:entry mntflag=0x10100 dataflags=0x11054
  0  78882                 vfsops:mount_err cannot export a file system without
FUSE_NO_OPENDIR_SUPPORT
  0  67222          fuse_vfsop_mount:return return 22
  0  67221           fuse_vfsop_mount:entry mntflag=0x10100 dataflags=0x11054
  0  78882                 vfsops:mount_err cannot export a file system without
FUSE_NO_OPENDIR_SUPPORT
  0  67222          fuse_vfsop_mount:return return 22
  0  67221           fuse_vfsop_mount:entry mntflag=0x10100 dataflags=0x11054
  0  78882                 vfsops:mount_err cannot export a file system without
FUSE_NO_OPENDIR_SUPPORT
  0  67222          fuse_vfsop_mount:return return 22

And here is /etc/exports:
/mnt -alldirs -maproot=root 192.168.0.4
V4: / -sec=sys -network 192.168.0.0/24
/mnt -maproot=root -network 192.168.0.0/24

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260894-3630-h2HFKk5xsm>