Hi,

as far as I know this container is running in privileged mode according to:

cat /proc/self/uid_map
0          0 4294967295 menas priviledge, right?

but I am sure you are right, but have no idea how to confirm what is the
problem and how to change it.

thanks,
Csaba Dobo

On Fri, Apr 1, 2016 at 11:09 PM, Malahal Naineni <[email protected]> wrote:

> Csaba Dobo [[email protected]] wrote:
> >    Hi,
> >
> >    I am running the following to mount a share, but with no luck.
> >    Can someone point me to the right direction to what to set regarding
> maybe
> >    capabilities?
> >    command:
> >    mount.nfs -vvv 172.19.8.25:/home/exports/company2 /mnt/nfs
> >
> >    here is the log from the server from the LXC:
> >    Apr  1 08:09:04 container2 nfs-ganesha[2457]: [work-3]
> vfs_open_by_handle
> >    :FSAL :DEBUG :vfs_fs = / root_fd = 5
> >    Apr  1 08:09:04 container2 nfs-ganesha[2457]: [work-3]
> vfs_open_by_handle
> >    :FSAL :DEBUG :Failed with Operation not permitted openflags 0x00000000
>
> open_by_handle_at() is returning EPERM error, from the manpage:
>
> The caller does not have the CAP_DAC_READ_SEARCH capability.
>
> Are you running ganesha in an unprivileged container?  Maybe selinux or
> other security stuff preventing root to open the file?
>
> Regards, Malahal.
>
>
------------------------------------------------------------------------------
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to