From 31b81b6c4fee9049691cf6cf0d6c40eee3227ca8 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 24 Jan 2013 14:23:05 +0100 Subject: [PATCH] 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 --- iscsi-initiator-utils.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/iscsi-initiator-utils.spec b/iscsi-initiator-utils.spec index 1a1a773..3f86dc3 100644 --- a/iscsi-initiator-utils.spec +++ b/iscsi-initiator-utils.spec @@ -7,7 +7,7 @@ Summary: iSCSI daemon and utility programs Name: iscsi-initiator-utils 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 Source1: iscsiuio-%{iscsiuio_version}.tar.gz Source4: 04-iscsi @@ -216,7 +216,8 @@ if ! grep -q 'iscsid\.startup' %{_sysconfdir}/iscsi/iscsid.conf; then %{_sysconfdir}/iscsi/iscsid.conf fi -%postun -p /sbin/ldconfig +%postun +/sbin/ldconfig %systemd_postun %preun @@ -270,6 +271,9 @@ fi %{_includedir}/libiscsi.h %changelog +* Thu Jan 24 2013 Kalev Lember - 6.2.0.873-3 +- Fix the postun script to not use ldconfig as the interpreter + * Wed Jan 23 2013 Chris Leech - 6.2.0.873-2 - package iscsi_mark_root_nodes script, it's being referenced by the unit files