RHEA-2018:1403
The targetcli package contains an administration shell for configuring Internet Small Computer System Interface (iSCSI), Fibre Channel over Ethernet (FCoE), and other SCSI targets, using the Target Core Mod/Linux-IO (TCM/LIO) kernel target subsystem. FCoE users also need to install and use the fcoe-utils package. This update fixes the following bugs: * Previously, the "targetcli saveconfig" command did not save the max_data_area_mb control string. As a consequence, the property was lost when restarting the target service or rebooting the node. With this update, the property is saved and restored correctly. (BZ#1566107) * Previously, the targetcli utility removed storage objects under certain conditions. This happened when the volume hosting the storage objects was down and the user restored target configuration with the command "targetcli restoreconfig". With this update, configuration is now saved at a block granularity, and, as a result, the described problem no longer occurs. (BZ#1566108) * Previously, the targetcli utility did not create the /etc/target/ and /etc/target/backup/ directories if they were missing. As a consequence, if the user deleted the directories, the "targetcli saveconfig" command failed. With this update, targetcli recreates the directories if they are missing. As a result, the described problem no longer occurs. (BZ#1571316) In addition, this update adds the following enhancements: * With this update, the "targetcli saveconfig" command backs up the /etc/target/saveconfig.json file only if it is different from the most recent copy. This avoids creating duplicate backups. (BZ#1571316) * With this update, the targetcli utility now provides the backup_files_limit global configuration option, which limits the maximum number of backup files. (BZ#1571316) Users of targetcli are advised to upgrade to this updated package, which fixes these bugs and adds these enhancements.
Evidence and freshness
Last supporting evidence check: 2026-11-28T09:38:37.333Z UTC
Upstream Advisory
Affected Packages
targetcli 2.1.fb46-4.el7_5