[Bugs] [Bug 1378085] Unable to take Statedump for gfapi applications

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 26 01:59:31 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1378085

SATHEESARAN <sasundar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #16 from SATHEESARAN <sasundar at redhat.com> ---
(In reply to Niels de Vos from comment #15)
> The QEMU process runs as user "qemu". This user does not have write
> permissions on /var/run/gluster/ and can therefore not write the statedump
> there...
> 
> Adjusting the permissions with an ACL makes it work:
> 
>     # setfacl -m u:qemu:rwx /var/run/gluster
> 
> What the correct approach is to have any application work with this needs to
> be thought out. Samba (I think?) and NFS-Ganesha run as root, and are not
> limited by the write permissions.

Thanks Neils.

Verified the ability to generate statedump by gfapi application (QEMU) after
setting proper acl on /var/run/gluster. Tested with glusterfs-3.8.4-23.el7rhgs

New bug BZ1445570 is created for the issue related to gfapi application ( QEMU
) not dumping statedump under /var/run/gluster because of QEMU user doesn't
have privilege to write to /var/run/gluster

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=5pBQkN9olw&a=cc_unsubscribe


More information about the Bugs mailing list