Bug 802217 - [3.3.0qa26] glusterd.info file is not readable by non-root users
Summary: [3.3.0qa26] glusterd.info file is not readable by non-root users
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.3-beta
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Vivek Agarwal
QA Contact: Ujjwala
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-03-12 06:35 UTC by Bala.FA
Modified: 2016-02-18 00:03 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:19:59 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: glusterfs-server-3.3.0qa45-1.el6.x86_64
Embargoed:


Attachments (Terms of Use)

Description Bala.FA 2012-03-12 06:35:02 UTC
Description of problem:
vdsm gluster plugin get peers list and adds local server info to it by reading /etc/gluster/glusterd.info file.  In the qa26 release, the file path is /var/lib/glusterd/glusterd.info is not readable by non-root users.  vdsmd runs as vdsm user and hostsList gluster verbs fails due to this.

Either we need the file readable or a gluster command to get this info.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2012-03-14 10:00:24 UTC
CHANGE: http://review.gluster.com/2940 (glusterd: file perm change for glusterd.info) merged in master by Vijay Bellur (vijay)

Comment 2 Bala.FA 2012-03-20 10:43:04 UTC
qa30 doesn't have this bug in fresh install, but appearing if rpm -Uvh is done.
I think this is OK as these are all qa releases.

Comment 3 Gowrishankar Rajaiyan 2012-05-30 09:49:42 UTC
[root@dhcp201-221 ~]# ls -l /var/lib/glusterd/glusterd.info
-rw-r--r--. 1 root root 42 May 29 18:03 /var/lib/glusterd/glusterd.info


glusterd.info file is now readable by non-root users.

Verified: glusterfs-server-3.3.0qa45-1.el6.x86_64


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