Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2014 08:39:16 +0000
From:      "=?utf-8?B?TG/Dr2MgQmxvdA==?=" <loic.blot@unix-experience.fr>
To:        freebsd-fs@freebsd.org
Subject:   NFSv4 nobody issue
Message-ID:  <93722b83a95e50f3fae349ecc0cd254d@mail.unix-experience.fr>

next in thread | raw e-mail | index | archive | help

Hello @freebsd-fs,
 i'm trying to do jail hosting over NFSv4 with ezjail and i'm experimenting an issue that i can't resolve. When i extract base.txz (with ezjail) or i set nobody user on a file, i have this error:

 chown nobody:nobody /usr/jails/fulljail/mnt/
 No name and/or group mapping for uid,gid:(65534,65534)
 chown: /usr/jails/fulljail/mnt/: Operation not permitted

 No problem if i set:
 chown mysql:nobody /usr/jails/fulljail/mnt/

 Problem appears on all files.

 On my ZFS+NFSv4 server i do a dataset, exported in NFS

 /etc/exports:
 V4: /

 zfs get sharenfs pool/jails:
 -network=10.99.99.0 -mask=255.255.255.0 -maproot=root

 nfsuserd and nfsv4_server_enable=YES on both client and server, plus nfsbcd on client.

 On the client here is the fstab entry
 10.99.99.99:/pool/jails /usr/jails nfs rw,nfsv4 0 0

 What i'm doing wrong ?

 Thanks in advance
 Regards,

 Loïc Blot,
 UNIX Systems, Network and Security Engineer
 http://www.unix-experience.fr



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