From owner-freebsd-bugs Wed Jun 26 16:35: 9 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 178E537BE41 for ; Wed, 26 Jun 2002 16:20:02 -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 g5QNK1JU081241 for ; Wed, 26 Jun 2002 16:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5QNK1Au081240; Wed, 26 Jun 2002 16:20:01 -0700 (PDT) Received: from eubie.lbl.gov (eubie.lbl.gov [131.243.2.36]) by hub.freebsd.org (Postfix) with ESMTP id 6508237B83C for ; Wed, 26 Jun 2002 16:01:14 -0700 (PDT) Received: from eubie.lbl.gov (localhost [127.0.0.1]) by eubie.lbl.gov (8.12.3/8.12.3) with ESMTP id g5QKuFRX000410 for ; Wed, 26 Jun 2002 13:56:15 -0700 (PDT) (envelope-from jin@eubie.lbl.gov) Received: (from root@localhost) by eubie.lbl.gov (8.12.3/8.12.3/Submit) id g5QKuFY0000409; Wed, 26 Jun 2002 13:56:15 -0700 (PDT) Message-Id: <200206262056.g5QKuFY0000409@eubie.lbl.gov> Date: Wed, 26 Jun 2002 13:56:15 -0700 (PDT) From: Jin Guojun (DSD staff) Reply-To: j_guojun@lbl.gov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/39896: netmask 0xffffff00 no longer works in /etc/exports 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 >Number: 39896 >Category: bin >Synopsis: netmask 0xffffff00 no longer works in /etc/exports >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 26 16:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jin Guojun (DSD staff) >Release: FreeBSD 4.6-RELEASE i386 >Organization: >Environment: FreeBSD 4.6-RELEASE >Description: 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? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message