[Gluster-devel] how to use libgfapi with non-root user

Gong XiaoHui xhgong at wind.com.cn
Thu Feb 20 09:03:55 UTC 2014

   This is a programmer from china, now I have a problem with libgfapi(V3.4.2). My application run as non-root user uses a api called glfs_init, but it return -1.
From the internet I find a solution, add” option rpc-auth-allow-insecure on” into the vol file on my gluster system, then the glfs_init return 1, it does’t work ok either.
I need some help to resolve this problem, expect your reply. Thank you very much.

Shanghai Wind Information Co., Ltd.
上海市浦东新区福山路33号建工大厦9楼 200120
9/F Jian Gong Mansion,33 Fushan Road, Pudong New Area,
Shanghai, P.R.C. 200120
Tel: (0086 21)6888 2280*8331
Fax: (0086 21)6888 2281
Email: xhgong at wind.com.cn<mailto:xhgong at wind.com.cn>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140220/92f71d83/attachment-0001.html>

More information about the Gluster-devel mailing list