SELINUX=enforcing
SELINUXTYPE=targeted

/usr/bin/ganesha.nfsd -f /etc/ganesha/ganesha.conf -L /tmp/ganesha.log -N NIV_INFO

started as root


On Thu, Feb 27, 2020 at 7:15 PM Frank Filz <ffilzlnx@mindspring.com> wrote:
> Error: couldn't complete write to the log file /tmp/ganesha.log status=13
> (Permission denied) message was:
> 27/02/2020 13:37:28 : epoch 5e583698 : m4hcadev1.commvault.com :
> ganesha.nfsd-32262[main] main :MAIN :EVENT :ganesha.nfsd Starting: Ganesha
> Version /root/rpmbuild/BUILD/nfs-ganesha, built at Oct 29 2019 17:39:50 on
> localhost
>
> it successfully created ganesha.log as below. But failed to write to it with
> Permission Denied error.
> -rw-rw-r--. 1 root root 0 Feb 27 13:31 ganesha.log
>
> What could be the problem?

How are you starting Ganesha? Are you running in a container or anything like that? Is Ganesha running as root (seems like it would have to be to create the log file as root)? Do you have selinux running in restrictive mode?

Frank



--
Please Donate to www.wikipedia.org