run /sbin/ldconfig without arguments, not as interpreter

Resolves: rhbz#1312374
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2016-02-26 17:40:49 +01:00
parent d5269c8483
commit e7aefb6900

View File

@ -169,7 +169,7 @@ Summary: Distributed File System
%if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs
Version: 3.7.8
Release: 1%{?prereltag:.%{prereltag}}%{?dist}
Release: 2%{?prereltag:.%{prereltag}}%{?dist}
Vendor: Fedora Project
%else
Name: @PACKAGE_NAME@
@ -825,7 +825,8 @@ rm -rf %{buildroot}
%endif
%endif
%post api -p /sbin/ldconfig
%post api
/sbin/ldconfig
%post fuse
%if ( 0%{?rhel} == 5 )
@ -840,7 +841,8 @@ if [ $1 -ge 1 ]; then
fi
%endif
%post libs -p /sbin/ldconfig
%post libs
/sbin/ldconfig
%post server
# Legacy server
@ -947,7 +949,8 @@ fi
%endif
%endif
%postun api -p /sbin/ldconfig
%postun api
/sbin/ldconfig
%postun server
%if (0%{?_with_firewalld:1})
@ -957,7 +960,8 @@ if $(systemctl is-active firewalld 1>/dev/null 2>&1); then
fi
%endif
%postun libs -p /sbin/ldconfig
%postun libs
/sbin/ldconfig
##-----------------------------------------------------------------------------
## All %%files should be placed here and keep them sorted by groups
@ -1271,6 +1275,9 @@ fi
%endif
%changelog
* Fri Feb 26 2016 Niels de Vos <ndevos@redhat.com> - 3.7.8-2
- Just run /sbin/ldconfig without arguments, not as interpreter (#1312374)
* Mon Feb 8 2016 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.7.8-1
- GlusterFS 3.7.8 GA