From owner-freebsd-bugs Thu Jun 27 12:40:23 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AA0ED37B406 for ; Thu, 27 Jun 2002 12:40:04 -0700 (PDT) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5RJe4JU008162 for ; Thu, 27 Jun 2002 12:40:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5RJe4lR008161; Thu, 27 Jun 2002 12:40:04 -0700 (PDT) Date: Thu, 27 Jun 2002 12:40:04 -0700 (PDT) Message-Id: <200206271940.g5RJe4lR008161@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Jin Guojun[DSD]" Subject: Re: bin/39896: netmask 0xffffff00 no longer works in /etc/exports Reply-To: "Jin Guojun[DSD]" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/39896; it has been noted by GNATS. From: "Jin Guojun[DSD]" To: cjclark@alum.mit.edu Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/39896: netmask 0xffffff00 no longer works in /etc/exports Date: Thu, 27 Jun 2002 12:33:19 -0700 "Crist J. Clark" wrote: > > On Thu, Jun 27, 2002 at 11:21:15AM -0700, Jin Guojun[DSD] wrote: > [snip] > > OK, I _can_ reproduce this. There is something really, really wack > going on. This is actually the issue I thought you were refering to > when I first read your PR. > > Your error is here, > > > eubie# echo "/data -network 131.243.2 -mask 255.255.255.0" > /etc/exports > ^ > As I understand inet_network(3), you are refering to the network, > > 131.243.0.2 > > And if you change that to, > > 131.243.2.0 > > Everything in all of your examples should work fine. This should be > trivial to do in your scripting, so I think you have the correction you > need for your problem. This is very minor to change if it s true. But the problem is not quite like that. Showmount says both 131.243.2 and 131.243.2.0 are correct and the problem persists: eubie# echo "/data -network 131.243.2.0 -mask 0xffffff00" > /etc/exports eubie# kill -HUP `cat /var/run/mountd.pid` eubie# showmount -e Exports list on localhost: /data 131.243.2.0 eubie# mount eubie:/data /mnt eubie:/data: Permission denied ^C eubie# echo "/data -network 131.243.2 -mask 0xffffff00" > /etc/exports eubie# kill -HUP `cat /var/run/mountd.pid` eubie# showmount -e Exports list on localhost: /data 131.243.2.0 eubie# mount eubie:/data /mnt eubie:/data: Permission denied ^C I will try reinstall it without X or other packages. It seems to me when I first time tested 4.6 without X and other stuff, it had not problem; but do not remember what was exactly. More later. -Jin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message