Subject: bin/26971: mountd doesn't work right with both -network and -mapall or -maproot
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <wojtek@tensor.3miasto.net>
List: netbsd-bugs
Date: 09/16/2004 12:18:56
>Number: 26971
>Category: bin
>Synopsis: mountd doesn't work right with both -network and -mapall or -maproot
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 16 12:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Wojciech Puchar
>Release: release-2-0
>Organization:
TENSOR ap
>Environment:
NetBSD hel.3miasto.net 2.0_BETA NetBSD 2.0_BETA (hel.3miasto.net) #0: Sun Sep 12 09:59:11 CEST 2004 root@hel.3miasto.net:/usr/src/sys/arch/i386/compile/hel.3miasto.net i386
>Description:
mountd doesn't work right with -network
with such /etc/exports:
/home/t/tech tech.hel. -mapall=tech:users
/root/GW254 10.255.238.254 -maproot=root
/home/smieci -network 10/8 -mapall=guest:wheel
/home/pub -ro -network 10/8
i've got:
Sep 16 14:15:50 hel mountd[123]: "/home/pub -ro -network 10/8", line 4: Can't change attributes for /home/pub to 10.0.0.0: Operation not permitted
with 3-rd and 4-th line swapped i've got:
Sep 16 14:16:52 hel mountd[123]: "/home/smieci -network 10/8 -mapall", line 4: Can't change attributes for /home/smieci to 10.0.0.0: Operation not permitted
>How-To-Repeat:
try to export more than 1 directory with both -network and -mapall flags
exporting 2 or more directories with this option is impossible
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: