Package: open-iscsi Version: 2.0.874-5 Severity: normal Dear Maintainer,
when rebooting the system waits 50 seconds to synchronzize a disconnected iSCSI drive: [ 464.538835] systemd-shutdown[1]: All filesystems unmounted. [ 464.538881] systemd-shutdown[1]: Deactivating swaps. [ 464.543864] systemd-shutdown[1]: All swaps deactivated. [ 464.548880] systemd-shutdown[1]: Detaching loop devices. [ 464.554513] systemd-shutdown[1]: All loop devices detached. [ 464.575951] kvm: exiting hardware virtualization [ 464.576045] sd 0:0:0:1: [sda] Synchronizing SCSI cache [ 473.818361] connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4295008175, last ping 4295009472, now 422 [ 473.824605] connection1:0: detected conn error (1022) [ 525.274120] sd 0:0:0:1: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [ 525.306298] reboot: Restarting system If before rebooting I execute sudo umount -f /mnt/iscsi sudo iscsiadm -m node -T iqn.2000-01.de.xypron:odroid-c2 -p 192.168.0.1:3260 --logout sudo reboot this waiting time does not occur. Looking at the /lib/systemd/system/open-iscsi.service it seems that we already try to logout before shutdown. So it seems unclear what makes the difference. Below you will find that reportbug tried to read /etc/iscsi/iscsid.conf. As this file contains passwords it is only accessible to root. Do you need any information out of it for the analysis? Best regards Heinrich Schuchardt -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: arm64 (aarch64) Kernel: Linux 4.16.0-2-arm64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) 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.67 ii libc6 2.27-3 ii libisns0 0.97-2 ii libmount1 2.32-0.1 ii lsb-base 9.20170808 ii udev 238-5 Versions of packages open-iscsi recommends: ii busybox 1:1.27.2-2 open-iscsi suggests no packages. -- Configuration Files: /etc/iscsi/iscsid.conf [Errno 13] Permission denied: '/etc/iscsi/iscsid.conf' -- debconf information: open-iscsi/upgrade_recovery_error: * open-iscsi/remove_even_with_active_sessions: true open-iscsi/downgrade_and_break_system: open-iscsi/upgrade_even_with_failed_sessions: