Commit Graph

95 Commits

Author SHA1 Message Date
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
Mike Christie
8de5a99bad Fix iscsi NM use
When NM calls us there can be a delay between when it thinks we
are up and when nm-online returns success. This has nm-online
wait for up to 60 secs so we do not fail early.
2012-02-04 03:00:00 -06:00
Mike Christie
ec32d86275 Fix iscsi network check
This adds network to be required. If NM is not used then this
is required. If NM is used then network.service should not be setup
and we are ok.
2012-02-04 02:58:21 -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
ed7c748574 Drop some unused patch files 2011-04-26 13:44:28 +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
Fedora Release Engineering
d722ededb9 dist-git conversion 2010-07-29 17:32:08 +00: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
8f36c17ddd Resolves: sync up iscsid init scripts. 2010-05-11 22:48:30 +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
Bill Nottingham
097d89f03b Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:40:41 +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
599c1c817e - libiscsi: use fwparam_ibft_sysfs() instead of fw_get_entry(), as the
latter causes stack corruption (workaround #490515)
2009-03-20 14:24:54 +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