Package: open-iscsi Version: 2.1.3-5 Severity: important Tags: d-i
-- System Information: Debian Release: 11.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/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+deb11u2 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+deb11u1 ii libsystemd0 247.3-6 ii udev 247.3-6 open-iscsi recommends no packages. open-iscsi suggests no packages. -- debconf information excluded *** /tmp/open-iscsi-bugreport open-iscsi-udeb : iscsid unable to start. Missing libsystemd.so.0 in installer environment PACKAGE: open-iscsi-udeb (only a bug in the installer environment) FIX REQUIRED: * Add libsystemd0 to following packages in: https://salsa.debian.org/linux-blocks-team/open-iscsi debian/control open-iscsi "Depends" open-iscsi-udeb "Depends" LOGIC/REASONING: 1) libsystemd is a "Build-Depends" for this package (but is omitted in the run-time dependency list "Depends" --- 2) When running the debian-installer (partman-iscsi), this calls open-iscsi package to setup ISCSI drives at install time 2.1) The iscsi setup fails because "/sbin/iscsid" cannot run due to being unable to find "libsystemd0.so" 2.2) Further checks on the installer environment show that "libsystemd.so.0" is not present in /lib directory --- 3) "libsystemd.so.0" is present once installed (so this is purely installer related) --- *) It also complains about missing "/etc/iscsi/initiatorname.iscsi" - but I am hoping that is setup automatically once the daemon starts STEPS TO REPRODUCE: 1) Run installer on an environment with a iSCSI Target setup (I used tgt on QEMU) 2) On "Detect Disks" and "Partition Disks" go to "Configure iSCSI volumes" 3) Enter the host details for the iscsi target -- FAILS -- 4) Review the logs (Console and /var/logs/syslog) -4.1 Shows that cannot start "iscsid" Expected behavior is 1) iscsi daemon starts - and so can find the drives 2) Failing the above should be able to use the console from installer mode, to discover the iSCSI drives on the target