Hi All,

Recently we came across a issue i.e. bz [1] , where ldconfig returned error as below on Fedora 20 machine (same issue is present in other Fedora variants too).

"yum remove glusterfs-libs" giving some Non-fatal POSTUN scriptlet failure.

/sbin/ldconfig: relative path `0' used to build cache
warning: %postun(glusterfs-libs-3.6.0-0.1.beta1.fc20.x86_64) scriptlet failed, exit status 1
Non-fatal POSTUN scriptlet failure in rpm package glusterfs-libs-3.6.0-0.1.beta1.fc20.x86_64

The fix to this issue is replacing "%post libs -p /sbin/ldconfig" in to two lines [3]. But according to Fedora documentation [2] "%post libs -p /sbin/ldconfig" is the right way to do it. Which is not working for us. Seems like it is changed now but the documentation is not updated.

Thoughts?


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1145992
[2] https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Shared_libraries
[3] http://review.gluster.org/#/c/8836/2/glusterfs.spec.in

Thanks,
Lala