Package: open-iscsi Version: 2.1.3-5 Severity: normal During upgrades of open-iscsi on my environment it fails to run postinst with success. I got the following messages:
Setting up open-iscsi (2.1.3-5) ... open-iscsi postinst: since the check in preinst some iSCSI sessions have failed. -> will wait 30s for automatic recovery open-iscsi postinst: some sessions are still in failed state -> iscsid will be restarted regardless, since that may actually help with the session recovery. dpkg: error processing package open-iscsi (--configure): installed open-iscsi package post-installation script subprocess returned error exit status 1 I have tried to change the postinst to wait for more time, for example 120s and it worked, after 40 seconds of wait. Kind regards Jose M Calhariz -- System Information: Debian Release: 11.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=en_IL:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages open-iscsi depends on: ii debconf [debconf-2.0] 1.5.77 ii libc6 2.31-13 ii libisns0 0.100-3 ii libkmod2 28-1 ii libmount1 2.36.1-8 ii libopeniscsiusr 2.1.3-5 ii libssl1.1 1.1.1k-1 ii libsystemd0 247.3-6 ii udev 247.3-6 open-iscsi recommends no packages. open-iscsi suggests no packages. -- debconf information: open-iscsi/upgrade_recovery_error: open-iscsi/upgrade_even_with_failed_sessions: open-iscsi/downgrade_and_break_system: open-iscsi/remove_even_with_active_sessions: