Commit Graph

135 Commits

Author SHA1 Message Date
Chris Leech
31786f0fda fix iscsiuio hardened build and other compiler flags
The new iscsiuio code sets CFLAGS in configure.ac, wiping out the
environment setup by rpm.  Patch that out.

Run configure for iscsiuio and open-isns from rpm, otherwise the
toplevel makefile will configure them without any arguments.

Also fix local build when iscsi-initiator-utils is installed, but having
the check to prevent overwriting configuration files during install look
in DESTDIR.
2013-09-13 18:08:42 -07:00
Andy Grover
f9b971fb91 update to 6.2.0.873-13
Resolves: #999241

Signed-off-by: Andy Grover <agrover@redhat.com>
2013-08-23 10:19:22 -07:00
Chris Leech
241a29f991 fix regression in last build, database records can't be accessed 2013-08-20 14:04:36 -07:00
Chris Leech
2a4a67d694 iscsi boot related fixes
make sure iscsid gets started if there are any boot sessions running
add reload target to fix double session problem when restarting from NM
don't rely on session list passed from initrd, never got fully implemented
remove patches related to running iscsid from initrd, possible to revisit later
2013-08-19 07:37:26 -07:00
Chris Leech
c2d5d21256 sync with upstream
minor context fixes after rebase of out-of-tree patches
iscsiuio is merged upstream, remove old source archive and patches
spec cleanups to fix rpmlint issues
2013-08-18 15:15:35 -07:00
Peter Robinson
be68e033bf Fix FTBFS, cleanup spec 2013-08-04 11:04:49 +01:00
Dennis Gilmore
74e869522f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 15:00:42 -05:00
Chris Leech
a6ea15418c 894576 fix order of setuid/setgid and drop additional groups 2013-06-11 16:16:33 -07:00
Chris Leech
643ff5c20d 955167 build as a position independent executable 2013-06-11 10:53:04 -07:00
Chris Leech
3c58b16ee1 use tmpfiles service for creating lockfiles
resovles issues with selinux labling when lockfiles are created by
iscsiadm

