Date: Thu, 27 Jun 2002 00:10:08 -0700 (PDT) From: "Crist J. Clark" <crist.clark@attbi.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/39896: netmask 0xffffff00 no longer works in /etc/exports Message-ID: <200206270710.g5R7A8ab061738@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/39896; it has been noted by GNATS. From: "Crist J. Clark" <crist.clark@attbi.com> To: j_guojun@lbl.gov Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/39896: netmask 0xffffff00 no longer works in /etc/exports Date: Thu, 27 Jun 2002 00:05:26 -0700 On Wed, Jun 26, 2002 at 01:56:15PM -0700, Jin Guojun wrote: [snip] > Somehow, netmask format in /etc/exports is restricted to > ###.###.###.### only. > /data -maproot=bin: -network 131.104.48 -mask 255.255.255.0 > > eubie# kill -HUP `cat /var/run/mountd.pid` > eubie# mount eubie:/data /mnt > eubie# > > The following format does not work any more > /data -maproot=bin: -network 131.104.48 -mask 0xffffff00 > > mountd does not complain, but silently denies to export this > partition: > > eubie# kill -HUP `cat /var/run/mountd.pid` > eubie# mount eubie:/data /mnt > eubie:/data: Permission denied > > > >How-To-Repeat: > add similar line to /etc/exports, restart mountd, and > mount this partition locally or remotely. > > /data -maproot=bin: -network 131.104.48 -mask 0xffffff00 > >Fix: > > Is any reason to make such change? or Is this a bug? I can't reproduce this. # uname -r 4.6-RELEASE # grep ^/export /etc/exports /export -alldirs -ro -network 192.168.64 -mask 255.255.255.0 # kill -HUP `cat /var/run/mountd.pid` # showmount -e | grep ^/export /export 192.168.64.0 And on a different machine on that net, I can mount it fine. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206270710.g5R7A8ab061738>