Red Hat Bugzilla – Bug 802217
[3.3.0qa26] glusterd.info file is not readable by non-root users
Last modified: 2016-02-17 19:03:59 EST
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):
Steps to Reproduce:
CHANGE: http://review.gluster.com/2940 (glusterd: file perm change for glusterd.info) merged in master by Vijay Bellur (email@example.com)
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.
[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.