Signed-off-by: Chris Leech <cleech@redhat.com>
2013-06-11 10:25:12 -07:00
Chris Leech
631ea075f0 Don't have iscsiadm scan for autostart record if node db is empty (bug #951951) 2013-05-28 13:22:37 -07:00
Orion Poplawski
3bd762b193 Fix typo in NM dispatcher script (bug #917058) 2013-04-30 17:03:30 -06:00
Chris Leech
3c948fa707 build with libkmod support, instead of calling out to modprobe
enable socket activation by default
2013-02-21 21:50:48 -08:00
Kalev Lember
31b81b6c4f 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
2013-01-24 14:24:14 +01:00
Chris Leech
f19f92851d package iscsi_mark_root_nodes script, it's being referenced by the unit files 2013-01-23 17:05:36 -08:00
Chris Leech
259ee6b2c3 resolve #565245 : multilib issues caused by timestamp in doxygen footers 2013-01-22 15:18:41 -08:00
Chris Leech
6c1aaf9981 switch to using system unit files instead of initrd script
new nm dispatcher script that uses systemctl
use systemctl in iscsi.conf to start iscsid on demand
2013-01-22 15:16:38 -08:00
Chris Leech
6bbb925771 iscsid and iscsiuio changes to support integration with dracut and systemd 2013-01-22 14:32:00 -08:00
Chris Leech
0e55d5ba8c rebase to latest upstream (2.0.873+) and iscsiuio 2013-01-22 13:44:13 -08:00
Dennis Gilmore
9cb10ddbba - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 10:11:13 -05:00
Mike Christie
1d09df920d Fix system boot slow down caused by iscsi script
Revert
commit 8de5a99bad
Author: Mike Christie <michaelc@cs.wisc.edu>
        Fix iscsi NM use

If the network is not up and not coming up then this will
cause multi-minute long boot delays.
2012-02-14 01:43:34 -06:00
Mike Christie
658ff4f3ff fix iscsi/iscsid service start
The delayed iscsi/iscsid service start is causing too many problems.
This reverts the behavior to where when start is requested we always
start.

In the future maybe we can make the iscsid service just be used for
root on iscsi. Then for other iscsi uses we would just have the iscsi
service with iscsiadm starting iscsid and loading modules as needed.
We can begin coverting dependent services and anaconda in the next
version of fedora.
2012-02-06 21:33:18 -06:00
Mike Christie
c6e1f6bc98 Update version and spec 2012-02-04 03:05:11 -06:00
Dennis Gilmore
1c4f613249 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 00:02:07 -06:00
Mike Christie
8c735fcb1f fix version string
Fix version string to reflect fedora and not rhel.
2011-11-30 13:53:14 -06:00
Mike Christie
3949e157de Update iscsi tools:
Update iscsi tools.
2011-10-23 03:29:01 -05:00
Hans de Goede
f149ee29a9 Change iscsi init scripts to check for networking being actually up, rather
then for NetworkManager being started (#692230)
2011-04-30 10:29:31 +02:00
Hans de Goede
2d4a526aa6 systemd related fixes
-Fix iscsid autostarting when upgrading from an older version
 (add iscsid.startup key to iscsid.conf on upgrade)
-Fix printing of [ OK ] when successfully stopping iscsid
-Add Should-Start/Stop tgtd to iscsi init script to fix (re)boot from
 hanging when using locally hosted targets
-%%ghost /var/lock/iscsi and contents (#656605)
2011-04-26 13:16:33 +02:00
Mike Christie
ca8ec0002f fix changelog date 2011-04-25 17:24:13 -05:00
Mike Christie
a04b98ffb3 fix iscsi init script check for network being up 2011-04-25 17:17:10 -05:00
Dennis Gilmore
832199ae01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 07:12:55 -06:00
dmalcolm
8204d8de0d - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 01:59:09 +00:00
Mike Christie
1c8eda8fed Sync to open-iscsi-2.0-872-rc4 2010-07-12 19:10:19 +00:00
Mike Christie
8d34f593cd Fix iscsiadm handling of port argument when it is not the default iscsi
value of 3260 (take 2)
2010-06-10 05:32:23 +00:00
Mike Christie
89d3b21491 Fix iscsiadm handling of port argument when it is not the default iscsi
value of 3260
2010-06-10 02:41:51 +00:00
Mike Christie
5ebdd59579 Sync devel and F-13 2010-05-06 21:41:12 +00:00
Hans de Goede
cedd464de0 - Preserve timestamps on doxygen generated files
- Fix FTBFS (#565038)
2010-02-14 09:33:10 +00:00
Hans de Goede
491be9b0e1 - Change python_sitelib macro to use %global as the new rpm will break
using %define here, see:
    https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093
    .html
2010-01-07 13:21:37 +00:00
Hans de Goede
a5f731eee5 - Own /etc/iscsi (#542849)
- Do not own /etc/NetworkManager/dispatcher.d (#533700)
2009-12-01 09:50:01 +00:00
Jesse Keating
4316da36a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 03:38:16 +00:00
Dan Horák
08bbf6aa57 - drop the s390/s390x ExcludeArch 2009-05-22 13:29:02 +00:00
Hans de Goede
f004b82b5c - Don't crash when asked to parse the ppc firmware table more then once
(which can be done from libiscsi) (#491363)
2009-04-27 18:38:29 +00:00
Hans de Goede
7a4e711fcd - Stop the NM script from exiting with an error status when it didn't do
anything (#493411)
2009-04-03 07:29:43 +00:00
Hans de Goede
cd44d1200d - libiscsi: use fwparam_ibft_sysfs() instead of fw_get_entry(), as the
latter causes stack corruption (workaround #490515)
2009-03-20 14:49:24 +00:00
Hans de Goede
0d76bf8ad8 - Add glibc-static to buildreq to build in F11 2009-03-14 18:25:00 +00:00
Jesse Keating
7727a7c4b5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 08:06:24 +00:00
Hans de Goede
3554bd6535 - Fix libiscsi.discover_sendtargets python method to accept None as valid
authinfo argument (#485217)
2009-02-12 15:45:30 +00:00
Hans de Goede
2043c5a8d9 - Fix reading of iBFT firmware with newer kernels 2009-01-28 21:44:53 +00:00
Hans de Goede
6b7a0556f3 - Add libiscsi iscsi administration library and -devel subpackage 2009-01-28 16:01:49 +00:00
Hans de Goede
7f6313aa75 - Add libiscsi iscsi administartion library and -devel subpackage 2009-01-28 15:47:47 +00:00
Mike Christie
d33bf0f27d Rebase to upstream 2008-11-25 18:17:13 +00:00
Hans de Goede
a8ea6d9b12 - Add force-start iscsid initscript option and use that in "patch to make
iscsiadm start iscsid when needed" so that iscsid will actual be
    started even if there are no iscsi disks configured yet (rh 470437)
- Do not start iscsid when not running when iscsiadm -k 0 gets executed (rh
    470438)
2008-11-08 12:44:13 +00:00
Hans de Goede
a4c8b301eb - Rewrite SysV initscripts, fixes rh 441290, 246960, 282001, 436175, 430791
- Add patch to make iscsiadm complain and exit when run as user instead of
    hang spinning for the database lock
- Add patch to make iscsiadm start iscsid when needed (rh 436175 related)
- Don't start iscsi service when network not yet up (in case of using NM)
    add NM dispatcher script to start iscsi service once network is up
2008-09-30 12:21:47 +00:00
Mike Christie
5003024128 Resolves: #437522 #436175 2008-04-06 06:44:04 +00:00
Mike Christie
ac2e535ba7 Fix INT_MAX compilation error 2008-02-06 22:04:18 +00:00
Mike Christie
5a3872e807 rebase to upstream to fix shutdown hang and fix up init scripts for LSB
compliance
2008-02-06 21:02:29 +00:00
Mike Christie
d3d8564266 rebase to upstream bug fix release to bring in doc updates and bugfixes. 2007-10-05 07:40:40 +00:00
Mike Christie
fc80682a57 from Adrian Reber: fix up spec 2007-06-25 20:03:20 +00:00
mchristi
63a3144d8f sync FC6 and FC6 2007-03-20 19:39:20 +00:00
mchristi
5dc381bfc5 fix docs bugzilla and similar target name bug 2006-10-13 18:18:19 +00:00
mchristi
0e38bd5e5b fix iscsi shutdown by not shutting down network and have rpm make the var
dirs
2006-10-06 01:33:11 +00:00
mchristi
2df40a2760 move nodes and sendtargets config dirs to /var/lib/iscsi 2006-10-03 19:51:23 +00:00
mchristi
fb0628edc9 move lock file from etc to var 2006-10-02 23:32:45 +00:00
Jeremy Katz
9f4cdffb3d - Add fix for initscript with pid file moved 2006-09-27 17:31:58 +00:00
mchristi
9b7d56fbcc mv pid file and change default iscsi initiator name 2006-09-27 00:01:45 +00:00
mchristi
e93d25d70d fix several multi transport running bugs 2006-09-15 20:39:14 +00:00
Jeremy Katz
80c3a6d2dc - Fix service startup
- Fix another case where cflags weren't being used
2006-09-05 20:51:33 +00:00
mchristi
3556861c2e update iscsi-initiator-utils rpms. Note that this removed the old
/var/db/iscsi and replaces with /etc/iscsi/nodes and
    /etc/iscsi/send_targets files and the initiatorname and conf files have
    been moved to /etc/iscsi
2006-08-31 20:09:46 +00:00
Jeremy Katz
cc7fbba22b - fix shutdown with root on iscsi 2006-07-21 21:12:37 +00:00
mchristi
b3f7fe0492 update iscsi tools to match kernel update. This breaks backwards compat so
yo must upgrade the kernel, tools and DB
2006-07-13 21:57:49 +00:00
Jesse Keating
098f8c1bff bumped for rebuild 2006-07-12 17:33:34 +00:00
Jesse Keating
073f8b5b4c bumped for rebuild 2006-07-12 17:23:57 +00:00
mchristi
deb93867fb add static getpwuid workaround for iscsistart 2006-06-21 17:43:58 +00:00
Jeremy Katz
3b954e8cf2 - ensure that we respect %{optflags}
- cleaned up initscript to make use of standard functions, return right
    values and start by default
- build iscsistart as a static binary for use in initrds
2006-06-21 03:56:34 +00:00
mchristi
a68e533029 update source for version update 2006-06-08 19:00:45 +00:00
mchristi
e38571df34 change version numbers to differentiate between devel/FC6 and FC5 2006-06-08 18:50:49 +00:00
mchristi
9c2485911b update devel tree to r595 2006-06-05 17:50:57 +00:00
Jesse Keating
2f6e7a392a bump for bug in double-long on ppc(64) 2006-02-11 03:39:24 +00:00
mchristi
7388d5ddea rm 'Requires kernel' from spec. I thought it was needed becuase this is a
daemon for some kernel functionality but dm-multipath's tools do not
    have this requirement and it causes build problems
2006-02-03 17:57:39 +00:00
mchristi
84bb175f20 fix changelog entry ordering and add better description for what was fixed 2006-01-23 21:06:25 +00:00
mchristi
968c1d62b6 update spec for new version 2006-01-23 20:26:19 +00:00
mchristi
d2ada876a1 auto-import iscsi-initiator-utils-5.0.4.446-0 on branch devel from
iscsi-initiator-utils-5.0.4.446-0.src.rpm
2005-12-15 21:51:38 +00:00
mchristi
5441886ebb auto-import iscsi-initiator-utils-5.0.0.4_446-0 on branch devel from
iscsi-initiator-utils-5.0.0.4_446-0.src.rpm
2005-12-15 07:34:49 +00:00
cvsdist
be057afb9b auto-import changelog data from iscsi-initiator-utils-4.0.1.8-0.1.src.rpm
Mon Jul 19 2004 AJ Lewis <alewis@redhat.com> 4.0.1.8-0.1
- update to 4.0.1.8 upstream for 2.6 kernels
- add iscsi-id to binaries installed
2004-09-09 06:23:19 +00:00
cvsdist
2734589a6e auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm
Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1
- update to 3.6.0.2 upstream
- add iscsi-ls to installed binaries
- add iscsi-ls.1 manpage to man1
- remove /dev/iscsi reference (no longer used)
Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3
- rebuild, 3.1.0.3-3
Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com>
- Fixed typo in initscript to allow to function
Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com>
- update to 3.1.0.3 for draft 16 compliance
- /etc/initiatorname.iscsi should be mode 600
- C++ all gone, no need for libstdc++ static link
Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com>
- fix perms on /etc/iscsi.conf
Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com>
- add status function
Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com>
- hack to link statically against libstdc++ so /sbin does not depend on
    /usr
Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com>
- update to 2.1.0.20
Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3
- cleanup startup script
- add excludearch s390 s390x
Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com>
- clean up shutdown (#52440)
Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com>
- update to 2.0.1.8 for draft 6 compliance
Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com>
- fix typo in initscripts (#51585)
Tue Jul 31 2001 Bill Nottingham <notting@redhat.com>
- fix up initscript output (#50502)
Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com>
- source /etc/init.d/functions in the initscript
Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com>
- initial packaging
2004-09-09 06:23:12 +00:00