Stephen Harris
2011-Apr-10 13:48 UTC
[CentOS] iscsi-initiator-utils required in 5.6, loads uneeded modules
I just updated one of my virtual hosts to 5.6 and on rebooted I spotted an error about iscsi. Which surprised me, since I don't use iscsi. Yet there it is... % rpm -qf /etc/init.d/iscsi iscsi-initiator-utils-6.2.0.872-6.el5 And they're configured to start iscsi 0:off 1:off 2:off 3:on 4:on 5:on 6:off iscsid 0:off 1:off 2:off 3:on 4:on 5:on 6:off And I can't remove it % rpm -e iscsi-initiator-utils error: Failed dependencies: iscsi-initiator-utils is needed by (installed) mkinitrd-5.1.19.6-68.el5.i386 A physical machine still on 5.5 doesn't have iscsi % rpm -qa '*iscsi*' % ls /etc/init.d/*iscsi* /bin/ls: /etc/init.d/*iscsi*: No such file or directory It appears that yum did, indeed, install this: % grep iscsi /var/log/yum.log Apr 10 09:24:30 Installed: iscsi-initiator-utils-6.2.0.872-6.el5.i386 The "fix" is to chkconfig off the iscsi and iscsid rc scripts. This is a good idea, 'cos these scripts modprobe unnecessary modules. -- rgds Stephen
Luigi Rosa
2011-Apr-10 14:18 UTC
[CentOS] iscsi-initiator-utils required in 5.6, loads uneeded modules
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephen Harris said the following on 10/04/11 15:48:> And I can't remove it > % rpm -e iscsi-initiator-utils > error: Failed dependencies: > iscsi-initiator-utils is needed by (installed) mkinitrd-5.1.19.6-68.el5.i386I saw that during the upgrade. My guess is that probably the new mkinitrd supports boot from iscsi target. But I don't know why iscsi and iscsid are enabled by default. Is it safe to turn them off if I don't have iSCSI? Ciao, luigi - -- / +--[Luigi Rosa]-- \ There is hopeful symbolism in the fact that flags do not wave in a vacuum. --Arthur C. Clarke -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2hvB0ACgkQ3kWu7Tfl6ZQKQQCghiALfffIdUS38AC+h40gzsf0 yYMAn3Rqwyr9WH2ZPyc16YrUNDrrZQrW =jc07 -----END PGP SIGNATURE-----