Commit Graph

203 Commits

Author SHA1 Message Date
Chris Leech
e4192b1937 have systemd start socket units on iscsiadm use
Resolves: #1003086

fixes use case of running iscsiadm right after rpm install without
having to manually start systemd units
2013-11-25 22:35:51 -08:00
Chris Leech
a47be9a29b fix iscsiuio socket activation
Resolves: #1028446
2013-11-25 22:32:33 -08:00
Chris Leech
974636d303 move /sbin to /usr/sbin
use rpm macros in install rules
2013-09-15 10:13:03 -07:00
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
dcd8879cb8 Merge remote-tracking branch 'fedora/master' into rhel-7.0 2013-08-20 14:09:00 -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
116781af98 Merge remote-tracking branch 'fedora/master' into rhel-7.0
Conflicts:
	iscsi-initiator-utils.spec
2013-08-19 07:47:06 -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
Chris Leech
f88dce52a8 spec file cleanups 2013-08-13 09:11:08 -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
1efedd2bdd Reset content to fedora 19 branch 2013-06-17 10:58:51 -07: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
7cde9befad remove merged/unused patches
remove el6 from version string reported from iscsiadm
2013-02-22 16:00:57 -08:00
Chris Leech
2f575ee31b Merge remote-tracking branch 'origin/rhel-6.4' into rhel-7.0
BZ #884424

Inherited package from f18 is out of date compared to 6.4, carry over
for alpha 3.  This will be replaced by newer f19 version developing in
rawhide for beta.
2013-02-22 15:59:53 -08: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
Chris Leech
9c3f00f532 Resolves: #868305 2012-10-22 13:53:14 -07:00
Chris Leech
8baf9eb1ae Resolves: #854776 #811428 2012-10-11 17:08:00 -07:00
Chris Leech
602db46674 Resolves: #826300 2012-10-10 13:00:03 -07:00
Daniel Mach
eeb54f9aba Merge remote branch 'fedora/master' into rhel-7.0 2012-07-23 08:02:12 -04:00
Dennis Gilmore
9cb10ddbba - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 10:11:13 -05:00
Mike Christie
ac41650cec Resolves: #740054 2012-04-09 22:11:55 -05:00
Mike Christie
292c3acb97 Resolves: #738192 2012-04-04 21:02:12 -05:00
Mike Christie
d93ddd5a58 Resolves: #738192 2012-03-28 17:52:46 -05:00
Mike Christie
b0db06f66b Resolves: #739843 #796574 2012-03-22 23:25:59 -05:00
Mike Christie
8012828d2a Resolves: #739843 #796574 2012-03-22 04:28:19 -05:00
Mike Christie
cfcc31b534 Resolves: #740054 #790609 #636013 2012-03-06 05:28:28 -06:00
Mike Christie
72d7a8e8be Resolves: #738192 2012-02-26 17:04:32 -06:00
Mike Christie
13d7f9dd93 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 16:29:58 -06: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
Release Configuration Management
c3b64b6801 dist-git conversion 2012-01-20 23:07:31 -05: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
mchristi
ffcc7c688c Resolves: #749051 2011-11-02 17:57:14 +00:00