iscsitarget gets replaced by tgt

This document (7009913) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 2
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11

Situation

A system is configured as an iSCSI target using the iscsitarget package. Following an update with "zypper up" the iSCSI target service stops working.

Resolution

To prevent the situation from happening, add a lock to prevent the tgt package from being selected as an installation candidate

    zypper addlock tgt

 

If the problem has already happened, it can be resolved with

    rpm -e tgt

    zypper in -n iscsitarget

 

It may be necessary to kill the tgtd service before iscsitarget can be started. The system may be rebooted, or simply

 

    killall tgtd

 

Before starting the iscsitarget service, it is necessary to move the old configuration back

    mv /etc/ietd.conf.rpmsave /etc/ietd.conf

After this, the normal iscsitarget service can be started.

Additional Information

The reason for this issue is that on release of SLES11 and SLES11 SP1, the tgt package was incorrectly marked as a replacement for the iscsitarget package. As long as the patch system is used for updates, either through YaST Online Update or through

 

    zypper patch

 

this issue will not be seen. It only happens when using the non-patch

 

    zypper up

 

to update packages.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7009913
  • Creation Date: 20-Dec-2011
  • Modified Date:24-Feb-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center