Package: nfs-kernel-server
Version: 1:1.0.7-3
Severity: normal


'man exports' says the default anonuid is -2.  This translated properly to
anonuid=65534 (i.e, the nobody user) for 16-bit user id's, but some change I
did recently (either from kernel-2.6.8 to 2.6.11 or to the latest
nfs-kernel-server and nfs-common packages in Debian unstable) has now
changed the interpretation of -2 to be a very large number (which I did not
save, but I believe it was probably 2^32-2 = 4294967294) which corresponds
to no user on the system.

The workaround so that root_squash corresponded to user nobody was to
specify anonuid=65534 in the /etc/exports file, but this should not be
necessary and the default should be changed from -2 (which gives different
UID interpretations depending on the size of the integer storing the UIDs)
to UID=65534.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nfs-kernel-server depends on:
ii  debconf                    1.4.30.13     Debian configuration management sy
ii  libc6                      2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  libcomerr2                 1.37-2sarge1  common error description library
ii  libkrb53                   1.3.6-2sarge2 MIT Kerberos runtime libraries
ii  libnfsidmap1               0.8-1         An nfs idmapping library
ii  libwrap0                   7.6.dbs-8     Wietse Venema's TCP wrappers libra
ii  nfs-common                 1:1.0.7-3     NFS support files common to client
ii  sysvinit                   2.86.ds1-1    System-V like init

-- no debconf information

__________________________
Alan W. Irwin
email: [EMAIL PROTECTED]
phone: 250-727-2902

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to