tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Setting up pkgsrc over NFS



On 12/11/2018 14:32, Jason Thorpe wrote:


On Nov 12, 2018, at 6:08 AM, Roy Marples <roy%marples.name@localhost> wrote:

What filesystems do those directories map onto on the local machine ?

ffs.

I guess he means "which mount points"?

So in this case, I'm mounting /var/bulk.aarch64 from the server as /var/bulk on the client.


I should note that changing -maproot=root to -maproot=nobody allows the mount to show and become mounted, but then i can't actually use it as a chroot.

I suggest: top mountd, and run "mountd -d" from the command line -- seems like it's having some trouble with that specific line, and the debug messages should help determine what that is.

Here's the relevant output:

Got line /var/bulk.aarch64 -network 10.73.0.0 -mask 255.255.0.0 -maproot=root -alldirs
Found ep fs=0x8e00,0x78b
doing opt -network 10.73.0.0 -mask 255.255.0.0  -maproot=root -alldirs
get_net: '10.73.0.0' v4 addr 490a
doing opt -mask 255.255.0.0     -maproot=root -alldirs
get_net: '255.255.0.0' v4 addr ffff
doing opt -maproot=root -alldirs
doing opt -alldirs
mountd[17234]: "/var/bulk.aarch64 -network 10.73.0.0 -mask 255.255.0.0 -maproot", line 6: Can't change attributes for /var/bulk.aarch64 to 10.73.0.0: Operation not permitted
Getting mount list.
Here we go.

# ls -l /var | grep bulk.aarch64
drwxr-xr-x   2 root    wheel      512 Nov 11 17:20 bulk.aarch64

Roy


Home | Main Index | Thread Index | Old Index