Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1114976 - nfs-ganesha: logs inside the /tmp directory
nfs-ganesha: logs inside the /tmp directory
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: nfs-ganesha (Show other bugs)
3.0
x86_64 Linux
high Severity high
: ---
: RHGS 3.1.0
Assigned To: Meghana
Saurabh
:
Depends On:
Blocks: 1116723 1202842
  Show dependency treegraph
 
Reported: 2014-07-01 07:23 EDT by Saurabh
Modified: 2016-01-19 01:13 EST (History)
8 users (show)

See Also:
Fixed In Version: glusterfs-3.7.1-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1116723 (view as bug list)
Environment:
Last Closed: 2015-07-29 00:33:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 04:26:26 EDT

  None (edit)
Description Saurabh 2014-07-01 07:23:07 EDT
Description of problem:
Once the nfs-ganesha server is started it points to having logs in /tmp directory. So we need to overcome this problem, as /tmp should not be a default directory for having logs.

Version-Release number of selected component (if applicable):
nfs-ganesha-2.1.0.2-4.el6rhs.x86_64

How reproducible:
always

Steps to Reproduce:
1. create a volume, start it.
2. stop glusterfs-nfs
3. start nfs-ganesha server

Actual results:
[root@nfs1 ~]# ps -eaf | grep nfs
root     12767     1  2 Jun30 ?        00:30:50 /usr/bin/ganesha.nfsd -f /var/lib/glusterfs-ganesha/nfs-ganesha.conf -L /tmp/ganesha.log -N NIV_EVENT -d


Expected results:

default logs should not be in the directory "/tmp"

Additional info:
Comment 2 Meghana 2015-04-21 03:01:18 EDT
This issue has been fixed. And the present release overrides this behaviour.
Comment 6 Saurabh 2015-07-05 07:13:41 EDT
Now we have logs under the /var/log/ dir,

[root@nfs16 ~]# ls /var/log/ganesha*
/var/log/ganesha-gfapi.log  /var/log/ganesha.log
Comment 8 errata-xmlrpc 2015-07-29 00:33:04 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1495.html

Note You need to log in before you can comment on or make changes to this bug.