Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 07:15:32 +0000
From:      "=?utf-8?B?TG/Dr2MgQmxvdA==?=" <loic.blot@unix-experience.fr>
To:        "Rick Macklem" <rmacklem@uoguelph.ca>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: NFSv4 nobody issue
Message-ID:  <8ca92a8e507970c5bc3e34c31c30561e@mail.unix-experience.fr>
In-Reply-To: <1738545148.62071361.1412941900737.JavaMail.root@uoguelph.ca>
References:  <1738545148.62071361.1412941900737.JavaMail.root@uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,=0Aof course i have it. On each node:=0A=0A# cat /etc/master.passwd | =
grep nobody=0Areturns:=0Anobody:*:65534:65534::0:0:Unprivileged user:/non=
existent:/usr/sbin/nologin=0A=0AIt's why i do a report here :)=0A=0ARegar=
ds,=0A=0ALo=C3=AFc Blot,=0AUNIX Systems, Network and Security Engineer=0A=
http://www.unix-experience.fr=0A=0A10 octobre 2014 13:51 "Rick Macklem" <=
rmacklem@uoguelph.ca> a =C3=A9crit: =0A> Loic Blot wrote:=0A> =0A>> Hello=
 @freebsd-fs,=0A>> i'm trying to do jail hosting over NFSv4 with ezjail a=
nd i'm=0A>> experimenting an issue that i can't resolve. When i extract=
=0A>> base.txz (with ezjail) or i set nobody user on a file, i have this=
=0A>> error:=0A>> =0A>> chown nobody:nobody /usr/jails/fulljail/mnt/=0A>>=
 No name and/or group mapping for uid,gid:(65534,65534)=0A>> chown: /usr/=
jails/fulljail/mnt/: Operation not permitted=0A>> =0A>> No problem if i s=
et:=0A>> chown mysql:nobody /usr/jails/fulljail/mnt/=0A>> =0A>> Problem a=
ppears on all files.=0A> =0A> Do you have a user by the name of "nobody" =
in your password database?=0A> (NFSv4 uses names and not numbers on the w=
ire, so no name-->no mapping=0A> and chown can't be done.)=0A> =0A> rick=
=0A> =0A>> On my ZFS+NFSv4 server i do a dataset, exported in NFS=0A>> =
=0A>> /etc/exports:=0A>> V4: /=0A>> =0A>> zfs get sharenfs pool/jails:=0A=
>> -network=3D10.99.99.0 -mask=3D255.255.255.0 -maproot=3Droot=0A>> =0A>>=
 nfsuserd and nfsv4_server_enable=3DYES on both client and server, plus=
=0A>> nfsbcd on client.=0A>> =0A>> On the client here is the fstab entry=
=0A>> 10.99.99.99:/pool/jails /usr/jails nfs rw,nfsv4 0 0=0A>> =0A>> What=
 i'm doing wrong ?=0A>> =0A>> Thanks in advance=0A>> Regards,=0A>> =0A>> =
Lo=C3=AFc Blot,=0A>> UNIX Systems, Network and Security Engineer=0A>> htt=
p://www.unix-experience.fr =0A>> _______________________________=0A>> =0A=
>> freebsd-fs@freebsd.org mailing list=0A>> http://lists.freebsd.org/mail=
man/listinfo/freebsd-fs=0A>> To unsubscribe, send any mail to "freebsd-fs=
-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ca92a8e507970c5bc3e34c31c30561e>