Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2014 18:13:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191218] New: mountd: can't change attributes for XXXXXXX: Invalid radix node head, rn: 0 0xXXXXXXXXXXXXXXX; can still mount path
Message-ID:  <bug-191218-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191218

            Bug ID: 191218
           Summary: mountd: can't change attributes for XXXXXXX: Invalid
                    radix node head, rn: 0 0xXXXXXXXXXXXXXXX; can still
                    mount path
           Product: Base System
           Version: 10.0-STABLE
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: yaneurabeya@gmail.com

If I have more than one V3 entry in /etc/exports with the same hostname, mountd
is spitting out the following error on /dev/console with the default
syslog.conf, for example:

% service mountd reload
mountd: can't change attributes for /tmp/bar: Invalid radix node head, rn: 0
0xfffff80035180300
% showmount -e
Exports list on localhost:
/scratch                     192.168.137.0
/tmp/foo                     localhost
% ls /mnt/hello_world
ls: /mnt/hello_world: No such file or directory
% touch /tmp/bar/hello_world
% ls /mnt/hello_world
/mnt/hello_world
% umount /mnt
% uname -a
FreeBSD freebsd-10-x64.localdomain 10.0-STABLE FreeBSD 10.0-STABLE #0
7905925(stable/10): Wed Jun 11 14:10:17 PDT 2014   
root@freebsd-x86.localdomain:/usr/obj/usr/src/sys/GENERIC-WITHOUT-WITNESS 
amd64
%

As shown above, /tmp/bar doesn't show up via showmount -e for the list of
exports but the path is mountable and I created /tmp/hello_world, and it
appeared in the mount location as expected because the path was mounted.

This issue occurs on vanilla FreeBSD 10-STABLE and 11-CURRENT.

Reproduction steps:

mkdir /tmp/foo /tmp/bar

cat > /etc/exports <<EOF
/tmp/bar -alldirs localhost
/tmp/foo -alldirs localhost
EOF
cat > /etc/rc.conf.local <<EOF
mountd_enable="YES"
nfs_server_enable="YES"
EOF
service nfsd start
service mountd start

Expected Result:

- showmount -e should show the list of exported paths. /tmp/bar and /tmp/foo
should be exported.
- Both paths should be mountable.

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



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