On Tue, Apr 25, 2017 at 11:23 PM, Niels de Vos <nde...@redhat.com> wrote:
> Hi, > > Recently a new ability to trigger statedumps through the Gluster-CLI [0] > has been added. This makes it possible to get statedump from > applications that use gfapi. By default, statedumps are saved under > /var/run/gluster/... and this directory is only writable by root. > Applications that use gfapi do not require root permissions (like QEMU), > and therefore fail to write the statedump :-/ > > One approach would be to create a "gluster" group and give the group > permissions to write to /var/run/gluster/... Other 'fixes' include > setting ACLs on the directory so that specified users can write there. > because many daemons have a "home directory" that does not exist, it > probably is not a good idea to use $HOME to store statedumps. > > What suggestions do others have? > > Thanks, > Niels > > > 0. https://github.com/gluster/glusterfs/blob/master/doc/ > debugging/statedump.md > > _______________________________________________ > Gluster-devel mailing list > Gluster-devel@gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-devel > This bug[1] is filed for this problem [1] - https://bugzilla.redhat.com/show_bug.cgi?id=1445569 Thanks, Satheesaran S
_______________________________________________ Gluster-devel mailing list Gluster-devel@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-devel