[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#865628: marked as done (iscsitarget: Starting ... FATAL: Module iscsi_trgt not found in /lib/modules/4.9.0-3-amd64)



Your message dated Sun, 24 Sep 2017 21:47:43 +0200
with message-id <20170924214743.02e2606d.baptiste@mailoo.org>
and subject line Re: Bug#865632: Please add information about this incompatibility to the installation/upgrading guide
has caused the Debian Bug report #865632,
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 owner@bugs.debian.org
immediately.)


-- 
865632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865632
Debian Bug Tracking System
Contact owner@bugs.debian.org 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 ---
Hello, 

Dixit Christian Seiler, le 24/09/2017 :

>Control: reassign 865628 release-notes
>Control: forcemerge 865632 865628
[...]
>I had already opened a bug report against the 'release-notes'
>pseudo-package to ask for this information to be included in the
>release notes back in June, 

Sorry for the delay, the attention around the release-notes felt down
quickly after the release…

That was commited as r11710 and should be online in few hours.

Baptiste

Attachment: pgpRUso0saCXZ.pgp
Description: Signature digitale OpenPGP


--- End Message ---

Reply to: