Subject: kern/33546: NFS and kauth problem?
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <juan@xtrarom.org>
List: netbsd-bugs
Date: 05/24/2006 20:45:01
>Number: 33546
>Category: kern
>Synopsis: NFS and kauth problem?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 24 20:45:01 +0000 2006
>Originator: Juan RP
>Release: NetBSD 3.99.20
>Organization:
>Environment:
System: NetBSD nocturno 3.99.20 NetBSD 3.99.20 (Nocturno) #64: Tue May 23 07:19:49 CEST 2006 juan@nocturno:/home/juan/build/obj/sys/arch/i386/compile/Nocturno i386
Architecture: i386
Machine: i386
>Description:
My NFS server stopped to export its directories since
kauth branch was merged in. Log:
May 24 20:17:40 xenun mountd[278]: "/usr/xsrc-3 -maproot", line 2: Can't change attributes for /usr/xsrc-3 to 192.168.1.0: Operation not permitted
May 24 20:17:40 xenun mountd[278]: "/usr/src -maproot", line 3: Can't change attributes for /usr/src to 192.168.1.0: Operation not permitted
May 24 20:17:40 xenun mountd[278]: "/usr/src-3 -maproot", line 4: Can't change attributes for /usr/src-3 to 192.168.1.0: Operation not permitted
May 24 20:17:40 xenun mountd[278]: "/usr/pkgsrc -maproot", line 5: Can't change attributes for /usr/pkgsrc to 192.168.1.0: Operation not permitted
May 24 20:17:40 xenun mountd[278]: "/usr/pkgsrc/distfiles -maproot", line 6: Can't change attributes for /usr/pkgsrc/distfiles to 192.168.1.0: Operation not permitted
May 24 20:17:40 xenun mountd[278]: "/build -maproot", line 7: Can't change attributes for /build to 192.168.1.0: Operation not permitted
May 24 20:17:40 xenun mountd[278]: "/storage0/packages -maproot", line 9: Can't change attributes for /storage0/packages to 192.168.1.0: Operation not permitted
It worked perfectly until the kauth branch was committed.
I don't know why, but if I remove some -maproot (not all)
it seems to work. Of course I would like to use -maproot
as before...
My /etc/exports contains:
/usr/xsrc -maproot=juan:wheel -network 192.168.1.0
/usr/xsrc-3 -maproot=juan:wheel -network 192.168.1.0
/usr/src -maproot=juan:wheel -network 192.168.1.0
/usr/src-3 -maproot=juan:wheel -network 192.168.1.0
/usr/pkgsrc -maproot=juan:wheel -network 192.168.1.0
/usr/pkgsrc/distfiles -maproot=juan:wheel -network 192.168.1.0
/build -maproot=juan:wheel -network 192.168.1.0
/storage0/bulkbuild -maproot=juan:wheel -network 192.168.1.0
/storage0/packages -maproot=juan:wheel -network 192.168.1.0
/samba -maproot=juan:wheel -network 192.168.1.0
>How-To-Repeat:
>Fix:
Yes!