[CentOS-devel] iet

Mon Sep 21 23:44:58 UTC 2009
Jerry Amundson <jamundso at gmail.com>

> On Mon, Sep 21, 2009 at 4:41 PM, Jerry Amundson <jamundso at gmail.com> wrote:
>>    Installed (but unpackaged) file(s) found:
>>   /etc/iet/ietd.conf
>>   /etc/iet/initiators.allow
>>   /etc/iet/targets.allow

Looks like a missing subdir and misnamed file. These changes to the
spec built fine for me. Now to reboot and start running with it...

--- ../BUILD/iscsitarget-svn_r236/iscsitarget.spec      2009-09-10
00:55:54.000000000 -0500
+++ iscsitarget.spec    2009-09-21 18:29:35.000000000 -0500
@@ -13,7 +13,7 @@
 %define dkms 0

 # Build from SVN repository
-%define svn 0
+%define svn 1

 ## Package Definitions
 #
@@ -237,9 +237,9 @@
 %{_sbindir}/*
 %{_mandir}/man?/*
 %{_sysconfdir}/rc.d/init.d/*
-%config(noreplace) %{_sysconfdir}/ietd.conf
-%config(noreplace) %{_sysconfdir}/initiators.allow
-%config(noreplace) %{_sysconfdir}/initiators.deny
+%config(noreplace) %{_sysconfdir}/iet/ietd.conf
+%config(noreplace) %{_sysconfdir}/iet/initiators.allow
+%config(noreplace) %{_sysconfdir}/iet/targets.allow
 %doc ChangeLog COPYING README README.vmware
 %endif