Fix the postun script to not use ldconfig as the interpreter
Don't use %postun -p /sbin/ldconfig because we want /bin/sh as the interpreter, not /sbin/ldconfig. /sbin/ldconfig: relative path `1' used to build cache warning: %postun(iscsi-initiator-utils-6.2.0.873-1.fc19.x86_64) scriptlet failed, exit status 1 Non-fatal POSTUN scriptlet failure in rpm package iscsi-initiator-utils-6.2.0.873-1.fc19.x86_64
This commit is contained in:
parent
f19f92851d
commit
31b81b6c4f
@ -7,7 +7,7 @@
|
|||||||
Summary: iSCSI daemon and utility programs
|
Summary: iSCSI daemon and utility programs
|
||||||
Name: iscsi-initiator-utils
|
Name: iscsi-initiator-utils
|
||||||
Version: 6.%{open_iscsi_version}.%{open_iscsi_build}
|
Version: 6.%{open_iscsi_version}.%{open_iscsi_build}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source0: http://www.open-iscsi.org/bits/open-iscsi-%{open_iscsi_version}-%{open_iscsi_build}.tar.gz
|
Source0: http://www.open-iscsi.org/bits/open-iscsi-%{open_iscsi_version}-%{open_iscsi_build}.tar.gz
|
||||||
Source1: iscsiuio-%{iscsiuio_version}.tar.gz
|
Source1: iscsiuio-%{iscsiuio_version}.tar.gz
|
||||||
Source4: 04-iscsi
|
Source4: 04-iscsi
|
||||||
@ -216,7 +216,8 @@ if ! grep -q 'iscsid\.startup' %{_sysconfdir}/iscsi/iscsid.conf; then
|
|||||||
%{_sysconfdir}/iscsi/iscsid.conf
|
%{_sysconfdir}/iscsi/iscsid.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
%systemd_postun
|
%systemd_postun
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -270,6 +271,9 @@ fi
|
|||||||
%{_includedir}/libiscsi.h
|
%{_includedir}/libiscsi.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 24 2013 Kalev Lember <kalevlember@gmail.com> - 6.2.0.873-3
|
||||||
|
- Fix the postun script to not use ldconfig as the interpreter
|
||||||
|
|
||||||
* Wed Jan 23 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-2
|
* Wed Jan 23 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-2
|
||||||
- package iscsi_mark_root_nodes script, it's being referenced by the unit files
|
- package iscsi_mark_root_nodes script, it's being referenced by the unit files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user