Your message dated Fri, 23 Jun 2017 13:08:33 +0200 with message-id <[email protected]> and subject line Re: [Pkg-iscsi-maintainers] Bug#865628: iscsitarget: Starting ... FATAL: Module iscsi_trgt not found in /lib/modules/4.9.0-3-amd64 has caused the Debian Bug report #865628, regarding iscsitarget: Starting ... FATAL: Module iscsi_trgt not found in /lib/modules/4.9.0-3-amd64 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 865628: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865628 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: iscsitarget Version: 1.4.20.3+svn502-1 Severity: important Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: 9.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=hr_HR.utf8, LC_CTYPE=hr_HR.utf8 (charmap=UTF-8), LANGUAGE=hr_HR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages iscsitarget depends on: ii libc6 2.24-11+deb9u1 ii lsb-base 9.20161125 ii procps 2:3.3.12-3 Versions of packages iscsitarget recommends: ii iscsitarget-dkms 1.4.20.3+svn502-1 iscsitarget suggests no packages. -- Configuration Files: /etc/default/iscsitarget changed: ISCSITARGET_ENABLE=true ISCSITARGET_MAX_SLEEP=3 ISCSITARGET_OPTIONS="" /etc/iet/ietd.conf [Errno 13] Pristup odbijen: '/etc/iet/ietd.conf' /etc/iet/initiators.allow changed: ALL iqn.1993-08.org.debian:01:b6b2d8abcca1 ALL iqn.1993-08.org.debian:01:8bb093381de /etc/init.d/iscsitarget changed: PID_FILE=/var/run/ietd.pid CONFIG_FILE=/etc/iet/ietd.conf DAEMON=/usr/sbin/ietd PATH=/sbin:/bin:/usr/sbin:/usr/bin . /lib/lsb/init-functions # log_{warn,failure}_msg ISCSITARGET_OPTIONS=" --debug=2" ISCSITARGET_ENABLE=false ISCSITARGET_MAX_SLEEP=3 ISCSITARGET_DEFAULTS_FILE=/etc/default/iscsitarget if [ -s "$ISCSITARGET_DEFAULTS_FILE" ]; then . "$ISCSITARGET_DEFAULTS_FILE" case "x$ISCSITARGET_ENABLE" in xtrue|xfalse) ;; *) log_failure_msg "value of ISCSITARGET_ENABLE must be either 'true' or 'false';" log_failure_msg "not starting iscsitarget." exit 1 ;; esac fi RETVAL=0 ietd_start() { log_daemon_msg "Starting iSCSI enterprise target service" modprobe -q crc32c modprobe iscsi_trgt RETVAL=$? if [ $RETVAL != "0" ] ; then log_end_msg 1 exit $RETVAL fi start-stop-daemon --start --exec $DAEMON --quiet --oknodo -- $ISCSITARGET_OPTIONS RETVAL=$? if [ $RETVAL = "0" ]; then log_end_msg 0 else log_end_msg 1 exit $RETVAL fi log_end_msg 0 exit 0 } ietd_stop() { log_daemon_msg "Removing iSCSI enterprise target devices: " pidof ietd >/dev/null 2>&1 RETVAL=$? if [ $RETVAL = "0" ] ; then # ugly, but ietadm does not allways provides correct exit values RETURN=`ietadm --op delete 2>&1` RETVAL=$? if [ $RETVAL = "0" ] && [ "$RETURN" != "something wrong" ] ; then log_end_msg 0 else log_end_msg 1 log_failure_msg "failed with reason :$RETURN" exit $RETVAL fi log_daemon_msg "Stopping iSCSI enterprise target service: " start-stop-daemon --stop --quiet --exec $DAEMON --pidfile $PID_FILE --oknodo RETVAL=$? if [ $RETVAL = "0" ]; then log_end_msg 0 else log_end_msg 1 fi else log_end_msg 0 fi # ugly, but pid file is not removed by ietd rm -f $PID_FILE # check if the module is loaded at all lsmod | grep -q iscsi_trgt RETVAL=$? if [ $RETVAL = "0" ] ; then for i in $(seq $ISCSITARGET_MAX_SLEEP); do log_daemon_msg "Removing iSCSI enterprise target modules: " modprobe -r iscsi_trgt RETVAL=$? if [ $RETVAL = "0" ]; then break fi # give iet some time to finish processing sleep 1 done modprobe -r crc32c 2>/dev/null if [ $RETVAL = "0" ]; then log_end_msg 0 else log_end_msg 1 exit $RETVAL fi fi } case "$1" in start) if [ "$ISCSITARGET_ENABLE" = "true" ]; then ietd_start else log_warning_msg "iscsitarget not enabled in \"$ISCSITARGET_DEFAULTS_FILE\", not starting..." fi ;; stop) ietd_stop ;; restart|force-reload) ietd_stop sleep 1 if [ "$ISCSITARGET_ENABLE" = "true" ]; then ietd_start else log_warning_msg "iscsitarget not enabled in \"$ISCSITARGET_DEFAULTS_FILE\", not starting..." fi ;; status) status_of_proc -p $PID_FILE $DAEMON "iSCSI enterprise target" && exit 0 || exit $? ;; *) log_action_msg "Usage: $0 {start|stop|restart|status}" exit 1 esac exit 0 -- no debconf information
--- End Message ---
--- Begin Message ---Hi, On 06/23/2017 12:16 PM, Stanley Kaleta wrote: > Package: iscsitarget > Version: 1.4.20.3+svn502-1 > Severity: important I'm sorry, but iscsitarget is not supported in Debian Stretch anymore. Development has stalled upstream (no updates since 2014), and there are no new patches for the kernel module that make it work with recent kernels. Which explains your problem, as the kernel module doesn't exist on your system for your kernel version, as it wouldn't be built. (If you look through your upgrade logs, you'll likely find DKMS complaining that the module for the iSCSI target didn't compile against the newer kernel version.) The package itself is not part of Stretch anymore, and the reason why it still is on your system is that APT doesn't remove packages on upgrades unless required by dependencies. If you want to use an iSCSI target on Stretch, please consider migrating to the LIO stack, which is supported by the upstream kernel without the requirement for an additional kernel module. The corresponding userspace parts are included in Stretch, you can install the 'targetcli-fb' package to configure the LIO target. For a simple tutorial how to configure a LIO target, the following resource (written for Fedora, but except for package names also applicable to Debian) might be useful: https://wiki.rvijay.in/index.php/Configuring_iSCSI_target_using_targetcli Since the fact that 'iscsitarget' was dropped, and the possible replacement is not obvious, I'm going to try to amend the release notes to make this clear. I'm closing this bug as unfortunately there's nothing to be done about it. Regards, Christian
--- End Message ---

