*** This bug is a duplicate of bug 1833586 ***
    https://bugs.launchpad.net/bugs/1833586

 
This upgrade path:
  
  configure)
        # We switched over to modules-load.d logic, so we have to take
        # care of this in postinst now.
        MODULES_FILE=/lib/modules-load.d/open-iscsi.conf
        if [ -f /etc/modules-load.d/open-iscsi.conf ] ; then
            MODULES_FILE=/etc/modules-load.d/open-iscsi.conf
        fi
        grep '^[^#]' $MODULES_FILE | while read module args ; do
            [ "$module" ] || continue
            modprobe $module $args >/dev/null 2>&1 || true
        done

should make sure MODULES_FILE exists before trying to grep things out of
it.

Unfortunately I'm not entirely convinced this worths a SRU.

I'll mark this as a duplicate of: LP: #1833586


** No longer affects: open-iscsi (Ubuntu Focal)

** This bug has been marked a duplicate of bug 1833586
   open-iscsi unconditionally requires ib_iser module which is not built on all 
Ubuntu kernels

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884321

Title:
  open-iscsi - check upgrade paths for failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1884321/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to